/* login.css — Login page specific styles */

body {
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Split layout — left brand panel + right card */
.login-layout {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 560px;
  border-radius: var(--r);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* Left decorative panel */
.login-brand {
  width: 380px;
  flex-shrink: 0;
  background: var(--navy);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background */
.login-brand::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(22,192,239,0.08);
  pointer-events: none;
}
.login-brand::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(22,192,239,0.06);
  pointer-events: none;
}

.brand-logo {
  position: relative; z-index: 1;
}

.brand-logo .logo-placeholder {
  background: rgba(22,192,239,0.12);
  border-color: rgba(22,192,239,0.35);
  color: var(--cyan);
  margin: 0;
}

.brand-content {
  position: relative; z-index: 1;
}

.brand-tagline {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 1rem;
    font-family: "HK Grotesk",sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}

.brand-tagline span { color: var(--cyan); }

.brand-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.brand-stats {
  position: relative; z-index: 1;
  display: flex;
  gap: 1.5rem;
}

.brand-stat-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 2px;
}

.brand-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3px;
}

/* Right form area */
.login-form-area {
  flex: 1;
  background: var(--card);
  padding: 2.75rem 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-area h2 {
  font-size: 21px;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.login-form-area .form-sub {
  font-size: 13.5px;
  color: var(--text3);
  margin-bottom: 1.75rem;
}

.forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 14px;
}

.forgot-row a {
  font-size: 12.5px;
  color: var(--cyan-dark);
  text-decoration: none;
  font-weight: 500;
}
.forgot-row a:hover { text-decoration: underline; }

.signup-prompt {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--text3);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border2);
}

.signup-prompt a {
    color: var(--cyan-dark);
    text-decoration: none;
    font-weight: 600;
}

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

/* Responsive — stack on small screens */
@media (max-width: 640px) {
  .login-layout { flex-direction: column; min-height: auto; max-width: 420px; }
  .login-brand  { width: 100%; padding: 1.75rem; }
  .brand-tagline { font-size: 18px; }
  .brand-stats  { gap: 1rem; }
  .login-form-area { padding: 2rem 1.5rem; }
}

/* ── Enhanced mobile responsiveness ────────────────────────── */
@media (max-width: 680px) {
  body { justify-content: flex-start; padding: 1.5rem 0.75rem 2.5rem; }
  .login-layout { flex-direction: column; border-radius: var(--r); }
  .login-brand  { width: 100%; min-height: auto; padding: 1.75rem 1.5rem; border-radius: var(--r) var(--r) 0 0; }
  .brand-tagline { font-size: 18px; }
  .brand-stats  { gap: 1.25rem; }
  .brand-stat-val { font-size: 18px; }
  .login-form-area { padding: 1.75rem 1.5rem 1.5rem; border-radius: 0 0 var(--r) var(--r); }
  .login-form-area h2 { font-size: 18px; }
}

@media (max-width: 380px) {
  body { padding: 1rem 0.5rem 2rem; }
  .login-brand { padding: 1.25rem 1rem; }
  .login-form-area { padding: 1.25rem 1rem 1.25rem; }
  .brand-stats { flex-direction: column; gap: 0.5rem; }
}
