/* ============================================================
   CBT NEET UG.COM — Login page styles
   ============================================================ */

/* FIX: the old min-height calc (100vh - 60px - 140px) assumed a fixed
   header/footer size. The real footer is taller, so the card overflowed
   the main area and the navy footer visually overlapped the login card.
   Using flex growth + generous padding keeps card and footer separated. */
.login-main {
  flex: 1 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 20px 96px; background: #f4f6fa;
}

.login-card {
  width: 100%; max-width: 460px;
  background: #ffffff; border-radius: 14px;
  box-shadow: 0 12px 40px rgba(15, 44, 89, 0.10);
  padding: 32px 34px 30px; box-sizing: border-box;
}

.brand-strip { display: flex; justify-content: center; margin-bottom: 14px; }
.brand-strip img { height: 42px; width: auto; }

.login-title {
  text-align: center; font-size: 24px; margin: 4px 0 6px;
  color: #0f2c59; font-weight: 700; letter-spacing: 0.2px;
}
.login-sub {
  text-align: center; margin: 0 0 22px; color: #4a5b78; font-size: 14px;
}
.login-sub .link { color: #1a4fb8; text-decoration: none; font-weight: 600; }
.login-sub .link:hover { text-decoration: underline; }

.form-row { margin-bottom: 16px; }
.row-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.lg-label { font-size: 13px; font-weight: 600; color: #0f2c59; }
.required { color: #d13030; }
.row-alt {
  background: none; border: none; color: #1a4fb8; font-size: 12px;
  cursor: pointer; padding: 0; font-weight: 600;
}
.row-alt:hover { text-decoration: underline; }

.lg-input {
  width: 100%; box-sizing: border-box;
  padding: 11px 13px; font-size: 14px;
  border: 1px solid #cfd6e4; border-radius: 7px;
  background: #fff; color: #0f2c59; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.lg-input:focus {
  outline: none; border-color: #1a4fb8;
  box-shadow: 0 0 0 3px rgba(26, 79, 184, 0.15);
}

.keep-signed {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #4a5b78;
  margin: 10px 0 18px; cursor: pointer;
}
.keep-signed input { accent-color: #1a4fb8; }

.btn-signin {
  width: 100%; padding: 12px; font-size: 14px; font-weight: 700;
  background: #0f2c59; color: #fff; border: none;
  border-radius: 7px; cursor: pointer;
  letter-spacing: 0.6px; transition: background .15s, transform .05s;
}
.btn-signin:hover { background: #1a3d75; }
.btn-signin:active { transform: translateY(1px); }

.divider {
  text-align: center; margin: 22px 0 14px; position: relative;
  color: #8895ab; font-size: 12px;
}
.divider::before, .divider::after {
  content: ""; position: absolute; top: 50%;
  width: calc(50% - 60px); height: 1px; background: #dde3ee;
}
.divider::before { left: 0; }
.divider::after { right: 0; }

.social-row {
  display: flex; justify-content: center; gap: 14px; margin-bottom: 18px;
}
.social-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid #dde3ee;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .1s, box-shadow .15s, border-color .15s;
  padding: 0;
}
.social-btn:hover {
  transform: translateY(-1px); border-color: #b8c4d9;
  box-shadow: 0 4px 12px rgba(15, 44, 89, 0.08);
}

.lost-line {
  text-align: center; margin: 4px 0 0; font-size: 13px; color: #4a5b78;
}
.lost-line .link { color: #1a4fb8; text-decoration: none; font-weight: 600; }
.lost-line .link:hover { text-decoration: underline; }

/* ---------- Provider modal ---------- */
.provider-modal {
  position: fixed; inset: 0; background: rgba(15, 44, 89, 0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
}
.provider-modal.open { display: flex; }
.provider-modal-card {
  background: #fff; border-radius: 12px; padding: 28px 26px;
  max-width: 420px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.brand-lockup { margin-bottom: 12px; }
.brand-lockup img { height: 38px; }
.provider-modal-card h3 { margin: 0 0 8px; color: #0f2c59; font-size: 18px; }
.provider-modal-card p { margin: 0 0 18px; color: #4a5b78; font-size: 14px; line-height: 1.5; }
.modal-actions { display: flex; justify-content: center; gap: 10px; }
.m-btn {
  padding: 9px 18px; border-radius: 6px; border: 1px solid #cfd6e4;
  background: #fff; color: #0f2c59; font-weight: 600; font-size: 13px;
  cursor: pointer; font-family: inherit;
}
.m-btn:hover { background: #f4f6fa; }
.m-btn.primary { background: #0f2c59; color: #fff; border-color: #0f2c59; }
.m-btn.primary:hover { background: #1a3d75; }

/* ---------- Error banner ---------- */
.lg-error {
  background: #fbe6e6; color: #a83030; border: 1px solid #f3b6b6;
  padding: 9px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 12px;
  display: none;
}

/* ---------- Chips (role indicators used elsewhere) ---------- */
.chip {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; margin-right: 6px;
}
.chip-admin   { background: #fff2d6; color: #a06a00; border: 1px solid #f3d488; }
.chip-student { background: #e0efff; color: #1a4fb8; border: 1px solid #b8cff0; }

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .login-card { padding: 24px 20px; }
  .login-title { font-size: 21px; }
  .social-btn { width: 42px; height: 42px; }
}
/* Professional reading alignment. */
.login-sub, .signup-sub, .promo-video-desc, .b-desc, .info-card p, .disclaimer-card p { text-align: justify; text-justify: inter-word; }
