:root {
  --login-blue-dark: #020b5c;
  --login-blue: #005bea;
  --login-cyan: #00aeef;
  --login-bg: #f4f7fb;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body.smart-login-page { margin: 0; background: var(--login-bg); overflow-x: hidden; }
.smart-login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr); }
.smart-login-brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(44px, 7vw, 96px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(0,174,239,.42), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(0,91,234,.62), transparent 38%),
    linear-gradient(145deg, #020b5c 0%, #003caa 58%, #005bea 100%);
}
.smart-login-brand-panel::before,
.smart-login-brand-panel::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; z-index: -1; }
.smart-login-brand-panel::before { width: 520px; height: 520px; right: -180px; top: -190px; }
.smart-login-brand-panel::after { width: 390px; height: 390px; left: -160px; bottom: -170px; }
.smart-login-brand-content { position: relative; z-index: 2; max-width: 690px; }
.smart-login-brand-logo { width: min(310px, 70%); height: auto; margin-bottom: clamp(52px, 8vh, 90px); }
.smart-login-kicker { display: inline-block; color: inherit; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.smart-login-brand-content h1 { max-width: 650px; margin: 12px 0 18px; color: #fff; font-size: clamp(2.25rem, 4vw, 4.5rem); line-height: 1.02; letter-spacing: -.045em; }
.smart-login-brand-content p { max-width: 600px; margin: 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.smart-login-brand-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.smart-login-brand-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(8px); }
.smart-login-brand-symbol { position: absolute; right: -40px; bottom: -70px; opacity: .08; transform: rotate(-8deg); }
.smart-login-brand-symbol img { width: 430px; height: 430px; object-fit: contain; }
.smart-login-form-panel { display: flex; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.smart-login-card { width: min(100%, 440px); }
.smart-login-mobile-logo { display: none; margin-bottom: 34px; }
.smart-login-mobile-logo img { width: 210px; height: auto; }
.smart-login-heading { margin-bottom: 28px; }
.smart-login-heading .smart-login-kicker { color: var(--login-blue); }
.smart-login-heading h2 { margin: 7px 0 7px; color: var(--login-blue-dark); font-size: clamp(2rem, 4vw, 2.75rem); }
.smart-login-heading p { margin: 0; color: #64748b; }
.smart-login-error { display: flex; align-items: flex-start; gap: 10px; border: 0; border-radius: 14px; font-size: 13px; }
.smart-login-form { display: grid; gap: 20px; }
.smart-login-field { display: grid; gap: 8px; }
.smart-login-field label { margin: 0; color: var(--login-blue-dark); font-size: 13px; font-weight: 800; }
.smart-login-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.smart-login-help { color: #8491a3; font-size: 10px; text-align: right; }
.smart-login-input-wrap { position: relative; }
.smart-login-input-wrap > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 2; color: #7890ae; }
.smart-login-input-wrap .form-control { min-height: 54px; padding: 0 48px 0 46px; border: 1px solid #dce3ed; border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(2,11,92,.035); }
.smart-login-input-wrap .form-control:focus { border-color: var(--login-cyan); box-shadow: 0 0 0 4px rgba(0,174,239,.12); }
.smart-password-toggle { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #6b7d93; }
.smart-password-toggle:hover { background: #f1f5f9; color: var(--login-blue); }
.smart-login-submit { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-radius: 15px; font-weight: 800; }
.smart-login-footer { margin: 28px 0 0; color: #94a3b8; font-size: 11px; text-align: center; }
@media (max-width: 980px) {
  .smart-login-shell { grid-template-columns: 1fr; }
  .smart-login-brand-panel { display: none; }
  .smart-login-form-panel { min-height: 100vh; padding: 28px 20px; }
  .smart-login-mobile-logo { display: block; }
}
@media (max-width: 420px) {
  .smart-login-form-panel { align-items: flex-start; padding-top: 54px; }
  .smart-login-label-row { align-items: flex-start; flex-direction: column; gap: 4px; }
  .smart-login-help { text-align: left; }
}
