/* ============================================================
   login.css — HSCOL Login Page
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auth-body {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Montserrat', sans-serif;
  height: 100vh;
   width: 100vw;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: 0;
  margin: 0;
  color: #1E293B;
  overflow: hidden;
  /* background: #0A1228; */
}

.auth-main {
  width: 100%;
  /* max-width: 1320px; */
}

/* ── Outer Dark Frame ── */
.auth-card-frame {
  display: flex;
  width: 100%;
  height: 100vh;
  
  background: #0A1228;
  /* border-radius: 28px; */
  overflow: hidden;
  /* box-shadow: 0 40px 90px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.05); */
  position: relative;
  border-radius: 0; 
    box-shadow: none;
}

/* ── Left Branding Panel ── */
.auth-branding-panel {
  flex: 1.15;
  position: relative;
  padding: 44px 56px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.branding-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.branding-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 11, 26, 0.72) 0%,
    rgba(6, 11, 26, 0.40) 38%,
    rgba(6, 11, 26, 0.55) 65%,
    rgba(4, 8, 20, 0.88) 100%
  );
  z-index: 2;
}

/* Gold dots — top-left over the photo */
.dots-grid {
  position: absolute;
  top: 22px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(6, 4px);
  grid-template-rows: repeat(4, 4px);
  gap: 8px;
  z-index: 3;
  opacity: 0.55;
}

.dots-grid .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #E5AA37;
  box-shadow: 0 0 5px rgba(229, 170, 55, 0.6);
}

/* Golden diagonal accent line, bottom-left crossing the stats panel */
.golden-arc {
  position: absolute;
  bottom: 60px;
  left: -40px;
  width: 520px;
  height: 140px;
  z-index: 5;
  pointer-events: none;
  transform: rotate(6deg);
}

/* Panel Content */
.branding-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Logo */
.branding-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Heading */
.branding-title {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
}

.highlight-gold { color: #F3BA42; }

/* small gold underline accent below title */
.branding-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: #E5AA37;
  border-radius: 2px;
  margin-top: 14px;
}

.branding-desc {
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.65;
  margin-top: 14px;
  margin-bottom: 0;
}

/* push feature/stat panels to the bottom */
.branding-content > .branding-desc {
  margin-bottom: auto;
}

/* Feature panel (glass box) */
.features-panel {
  background: rgba(8, 14, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 28px;
  position: relative;
  z-index: 5;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(229, 170, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.feature-sub {
  font-size: 11px;
  color: #94A3B8;
  line-height: 1.4;
}

/* Stats panel (separate glass box, stacked below) */
.stats-panel {
  background: rgba(8, 14, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 14px;
  position: relative;
  z-index: 6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: 'Inter', 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #F3BA42;
  line-height: 1;
}

.stat-label {
  font-size: 11.5px;
  color: #94A3B8;
  margin-top: 5px;
  font-weight: 500;
}

/* ── Right White Form Card ── */
.auth-form-card {
  flex: 0 0 460px;
  background: #FFFFFF;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* light gray dots — top-right of the white card */
.dots-grid-light {
  position: absolute;
  top: 26px;
  right: 30px;
  display: grid;
  grid-template-columns: repeat(6, 4px);
  grid-template-rows: repeat(4, 4px);
  gap: 8px;
  z-index: 1;
}

.dots-grid-light .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #CBD5E1;
}

/* soft curved line decorations, top-left & bottom-right */
.card-decor-line {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}

.card-decor-line.top-left {
  top: 0;
  left: 0;
  width: 220px;
  height: 160px;
}

.card-decor-line.bottom-right {
  bottom: 0;
  right: 0;
  width: 220px;
  height: 160px;
  transform: rotate(180deg);
}

/* Lock icon badge above heading */
.form-icon-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(229, 170, 55, 0.12);
  border: 1px solid rgba(229, 170, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
}

/* Form Header */
.form-header {
  margin-bottom: 26px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 13.5px;
  color: #64748B;
  margin-top: 6px;
  font-weight: 400;
}

/* Form Controls */
.form-group { margin-bottom: 18px; position: relative; z-index: 2; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 13px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.input-wrapper input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 40px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13.5px;
  color: #1E293B;
  background-color: #FAFAFA;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.input-wrapper input:focus {
  background-color: #FFFFFF;
  border-color: #1C2852;
  box-shadow: 0 0 0 3px rgba(28, 40, 82, 0.1);
}

.input-wrapper input::placeholder { color: #B0BCCC; }

.toggle-pw {
  position: absolute;
  right: 11px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #94A3B8;
  display: flex;
  align-items: center;
  transition: color 0.18s ease;
}

.toggle-pw:hover, .toggle-pw.active { color: #1C2852; }

.forgot-link-wrapper { display: flex; justify-content: flex-end; margin-top: 7px; }

.forgot-link {
  font-size: 13px;
  font-weight: 600;
  color: #2563EB;
  text-decoration: none;
  transition: color 0.18s ease;
}

.forgot-link:hover { color: #1D4ED8; text-decoration: underline; }

/* Submit Button */
.btn-primary-gradient {
  width: 100%;
  height: 48px;
  background: #1C2852;
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 14px rgba(28, 40, 82, 0.3);
  letter-spacing: 0.2px;
  z-index: 2;
}

.btn-primary-gradient:hover { background: #263872; box-shadow: 0 6px 20px rgba(28, 40, 82, 0.4); }
.btn-primary-gradient:active { transform: translateY(1px); }

.btn-arrow { position: absolute; right: 16px; }

/* Divider */
.divider-line { margin: 24px 0 18px; text-align: center; position: relative; z-index: 2; }

.divider-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #E8EDF3;
  z-index: 0;
}

.divider-line span {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  padding: 0 14px;
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
}

/* Social Buttons */
.social-buttons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.btn-social-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  color: #1E293B;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-social-outline:hover {
  background: #F7F9FC;
  border-color: #CBD5E1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Footer */
.auth-footer-text {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
  position: relative;
  z-index: 2;
}

.auth-link {
  color: #2563EB;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.18s ease;
}

.auth-link:hover { color: #1D4ED8; text-decoration: underline; }

/* Alerts */
.alert {
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

.alert-error { background-color: #FEF2F2; color: #991B1B; border: 1px solid #FCA5A5; }
.alert-info { background-color: #EFF6FF; color: #1E40AF; border: 1px solid #93C5FD; }
.alert-success { background-color: #F0FDF4; color: #166534; border: 1px solid #86EFAC; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .auth-card-frame { flex-direction: column; height: auto; border-radius: 20px; }
  .auth-form-card { flex: none; padding: 36px 32px; }
  .auth-branding-panel { min-height: 460px; padding: 36px 32px; }
  .branding-title { font-size: 27px; }
}

@media (max-width: 640px) {
  body.auth-body { padding: 16px; }
  .features-row, .stats-row { grid-template-columns: 1fr; gap: 12px; }
  .social-buttons-grid { grid-template-columns: 1fr; }
  .auth-form-card { padding: 28px 20px; }
  .features-panel, .stats-panel { padding: 16px; }
}