/* =========================================================
   signup.css (matches login page layout + frosted card)
   Scoped to body.signup
   ========================================================= */

body.signup .signup-main {
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 3rem) 0;
}

/* grid */
body.signup .signup-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.2rem, 3vw, 3.25rem);
  align-items: center;
}

/* left text */
body.signup .signup-left { padding: 0.5rem 0; }

body.signup .signup-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

body.signup .signup-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.08);
}

body.signup .signup-brand__text {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: rgba(30, 36, 64, 0.95);
}

body.signup .signup-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

body.signup .signup-subtitle {
  margin: 0 0 0.75rem;
  max-width: 48ch;
  color: rgba(30, 36, 64, 0.72);
  font-size: 1.02rem;
  line-height: 1.6;
}

body.signup .signup-note {
  margin: 0;
  color: rgba(30, 36, 64, 0.62);
  max-width: 56ch;
}

/* right form */
body.signup .signup-right {
  display: flex;
  justify-content: center;
}

/* frosted card (same approach as your desired login glass) */
body.signup .signup-card {
  width: min(520px, 100%);
  border-radius: 26px;
  padding: 1.35rem 1.35rem 1.1rem;
  position: relative;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55),
    rgba(235, 235, 255, 0.40)
  );

  border: 1px solid rgba(255, 255, 255, 0.55);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 30px 70px rgba(16, 24, 40, 0.18),
    0 12px 22px rgba(16, 24, 40, 0.10);

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

/* reduce see-through slightly */
body.signup .signup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

/* sheen */
body.signup .signup-card::before {
  content: "";
  position: absolute;
  inset: -45% -30% auto auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0) 60%
  );
  transform: rotate(10deg);
  pointer-events: none;
}

body.signup .signup-card__title {
  position: relative;
  margin: 0 0 1rem;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: rgba(30, 36, 64, 0.92);
  z-index: 1;
}

/* error */
body.signup .signup-error {
  position: relative;
  z-index: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: rgba(185, 28, 28, 0.95);
  font-weight: 600;
}

/* form */
body.signup .signup-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.95rem;
}

body.signup .signup-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(30, 36, 64, 0.82);
  margin: 0 0 0.45rem;
}

body.signup .signup-input {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.10);
}

body.signup .signup-input i {
  color: rgba(30, 36, 64, 0.45);
}

body.signup .signup-input input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.98rem;
  color: rgba(30, 36, 64, 0.9);
}

body.signup .signup-input input::placeholder {
  color: rgba(30, 36, 64, 0.5);
}

/* button */
body.signup .signup-btn {
  margin-top: 0.2rem;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;

  background: linear-gradient(135deg, var(--mint, #5fd8bb), var(--mint-deep, #3a9f87));
  color: var(--accent-deep, #16284a);

  box-shadow:
    0 18px 30px rgba(45, 69, 115, 0.18),
    0 6px 12px rgba(45, 69, 115, 0.12);

  cursor: pointer;
}

body.signup .signup-btn:hover {
  transform: translateY(-1px);
}

body.signup .signup-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin: 0.2rem 0 0;
}

body.signup .signup-divider::before,
body.signup .signup-divider::after {
  content: "";
  height: 1px;
  background: rgba(16, 24, 40, 0.12);
}

body.signup .signup-divider span {
  font-size: 0.9rem;
  color: rgba(30, 36, 64, 0.6);
  font-weight: 700;
  text-transform: lowercase;
}

body.signup .signup-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  padding: 0.9rem 1rem;
  border-radius: 14px;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 24, 40, 0.10);
  color: rgba(30, 36, 64, 0.88);
  font-weight: 700;
}

body.signup .signup-bottom {
  margin: 0.25rem 0 0.15rem;
  text-align: center;
  color: rgba(30, 36, 64, 0.72);
  font-weight: 600;
}

body.signup .signup-link {
  color: rgba(30, 36, 64, 0.82);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* responsive */
@media (max-width: 980px) {
  body.signup .signup-grid {
    grid-template-columns: 1fr;
  }

  body.signup .signup-right {
    justify-content: flex-start;
  }
}
