@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --navy: #06295f;
  --navy-deep: #041b40;
  --blue: #0874df;
  --orange: #ff7900;
  --ink: #10284d;
  --muted: #708099;
  --line: #dce4ef;
  --surface: #ffffff;
  --background: #f2f6fb;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: 'DM Sans', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(440px, 54%) minmax(420px, 46%);
  min-height: 100vh;
}

.brand-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 42px clamp(46px, 7vw, 112px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(25, 152, 238, .28), transparent 27%),
    radial-gradient(circle at 12% 88%, rgba(255, 121, 0, .17), transparent 24%),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  content: '';
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}

.brand-panel::before { width: 520px; height: 520px; right: -220px; top: -230px; }
.brand-panel::after { width: 350px; height: 350px; left: -200px; bottom: -170px; }

.brand-top,
.brand-copy,
.brand-panel > small { position: relative; z-index: 1; }

.brand-top img {
  display: block;
  width: 220px;
  height: 110px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 5px 13px rgba(0, 10, 35, .25));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #8fc9ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

.eyebrow.orange { color: var(--orange); }

.brand-copy { max-width: 590px; }

.brand-copy h1 {
  margin: 0 0 20px;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: clamp(45px, 4.3vw, 68px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -2.8px;
}

.brand-copy h1 em { color: #ff9228; font-style: normal; }

.brand-copy > p {
  max-width: 550px;
  margin: 0;
  color: #c9dbf1;
  font-size: 16px;
  line-height: 1.65;
}

.brand-points {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: #e5effb;
  font-size: 13px;
}

.brand-points span::first-letter { color: #62d98d; }

.brand-panel > small {
  color: #8faed3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.form-panel {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 50px clamp(38px, 7vw, 105px);
  background:
    linear-gradient(rgba(255, 255, 255, .83), rgba(255, 255, 255, .83)),
    radial-gradient(circle at 100% 0, #dcecff, transparent 38%);
}

.login-card { width: min(100%, 460px); }

.mobile-brand { display: none; }

.login-card h2 {
  margin: 0;
  font-family: 'Space Grotesk', Arial, sans-serif;
  font-size: 39px;
  font-weight: 600;
  letter-spacing: -1.4px;
}

.intro {
  margin: 9px 0 31px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.login-form { display: grid; gap: 18px; }

.login-form label { display: grid; gap: 8px; }

.login-form label > span {
  font-size: 12px;
  font-weight: 700;
}

.login-form input {
  width: 100%;
  min-height: 51px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  font: 14px 'DM Sans', Arial, sans-serif;
  transition: border-color .18s, box-shadow .18s;
}

.login-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 116, 223, .11);
}

.login-form input::placeholder { color: #a5afbd; }
.website-link{display:inline-flex;margin-bottom:18px;color:#356087;text-decoration:none;font-size:13px;font-weight:800}.website-link:hover{color:#ff7a00}

.login-form button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin-top: 5px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(90deg, var(--orange), #ff9227);
  border: 0;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(255, 121, 0, .23);
  font: 700 14px 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.login-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(255, 121, 0, .29);
}

.alert {
  display: grid;
  gap: 3px;
  margin-bottom: 20px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 12px;
}

.alert.error { color: #9d2d20; background: #ffebe8; border: 1px solid #f8cec7; }

.security-note {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
  padding: 15px 17px;
  color: #52647e;
  background: #f1f5fa;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  font-size: 12px;
}

.security-note > span { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; background: #e3eefb; border-radius: 50%; }
.security-note b, .security-note small { display: block; }
.security-note b { margin-bottom: 3px; color: var(--ink); }
.security-note small { color: #8591a3; }
.support { margin: 22px 0 0; color: #8995a7; font-size: 11px; text-align: center; }
.login-options{display:flex;justify-content:flex-end;margin-top:-5px}.login-options a,.register-prompt a{color:var(--blue);font-weight:700;text-decoration:none;font-size:12px}.login-options a:hover,.register-prompt a:hover{text-decoration:underline}.register-prompt{display:flex;justify-content:center;gap:7px;margin-top:20px;padding-top:19px;border-top:1px solid #e3e9f1;color:#718096;font-size:12px}.alert.success{color:#117248;background:#e7f7ed;border:1px solid #bde3cc}

@media (max-width: 900px) {
  .login-layout { display: block; }
  .brand-panel { display: none; }
  .form-panel { min-height: 100vh; padding: 45px 24px; }
  .mobile-brand {
    display: block;
    width: 210px;
    height: 108px;
    margin: 0 auto 35px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .form-panel { padding: 28px 19px; align-items: start; }
  .login-card { padding-top: 8px; }
  .mobile-brand { width: 180px; height: 92px; margin-bottom: 27px; }
  .login-card h2 { font-size: 32px; }
  .intro { margin-bottom: 25px; }
}
