:root {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  line-height: 1.5;
  font-weight: 400;
  font-size: 16px;
  color: #1a1a1a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: #444444;
}

a:hover {
  color: #888888;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

input,
textarea {
  font: inherit;
}

/* Add these new styles */
.url-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

/* Add this new style */
.content-container {
  max-width: 36rem;
  text-align: center;
  padding: 0 8px;
}

/* Update url-input width to be 100% since container will control max width */
.url-input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  background: #f5f5f5;
}

.copy-button {
  padding: 8px;
  color: #666;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-button:hover {
  background: #f0f0f0;
}

.copy-button:active {
  background: #e5e5e5;
}

.copy-button img {
  width: 20px;
  height: 20px;
}

.copy-button.copied {
  background: #28a745;
}

/* Add footer styles */
.footer {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.footer a:hover {
  color: #333;
}

@media (prefers-color-scheme: dark) {
  body {
    color: #ddd;
  }

  #app {
    background-color: #131313;
  }

  a {
    color: #a9a9a9;
  }

  a:hover {
    color: #888;
  }

  .footer,
  .footer a {
    color: #999;
  }

  .footer a:hover {
    color: #ccc;
  }

  .url-input {
    border-color: #3d3d3d;
    background-color: #191919;
    color: #fff;
  }

  .copy-button img {
    filter: invert(1);
  }

  .copy-button:hover {
    background: #222;
  }

  .copy-button:active {
    background: #333;
  }
}
