/* =========================================================
   LOOP COFFEE — Auth Pages CSS
   ========================================================= */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep-navy);
}

/* LEFT PANEL */
.auth-left {
  background: linear-gradient(150deg, var(--deep-navy) 0%, var(--loop-blue) 65%, #1D6FBF 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 3rem 2.5rem; position: relative; overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 16c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.auth-logo { position: relative; text-align: center; margin-bottom: 2.5rem; }
.auth-logo img { height: 76px; filter: brightness(0) invert(1); margin-bottom: 0.85rem; display: block; margin-left: auto; margin-right: auto; }
.auth-logo h2 { color: var(--white); font-size: 1.45rem; margin-bottom: 0.25rem; }
.auth-logo p  { color: rgba(255,255,255,0.68); font-size: 0.9rem; font-style: italic; }

.auth-features { position: relative; width: 100%; max-width: 320px; }
.auth-feature {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.08); border-radius: var(--radius-md);
  margin-bottom: 0.7rem; border: 1px solid rgba(255,255,255,0.10);
}
.auth-feature-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-feature-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }
.auth-feature-text h4 { color: var(--white); font-size: 0.875rem; margin-bottom: 0.1rem; }
.auth-feature-text p  { color: rgba(255,255,255,0.60); font-size: 0.78rem; }

/* RIGHT PANEL */
.auth-right {
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 2.5rem; overflow-y: auto;
}
.auth-form-box { width: 100%; max-width: 420px; }
.auth-form-box .auth-top { margin-bottom: 2rem; }
.auth-form-box .auth-top h1 { font-size: 1.7rem; color: var(--deep-navy); margin-bottom: 0.35rem; }
.auth-form-box .auth-top p  { color: var(--gray-400); font-size: 0.9rem; }

.auth-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-divider span { font-size: 0.78rem; color: var(--gray-400); white-space: nowrap; }

.auth-footer { margin-top: 1.5rem; text-align: center; font-size: 0.875rem; color: var(--gray-600); }
.auth-footer a { color: var(--loop-blue); font-weight: 600; }
.auth-footer a:hover { color: var(--deep-navy); }

.demo-info {
  margin-top: 1rem; padding: 0.85rem 1rem;
  background: var(--lighter-blue); border-radius: var(--radius-sm);
  border: 1px solid var(--light-blue);
}
.demo-info p { font-size: 0.78rem; color: var(--gray-600); margin: 0; line-height: 1.7; }

/* Password strength */
.strength-bar { display: flex; gap: 4px; margin-top: 0.4rem; }
.strength-segment { flex: 1; height: 3px; border-radius: 3px; background: var(--gray-200); transition: background 0.3s; }
.strength-segment.weak   { background: var(--danger);  }
.strength-segment.medium { background: var(--warning); }
.strength-segment.strong { background: var(--success); }
.strength-text { font-size: 0.74rem; margin-top: 0.28rem; }

@media (max-width: 768px) {
  .auth-page  { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .auth-right { padding: 2.5rem 1.25rem; min-height: 100vh; align-items: flex-start; padding-top: 3rem; }
}
