.Drafine-signup-page {
  max-width: 400px;
  margin: 30px auto 30px;
  padding: 0 15px;
}

.signup-box {
  text-align: center;
}

/* Titles */

.signup-box h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

/* SOCIAL BUTTONS */

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.google-btn,
.orcid-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s;
}

.google-btn {
  background: var(--accent);
  color: var(--white);
}

.google-btn:hover {
  background: var(--white);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.orcid-btn {
  background: var(--white);
  border: 1px solid #A6CE39;
  color: var(--black);
}

.orcid-btn:hover {
  background: #A6CE39;
  border: var(--black);
  color: var(--white);
}

.google-btn img,
.orcid-btn img {
  width: 22px;
}

/* DIVIDER */
.divider {
  margin: 10px 0;
  position: relative;
}

.divider span {
  background: var(--surface);
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: -1;
}

/* FLOATING INPUTS */

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding-top: 12px;
  padding-bottom: 10px;
  font-size: 0.9rem;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
  background: transparent;
  color: var(--ink);
  transition: 0.3s;
}

/* Autofill fix */

.input-group input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset !important;
}

/* Focus glow */

.input-group input:focus {
  border-bottom: 2px solid var(--ink);
}

/* Filled stays white */

.input-group input:not(:placeholder-shown) {
  background: var(--surface);
}

/* Floating label */

.input-group label {
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.25s ease;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 0;
  font-size: 0.75rem;
  color: var(--ink);
}

/* SIGNUP BUTTON */

.signup-btn {
  width: 100%;
  background: var(--ink);
  color: var(--white);
  padding: 14px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: var(--shadow-sm);
}

.signup-btn:hover {
  background: var(--dark);
  box-shadow: var(--shadow-md);
}

/* FOOTER */

.signup-footer {
  margin-top: 25px;
  font-size: 0.85rem;
  color: var(--muted);
}

.signup-footer a {
  color: var(--accent);
  text-decoration: underline;
}