/* Murlix Easy Invest — client login theme
   Sits on top of the original inline styles and Bootstrap.
   Loaded AFTER Bootstrap and inline <style>, so these rules win.
   Change nothing else on the page; delete this file to fully revert. */

body {
  background: #F7F8FA !important;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  color: #0B1220;
}

/* Card */
.login-box {
  max-width: 440px !important;
  background: #FFFFFF !important;
  padding: 40px 36px !important;
  border-radius: 12px !important;
  border: 1px solid #E2E5EA !important;
  box-shadow: 0 8px 30px rgba(11, 18, 32, 0.06) !important;
  animation: none !important;
}

/* Brand mark above the heading */
.login-box::before {
  content: "MurliX Easy Invest";
  display: block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0B1220;
  text-align: center;
  margin-bottom: 6px;
}
.login-box::before ~ h2 { position: relative; }

/* Small SEBI tag under the heading */
.login-box h2 {
  font-family: "Space Grotesk", Inter, sans-serif !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  color: #0B1220 !important;
  margin-bottom: 6px !important;
}
.login-box h2::after {
  content: "SEBI registered research analyst · INH000024037";
  display: block;
  font-family: Inter, sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #0B3532;
  background: #E3EFED;
  padding: 5px 12px;
  border-radius: 4px;
  width: fit-content;
  margin: 10px auto 22px;
}

/* Labels */
.login-box .form-label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #0B1220 !important;
  margin-bottom: 6px !important;
}

/* Inputs — WCAG AA contrast, visible border, clear focus */
.login-box .form-control {
  border: 1px solid #C9CED6 !important;
  border-radius: 6px !important;
  padding: 11px 12px !important;
  font-size: 14.5px !important;
  color: #0B1220 !important;
  background: #FFFFFF !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease;
}
.login-box .form-control::placeholder {
  color: #6B7280 !important;
  opacity: 1;
}
.login-box .form-control:hover {
  border-color: #0B1220 !important;
}
.login-box .form-control:focus,
.login-box .form-control:focus-visible {
  border-color: #0B1220 !important;
  outline: 3px solid #0B1220 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* Primary button — amber accent, dark ink text (matches homepage CTA) */
.login-box .btn-custom {
  background: #C68A3D !important;
  color: #0B1220 !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 13px 24px !important;
  transition: background 0.15s ease;
}
.login-box .btn-custom:hover,
.login-box .btn-custom:focus {
  background: #B47B34 !important;
  color: #0B1220 !important;
}
.login-box .btn-custom:focus-visible {
  outline: 3px solid #0B1220 !important;
  outline-offset: 2px !important;
}

/* Text links inside the card — replace inline color, keep them accessible */
.login-box a {
  color: #8A5A0F !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.login-box a:hover,
.login-box a:focus {
  color: #6E4708 !important;
}
.login-box a:focus-visible {
  outline: 3px solid #0B1220 !important;
  outline-offset: 2px !important;
}

/* Error alert — tone down Bootstrap red to match palette */
.login-box .alert-danger {
  background: #FCEBEB !important;
  color: #7A1F1F !important;
  border: 1px solid #E9BCBC !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  padding: 10px 14px !important;
}

/* "New User? Register" text — soften the wrapping copy */
.login-box .text-center.mt-3 {
  font-size: 13.5px;
  color: #475467;
  margin-top: 20px !important;
}

/* Mobile */
@media (max-width: 576px) {
  .login-box {
    padding: 28px 22px !important;
  }
  .login-box h2 {
    font-size: 20px !important;
  }
}
