body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
  text-align: center;
}

header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a {
  text-decoration: none;
}

.container {
  max-width: 400px;
  margin: 60px auto;
  padding: 20px;
}

.avatar {
  width: 110px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid #38bdf8;
}

h1 {
  margin: 10px 0 5px;
  font-size: 24px;
}

p {
  color: #94a3b8;
  font-size: 14px;
}

.logo {
  font-weight: bold;
  font-size: 20px;
}

.logo a,
a.login-link {
  color: #2563eb;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  min-height: 450px;
}

.hero-full {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  height: 100dvh;

}

.hero-content {
  max-width: 500px;
}

.hero h1,
.hero-full h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p,
.hero-full p {
  opacity: 0.8;
  margin-bottom: 25px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.input-group input {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.input-group button {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  font-weight: bold;

  &:disabled {
    background-color: #0f172a;
    cursor: wait;
  }
}

.input-group button:hover {
  background: #2563eb;
}

.preview {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.7;
}

footer {
  text-align: center;
  padding: 20px;
  opacity: 0.5;
  font-size: 14px;
}

.error-links a {
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

.links a {
  display: block;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: white;
  padding: 14px;
  margin: 12px 0;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.links a.edit-link {
  background: #334155;
  color: #e2e8f0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.links a.logout-link {
  background: #f00;
  color: #e2e8f0;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.links a.edit-link:hover {
  background: #475569;
}

.container--wide {
  max-width: 520px;
  text-align: left;
}

.edit-form label {
  display: block;
  margin-bottom: 1rem;
}

.edit-form input[type="text"],
.edit-form input[type="password"],
.edit-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f8fafc;
}

.social-fieldset {
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 1rem 1rem 1.25rem;
  margin: 1.25rem 0;
}

.social-fieldset .hint {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.link-row input[type="text"],
.link-row input[type="url"] {
  flex: 1 1 140px;
  min-width: 120px;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f8fafc;
}

.remove-link {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: none;
  background: #7f1d1d;
  color: #fecaca;
  cursor: pointer;
  font-size: 0.85rem;
}

.remove-link:hover {
  background: #991b1b;
}

.btn-secondary {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #475569;
  background: #1e293b;
  color: #e2e8f0;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-secondary:hover {
  background: #334155;
}

.submit-btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem;
  border: none;
  border-radius: 10px;
  background: #38bdf8;
  color: #0f172a;
  font-weight: bold;
  cursor: pointer;
}

.submit-btn:hover {
  background: #7dd3fc;
}

.text-center {
  text-align: center;
}

.header {
  display: flex;
  align-items: center;
  align-content: end;
  justify-content: space-between;
  gap: 20px;
}

.header a {
  color: #6366f1;
}

.copy-content button {
  width: 100%;
  height: auto;
  padding: 8px 15px;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: #f8fafc;

  transition: scale 0.1s ease-in-out;
  font-size: 1.2rem;

  &:hover {
    scale: 1.02;
    text-decoration: underline;
    cursor: pointer;
  }

  &:nth-child(2) {
    background-color: #000;
    color: #fff;
    border: none;
  }
}

.copy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}