/* Login page – matches Presentation Theme login mockup */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 1fr);
  background: var(--so-white);
}

.login-visual {
  position: relative;
  background: #1a1a1a center/cover no-repeat;
  background-image: url('../images/hero-landscape.png');
  display: flex;
  flex-direction: column;
  padding: 40px 44px 32px;
  color: var(--so-white);
  overflow: hidden;
  min-height: 100vh;
}

.login-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(8, 20, 40, 0.55) 0%, rgba(8, 20, 40, 0.25) 40%, rgba(8, 20, 40, 0.65) 100%);
  pointer-events: none;
}

.login-visual > * { position: relative; z-index: 1; }

.login-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8vh;
}

.login-brand-block img { width: 72px; height: 72px; }

.login-brand-block .so-wordmark { font-size: 2.4rem; }
.login-brand-block .so-wordmark .shepherd { color: #dce6f5; }
.login-brand-block .so-tagline { color: #c8d4e8; letter-spacing: 0.16em; }

.login-guide {
  margin-top: 10vh;
  max-width: 360px;
}
.login-guide .so-divider { margin: 0 0 18px; max-width: 200px; }
.login-guide .so-divider::before,
.login-guide .so-divider::after { background: var(--so-gold); }
.login-guide .cross { color: var(--so-gold); }
.login-guide h2 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--so-white);
}
.login-guide h2 .dot { color: var(--so-orange); }

.quote-card {
  margin-top: auto;
  background: rgba(247, 233, 211, 0.95);
  color: var(--so-navy);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  max-width: 380px;
  box-shadow: var(--shadow-md);
}
.quote-card .qmark {
  color: var(--so-orange);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 6px;
}
.quote-card p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 8px;
}
.quote-card cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--so-blue);
}

.login-panel {
  display: flex;
  flex-direction: column;
  padding: 28px 48px 32px;
  background: var(--so-white);
  min-height: 100vh;
}

.login-panel-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8vh;
}

.login-panel-body {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-panel-body h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--so-navy);
  margin-bottom: 6px;
}
.login-panel-body .subtitle {
  color: var(--so-text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--so-text-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--so-border);
}

.social-stack { display: flex; flex-direction: column; gap: 10px; }

.btn-social {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid var(--so-border);
  border-radius: var(--radius-md);
  background: var(--so-white);
  color: var(--so-navy);
  font-weight: 500;
}
.btn-social:hover { background: var(--so-off-white); border-color: #cfd6e0; }
.btn-social img, .btn-social svg { width: 20px; height: 20px; }

.create-account {
  margin-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--so-text-muted);
}
.create-account .btn { margin-top: 10px; }

.login-panel-footer {
  margin-top: 28px;
  text-align: center;
}
.login-panel-footer .so-script { font-size: 1.25rem; }
.login-panel-footer .cross-sm {
  color: var(--so-gold);
  font-size: 0.9rem;
  margin: 4px 0 8px;
}
.login-panel-footer .copy {
  font-size: 0.72rem;
  color: var(--so-text-light);
}

@media (max-width: 900px) {
  .login-page { grid-template-columns: 1fr; }
  .login-visual {
    min-height: 42vh;
    padding: 28px 24px;
  }
  .login-brand-block { margin-top: 0; }
  .login-guide { margin-top: 24px; }
  .quote-card { margin-top: 24px; }
  .login-panel { padding: 24px 20px 28px; min-height: auto; }
  .login-panel-top { margin-bottom: 24px; }
}
