:root {
  font-family: "DM Sans", sans-serif;
  color: #242a3a;
  background: #f6f7fb;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-weight: 400;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
.page-shell { display: grid; grid-template-columns: minmax(390px, .92fr) 1.08fr; min-height: 100vh; }

.welcome-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 38px clamp(36px, 6vw, 88px) 30px;
  color: white;
  background: #252b48;
}
.brand { position: relative; z-index: 1; display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: inherit; font-family: Manrope, sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.8px; text-decoration: none; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; color: #252b48; background: #d7ed9f; }
.brand-mark svg { width: 25px; height: 25px; }
.brand-dot { color: #bbdb73; }
.welcome-content { position: relative; z-index: 1; width: min(100%, 438px); margin: auto 0; padding: 55px 0 43px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #cad0e2; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #c9e682; box-shadow: 0 0 13px #c9e68288; }
h1, h2 { font-family: Manrope, sans-serif; }
h1 { margin: 21px 0 15px; font-size: clamp(43px, 5vw, 64px); font-weight: 700; letter-spacing: -3.4px; line-height: 1.12; }
h1 span { color: #c5e17e; }
.welcome-copy { max-width: 330px; margin: 0; color: #b9bfd2; font-size: 14px; line-height: 1.8; }
.exam-list { display: grid; gap: 10px; margin-top: 37px; }
.exam-item { display: grid; min-height: 65px; grid-template-columns: 39px 1fr 20px; align-items: center; gap: 13px; padding: 11px 15px; border: 1px solid #ffffff13; border-radius: 13px; background: #ffffff09; transition: background .2s, transform .2s; }
.exam-item:hover { transform: translateX(3px); background: #ffffff11; }
.exam-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 11px; font-size: 18px; }
.exam-icon-blue { color: #b9d1ff; background: #526da740; }
.exam-icon-green { color: #c6e991; background: #718e3b40; }
.exam-icon-orange { color: #f6c99f; background: #aa704340; }
.exam-item strong, .exam-item small { display: block; }
.exam-item strong { font-size: 13px; font-weight: 600; }
.exam-item small { margin-top: 3px; color: #b4bbcf; font-size: 11px; }
.exam-arrow { color: #aeb8ca; font-size: 15px; }
.welcome-footer { position: relative; z-index: 1; color: #b9bfd2; font-size: 11px; }
.footer-spark { margin-right: 7px; color: #c5e17e; }
.decor { position: absolute; border: 1px solid #ffffff08; border-radius: 50%; pointer-events: none; }
.decor-one { top: 31%; right: -210px; width: 390px; height: 390px; }
.decor-two { top: calc(31% + 24px); right: -186px; width: 342px; height: 342px; }

.form-panel { display: flex; min-height: 100vh; flex-direction: column; justify-content: space-between; padding: 35px clamp(32px, 5.5vw, 78px) 23px; }
.form-topline { display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: #858b9b; font-size: 11px; }
.text-button { padding: 0; border: 0; color: #52653b; background: transparent; font-size: 11px; font-weight: 700; }
.text-button:hover { color: #819e51; }
.form-topline .text-button span { margin-left: 3px; }
.auth-card { width: min(100%, 390px); align-self: center; margin: 27px 0; }
.card-heading { margin-bottom: 29px; }
.welcome-back { color: #79865d; font-size: 9px; font-weight: 700; letter-spacing: 1.5px; }
.welcome-back span { margin-left: 4px; color: #a3bd6c; }
h2 { margin: 11px 0 8px; color: #262c3c; font-size: 30px; font-weight: 700; letter-spacing: -1.3px; }
.card-heading p { margin: 0; color: #8a8f9e; font-size: 12px; line-height: 1.7; }
form { display: flex; flex-direction: column; }
.field-label { margin: 0 0 8px; color: #484e5e; font-size: 11px; font-weight: 600; }
.input-wrap { position: relative; display: flex; height: 48px; align-items: center; margin-bottom: 19px; }
.input-wrap input { width: 100%; height: 100%; padding: 0 42px; border: 1px solid #e6e8ed; border-radius: 9px; outline: none; color: #32384a; background: #fff; font-size: 12px; transition: border-color .2s, box-shadow .2s; }
.input-wrap input::placeholder { color: #b6bac5; }
.input-wrap input:focus { border-color: #9db86a; box-shadow: 0 0 0 3px #a5c27520; }
.input-icon { position: absolute; z-index: 1; left: 14px; width: 17px; height: 17px; color: #a1a7b3; }
.password-label-row { display: flex; align-items: center; justify-content: space-between; }
.subtle-button { margin-bottom: 8px; color: #9095a1; font-size: 10px; font-weight: 500; }
.password-toggle { position: absolute; right: 12px; display: grid; width: 27px; height: 27px; place-items: center; padding: 0; border: 0; border-radius: 6px; color: #9da2af; background: transparent; }
.password-toggle:hover { color: #59614d; background: #f3f5ef; }
.password-toggle svg { width: 17px; height: 17px; }
.remember-row { position: relative; display: flex; width: fit-content; align-items: center; gap: 9px; margin: -2px 0 23px; color: #858b99; font-size: 11px; cursor: pointer; }
.remember-row input { position: absolute; width: 17px; height: 17px; margin: 0; opacity: 0; cursor: pointer; }
.custom-check { display: grid; width: 16px; height: 16px; place-items: center; border: 1px solid #dfe2e7; border-radius: 4px; background: white; }
.remember-row input:checked + .custom-check { border-color: #8ca65c; background: #8ca65c; }
.remember-row input:checked + .custom-check::after { width: 7px; height: 4px; border-bottom: 1.5px solid white; border-left: 1.5px solid white; content: ""; transform: translateY(-1px) rotate(-45deg); }
.remember-row input:focus-visible + .custom-check { outline: 3px solid #a5c27555; }
.submit-button { display: flex; width: 100%; height: 49px; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 9px; color: white; background: #788e4e; box-shadow: 0 5px 12px #788e4e24; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.submit-button:hover { transform: translateY(-1px); background: #687e40; }
.submit-button:disabled { cursor: wait; opacity: .7; }
.button-arrow { font-size: 16px; font-weight: 400; }
.form-message { display: none; margin: -7px 0 13px; color: #a74747; font-size: 11px; line-height: 1.5; }
.form-message.visible { display: block; }
.form-message.success { color: #526f35; }
.divider { display: flex; align-items: center; gap: 12px; margin: 27px 0 18px; }
.divider span { height: 1px; flex: 1; background: #e9eaf0; }
.divider small { color: #a2a6b0; font-size: 8px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.trust-note { display: flex; justify-content: center; gap: 7px; color: #9196a3; font-size: 10px; }
.trust-note span { color: #91a965; }
.form-footer { display: flex; justify-content: space-between; gap: 14px; color: #a3a7b2; font-size: 9px; }
.heart { color: #d58686; }
.mobile-brand { display: none; }
.form-panel.signup-mode .subtle-button, .form-panel.signup-mode .remember-row { display: none; }
.form-panel.signup-mode .input-wrap { margin-bottom: 19px; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: minmax(330px, .85fr) 1.15fr; }
  .welcome-panel { padding-right: 34px; padding-left: 34px; }
  .form-panel { padding-right: 32px; padding-left: 32px; }
}
@media (max-width: 700px) {
  .page-shell { display: block; }
  .welcome-panel { display: none; }
  .form-panel { min-height: 100vh; padding: 20px 24px 18px; }
  .form-topline { min-height: 28px; }
  .auth-card { margin: auto; padding: 36px 0; }
  .mobile-brand { display: inline-flex; margin-bottom: 44px; color: #252b48; }
  .form-footer { font-size: 9px; }
}
@media (max-width: 380px) {
  .form-panel { padding-right: 18px; padding-left: 18px; }
  .form-topline { gap: 7px; font-size: 10px; }
  .form-footer { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
