/* ── Sign-up page – split layout ─────────────────────────────── */
.signup-page {
  min-height: 100vh;
  margin: 0;
}

.signup-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
}

@media (min-width: 900px) {
  .signup-layout { grid-template-columns: 42% 1fr; }
}

/* Brand panel */
.signup-brand {
  background: linear-gradient(160deg, #2a1508 0%, #3d2314 55%, #4a2c1a 100%);
  color: #faf8f5;
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.signup-brand::before {
  content: '';
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212, 184, 122, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.signup-brand::after {
  content: '';
  position: absolute;
  bottom: -8rem;
  left: -4rem;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(184, 151, 93, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.signup-brand-logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #faf8f5;
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.signup-brand-logo:hover {
  text-decoration: none;
  opacity: 0.88;
}

.signup-brand-tagline {
  font-size: 0.9rem;
  color: rgba(250, 248, 245, 0.6);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0 0 3.5rem;
  position: relative;
  z-index: 1;
}

.signup-brand-quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.65;
  margin: 0;
  max-width: 22rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(250, 248, 245, 0.92);
  position: relative;
  z-index: 1;
}

.signup-brand-quote::before {
  content: '\201C';
  color: rgba(212, 184, 122, 0.7);
}

.signup-brand-quote::after {
  content: '\201D';
  color: rgba(212, 184, 122, 0.7);
}

.signup-brand-accent {
  position: absolute;
  bottom: -8rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(196, 167, 125, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Form panel */
.signup-main {
  background: #faf8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.75rem;
}

.signup-card {
  width: 100%;
  max-width: 27rem;
  padding: 2.75rem 2.25rem;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow:
    0 2px 4px rgba(30, 14, 5, 0.05),
    0 12px 36px rgba(30, 14, 5, 0.09);
  border: 1px solid rgba(184, 151, 93, 0.18);
}

.signup-card-header { margin-bottom: 2rem; }

.signup-card-header h1 {
  margin: 0 0 0.5rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #2a1508;
  letter-spacing: -0.025em;
}

.signup-card-header p {
  margin: 0;
  font-size: 0.9375rem;
  color: #7a5c47;
  font-weight: 400;
}

.signup-form .form-group { margin-bottom: 1.25rem; }

.signup-form .form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2a1508;
  letter-spacing: 0.01em;
}

.signup-form .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: "Inter", system-ui, sans-serif;
  border: 1.5px solid #ecdfc4;
  border-radius: 0.625rem;
  background: #ffffff;
  color: #1e0e05;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-form .form-group input::placeholder { color: #a8896d; }

.signup-form .form-group input:hover { border-color: #b8975d; }

.signup-form .form-group input:focus {
  outline: none;
  border-color: #3d2314;
  box-shadow: 0 0 0 3.5px rgba(42, 21, 8, 0.1);
}

.signup-form .form-group input.error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.signup-hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.8rem;
  color: #7a5c47;
}

.signup-form .form-actions {
  margin-top: 1.875rem;
  margin-bottom: 0;
}

.signup-form .form-actions .btn {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Messages */
.signup-message {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.signup-message--error {
  background: #fdf2f2;
  color: #9b2335;
  border: 1.5px solid rgba(155, 35, 53, 0.16);
}

.signup-message--success {
  background: #f0faf3;
  color: #276843;
  border: 1.5px solid rgba(39, 104, 67, 0.18);
}

/* Divider */
.signup-divider {
  margin: 1.625rem 0;
  text-align: center;
  position: relative;
}

.signup-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(184, 151, 93, 0.28);
}

.signup-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #7a5c47;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signup-switch {
  margin: 1.5rem 0 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  color: #7a5c47;
}

.signup-switch a {
  color: #3d2314;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 2px;
}

.signup-switch a:hover { text-decoration: underline; }

.signup-back {
  text-align: center;
  margin: 0;
  font-size: 0.875rem;
}

.signup-back a {
  color: #7a5c47;
  text-decoration: none;
  text-underline-offset: 2px;
}

.signup-back a:hover {
  color: #3d2314;
  text-decoration: underline;
}
