.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 880px) {
  .shell {
    grid-template-columns: 1fr;
  }
}

/* Left side: Brand side */
.brand-side {
  background: var(--pine);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.brand-side::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 137, 43, 0.18) 0%, rgba(184, 137, 43, 0) 70%);
  pointer-events: none;
}
.brand-side .brand {
  position: relative;
  z-index: 1;
}

.brand-copy {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 40px 0;
}
.brand-copy h1 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 16px;
}
.brand-copy p {
  font-size: 14.5px;
  color: #c7d8d0;
  line-height: 1.6;
  margin: 0;
}

/* Quote card */
.quote-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px;
  margin-top: auto;
}
.quote-card p {
  font-size: 13.5px;
  color: #dce8e2;
  line-height: 1.6;
  margin: 0 0 12px;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--pine);
}
.quote-name {
  font-size: 12.8px;
  font-weight: 600;
  color: var(--white);
}
.quote-role {
  font-size: 11.5px;
  color: #a9c1b7;
}

/* Benefit List */
.benefit-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}
.benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.benefit-icon svg {
  width: 16px;
  height: 16px;
}
.benefit-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
}
.benefit-desc {
  font-size: 12.5px;
  color: #a9c1b7;
  margin-top: 2px;
  line-height: 1.5;
}

/* Right side: Form side */
.form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--sage-bg);
}
.form-card {
  width: 100%;
  max-width: 400px;
}
.form-head h2 {
  font-size: 24px;
  font-weight: 600;
  font-family: 'Roboto Slab', serif;
  margin: 0 0 6px;
  color: var(--ink);
}
.form-head p {
  font-size: 13.8px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}
.form-head p a {
  color: var(--pine);
  font-weight: 700;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12.5px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--sage-border);
}

.field {
  margin-bottom: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.pass-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 6px;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2px 0 20px;
}
.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}
.checkbox {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 2px solid var(--sage-border);
  flex-shrink: 0;
  cursor: pointer;
  background: var(--white);
  position: relative;
}
.checkbox.checked {
  background: var(--pine);
  border-color: var(--pine);
}
.checkbox.checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.forgot {
  font-size: 13px;
  font-weight: 600;
  color: var(--pine);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 6px 0 20px;
}
.terms-row p {
  font-size: 12.6px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.terms-row a {
  color: var(--pine);
  font-weight: 600;
}

.footer-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 20px;
}
.footer-note a {
  color: var(--pine);
  font-weight: 600;
}

.back-to-home {
  text-align: center;
  margin-top: 24px;
}
.back-to-home a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.15s;
}
.back-to-home a:hover {
  color: var(--pine);
}

/* Input Wraps & Fields Styling */
.input-wrap {
  position: relative;
}
.input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.input-wrap input,
.input-wrap select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--sage-border);
  border-radius: 10px;
  padding: 0 14px 0 42px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  outline: none;
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(18, 56, 50, 0.08);
}
.input-wrap.no-icon input,
.input-wrap.no-icon select {
  padding-left: 14px;
}

/* Google Sign-in Button styling */
.google-btn {
  width: 100%;
  height: 46px;
  border: 1px solid var(--sage-border);
  background: var(--white);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s, background 0.15s;
}
.google-btn:hover {
  border-color: #c9d5be;
  background: var(--sage-bg);
}

/* Submit Buttons styling */
.submit-btn {
  width: 100%;
  height: 46px;
  background: var(--pine);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.15s;
}
.submit-btn:hover {
  background: var(--pine-light);
}
.submit-btn svg {
  width: 16px;
  height: 16px;
}

/* Spinners for button loads */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
