/* Rental Kendaraan — single stylesheet, no build step, no framework.
   Values are grouped as design tokens so the theme can be changed in one place. */

:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --border: #e3e8f0;
  --text: #16202e;
  --muted: #6b7a90;

  --primary: #1f5fd4;
  --primary-dark: #17479e;
  --danger: #c92a2a;
  --amber: #b45309;
  --green: #0f7b46;
  --blue: #1d4ed8;
  --slate: #55617a;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
  --container: 1140px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }

code { font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace; font-size: .9em; }
small { font-size: .82em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.block { display: block; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.center { justify-content: center; }

/* ---------- top bar ---------- */

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  letter-spacing: .5px;
}

.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav > a { padding: 7px 11px; border-radius: var(--radius-sm); color: var(--text); font-weight: 500; }
.nav > a:hover { background: var(--bg); text-decoration: none; }
.nav > a.is-active { background: #e8effc; color: var(--primary-dark); }

.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-left: 4px;
}

.avatar {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #e8effc;
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
}

.user-name { font-weight: 600; font-size: .9rem; }

/* ---------- layout ---------- */

.main { padding: 28px 20px 64px; }
.section { margin-top: 36px; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}

.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; }

.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: .9rem; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.detail-main { display: grid; gap: 20px; }
.detail-aside { display: grid; gap: 20px; position: sticky; top: 88px; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body { padding: 18px; }
.card-title { margin: 0 0 10px; }
.card-meta { color: var(--muted); font-size: .88rem; margin: 0 0 4px; }

.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px;
}

/* ---------- vehicle cards ---------- */

.vehicle-card { display: flex; flex-direction: column; }
.vehicle-card .card-body { display: flex; flex-direction: column; flex: 1; }
.vehicle-card .card-foot { margin-top: auto; }

.vehicle-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef3fb, #dfe8f7);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.vehicle-media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-media-lg { aspect-ratio: 16 / 8; }

.vehicle-media > .badge { position: absolute; top: 10px; right: 10px; }

.vehicle-placeholder {
  font-size: 2rem;
  font-weight: 700;
  color: #9db1d0;
  letter-spacing: 2px;
}

.plate {
  display: inline-block;
  margin: 6px 0 0;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .8rem;
  background: #fff;
}

.price { font-weight: 700; font-size: 1.05rem; }
.price small { color: var(--muted); font-weight: 500; }
.price-lg { font-size: 1.6rem; }
.price-block { margin-bottom: 14px; }

/* ---------- badges ---------- */

.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
}

.badge-green { background: #e3f6ec; color: var(--green); }
.badge-amber { background: #fdf0d9; color: var(--amber); }
.badge-blue  { background: #e6edfd; color: var(--blue); }
.badge-red   { background: #fdeaea; color: var(--danger); }
.badge-slate { background: #eef1f6; color: var(--slate); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  background: #eef1f6;
  color: var(--text);
  transition: background .12s ease, border-color .12s ease;
}

.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); filter: none; }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg); filter: none; }

.btn-danger { background: var(--danger); color: #fff; }

.btn-sm { padding: 5px 10px; font-size: .82rem; }
.btn-block { width: 100%; }

.action-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.inline-form { display: inline; }

/* ---------- forms ---------- */

.field { display: block; margin-bottom: 14px; }
.field > span { display: block; margin-bottom: 5px; font-weight: 600; font-size: .86rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #bcd2f7;
  outline-offset: 0;
  border-color: var(--primary);
}

.field input:disabled { background: #f2f4f8; color: var(--muted); }
.field textarea { resize: vertical; }

.hint { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }

.checkbox { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; }
.checkbox input { width: 16px; height: 16px; }

.form-card { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field-wide { grid-column: 1 / -1; }

.filters { padding: 0; margin-bottom: 22px; }
.filters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 16px;
  align-items: end;
  padding: 16px 18px;
}
.filters-actions { display: flex; gap: 8px; margin-bottom: 14px; }
.filters .field { margin-bottom: 0; }

/* ---------- alerts ---------- */

.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  margin-bottom: 18px;
  font-size: .92rem;
}

.alert-success { background: #e6f7ee; border-color: #b7e6cd; color: #0b5c36; }
.alert-error   { background: #fdeaea; border-color: #f4c2c2; color: #9b1c1c; }

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(135deg, #1f5fd4, #17479e 60%, #123a80);
  color: #fff;
  border-radius: 18px;
  padding: 44px 32px;
  margin-bottom: 26px;
}

.hero h1 { font-size: 2.1rem; margin-bottom: 10px; }
.hero-sub { max-width: 60ch; color: #d7e3fa; margin: 0 0 24px; }

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  padding: 12px;
  border-radius: var(--radius);
}

.hero-search input,
.hero-search select {
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .95rem;
  background: #fff;
  color: var(--text);
  width: 100%;
}

.hero-search .btn { padding: 11px 20px; background: #0d2f6d; color: #fff; }
.hero-search .btn:hover { background: #0a2455; }

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow);
}

.stat-link { color: inherit; }
.stat-link:hover { text-decoration: none; border-color: var(--primary); }
.stat-value { font-size: 1.55rem; font-weight: 700; }
.stat-label { color: var(--muted); font-size: .84rem; }
.stats-sm { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stats-sm .stat-value { font-size: 1.25rem; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; padding: 0; }
.table-wrap.card { border-radius: var(--radius); }

.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { background: #fafbfd; font-size: .78rem; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfd; }
.table td .inline-form + .inline-form { margin-left: 6px; }

/* ---------- booking rows ---------- */

.booking-list { display: grid; gap: 12px; }

.booking-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; flex-wrap: wrap; }
.booking-row-main h3 { margin: 6px 0 4px; }
.booking-row-main p { margin: 0; font-size: .88rem; }
.booking-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.booking-code { font-family: ui-monospace, Menlo, monospace; font-weight: 600; margin-right: 8px; }
.booking-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.booking-head h1 { margin: 0; font-size: 1.4rem; }

/* ---------- specs ---------- */

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 0; }
.specs-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.specs > div { border-top: 1px solid var(--border); padding-top: 8px; }
.specs dt { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.specs dd { margin: 0; font-weight: 600; font-size: .92rem; }

.kv-list { list-style: none; margin: 0; padding: 0; }
.kv-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); }
.kv-list li:last-child { border-bottom: 0; }

.range-list { list-style: none; margin: 12px 0 0; padding: 0; }
.range-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.range-list li:last-child { border-bottom: 0; }

.description { margin: 16px 0 0; color: #33415c; white-space: pre-line; }

/* ---------- auth ---------- */

.auth-wrap { display: grid; place-items: start center; padding: 32px 0; }
.auth-card { width: 100%; max-width: 430px; }
.auth-title { margin-bottom: 4px; }
.auth-alt { text-align: center; margin: 16px 0 0; font-size: .9rem; color: var(--muted); }

.demo-hint {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: #fafbfd;
  font-size: .82rem;
  display: grid;
  gap: 3px;
}
.demo-hint span { color: var(--muted); }

/* ---------- notices & empty states ---------- */

.notice { margin: 0; padding: 12px; background: #f4f7fc; border-radius: var(--radius-sm); font-size: .9rem; }
.empty { color: var(--muted); padding: 22px 0; }

.empty-state {
  text-align: center;
  padding: 52px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.empty-state h2 { margin-bottom: 6px; }
.empty-state .btn { margin-top: 14px; }
.error-state { border-style: solid; }
.error-code { font-size: 3.2rem; color: var(--primary); margin: 0; line-height: 1; }

/* ---------- pagination ---------- */

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

.page-link {
  min-width: 38px;
  padding: 7px 11px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: .88rem;
  font-weight: 500;
}
.page-link:hover { text-decoration: none; border-color: var(--primary); }
.page-link.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-link.is-disabled { color: #b8c1d1; pointer-events: none; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 18px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { position: static; }
  .filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 660px) {
  .grid-2, .grid-3, .form-grid, .filters-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 30px 20px; }
  .hero h1 { font-size: 1.6rem; }
  .user-name { display: none; }
  .booking-row-side { align-items: flex-start; }
}

/* ---------- rental landing page ---------- */

:root {
  --bg: #f7f8f5;
  --text: #17231d;
  --muted: #728078;
  --primary: #1f6048;
  --primary-dark: #174b37;
  --border: #e5e9e3;
}

.main:has(.rental-hero) { max-width: 1240px; padding-top: 48px; padding-bottom: 76px; }
.rental-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(36px, 6vw, 82px); min-height: 435px; }
.rental-hero-copy { padding: 10px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #527063; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; background: #d9ac39; border-radius: 50%; box-shadow: 0 0 0 4px #f1e8c9; }
.rental-hero h1 { margin: 22px 0 15px; font-size: clamp(2.7rem, 4.4vw, 4rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 800; }
.rental-hero h1 span { color: #397b5c; }
.rental-hero-sub { max-width: 45ch; margin: 0 0 25px; color: #68766e; font-size: 1.02rem; line-height: 1.75; }
.rental-search { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .95fr); gap: 9px; max-width: 570px; }
.search-field { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #e0e5df; border-radius: 9px; background: #fff; }
.search-icon { color: #73877a; font-size: 1.2rem; }
.search-field input, .search-field select { width: 100%; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: .87rem; }
.search-field input:focus, .search-field select:focus { outline: none; }
.rental-search .btn { grid-column: 1 / -1; justify-self: start; padding: 12px 19px; margin-top: 2px; }
.hero-assurance { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; color: #768279; font-size: .76rem; }
.hero-assurance i { width: 3px; height: 3px; border-radius: 50%; background: #b8c3ba; }
.assurance-check { display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #e2eee6; color: #347354; font-size: .7rem; font-style: normal; font-weight: 700; }
.rental-hero-visual { min-height: 385px; position: relative; border-radius: 20px; overflow: hidden; background: #dce9d8; box-shadow: 0 22px 54px rgba(34, 64, 44, .13); }
.rental-hero-visual > img { display: block; width: 100%; height: 100%; min-height: 385px; object-fit: cover; }
.visual-note { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; border: 1px solid rgba(255,255,255,.72); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(29,48,34,.12); }
.visual-note-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #e9f1e7; color: #347354; font-size: 1.25rem; }
.visual-note strong, .visual-note small { display: block; }
.visual-note strong { font-size: .84rem; }
.visual-note small { margin-top: 2px; color: #758078; font-size: .72rem; }
.visual-tag { position: absolute; top: 17px; right: 17px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(23,35,29,.26); color: #fff; font-size: .64rem; font-weight: 700; letter-spacing: .13em; }
.rental-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 47px 0 58px; }
.rental-stats .stat { position: relative; min-height: 119px; padding: 17px 18px 14px 58px; border-color: #e9ece6; box-shadow: 0 4px 14px rgba(31,49,37,.035); }
.stat-icon { position: absolute; top: 19px; left: 17px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: #edf3eb; color: #397b5c; font-size: .9rem; font-weight: 700; }
.rental-stats .stat-value { font-size: 1.42rem; line-height: 1.5; }
.rental-stats .stat-value small { color: #397b5c; }
.rental-stats .stat-label { font-size: .77rem; }
.rental-stats .stat-cta { color: var(--text); transition: border-color .15s, transform .15s; }
.rental-stats .stat-cta:hover { border-color: #b8d0bf; text-decoration: none; transform: translateY(-2px); }
.rental-stats .stat-cta .stat-value { font-size: 1.02rem; margin-top: 3px; }
.featured-section { margin-top: 0; }
.featured-section .section-head { align-items: end; margin-bottom: 20px; }
.featured-section .section-head h2 { margin: 5px 0 4px; font-size: 1.65rem; letter-spacing: -.035em; }
.featured-section .section-head p { margin: 0; font-size: .87rem; }
.featured-section .section-head .link { color: #347354; font-size: .87rem; font-weight: 650; }
.vehicle-media { color: inherit; text-decoration: none; }
.vehicle-media .badge { position: absolute; top: 12px; right: 12px; }
.vehicle-category { display: inline-block; margin-bottom: 5px; color: #56806a; font-size: .69rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vehicle-card { border-color: #e8ebe6; box-shadow: 0 4px 18px rgba(31,49,37,.045); }
.vehicle-card .card-body { padding: 17px 18px 18px; }
.vehicle-card .card-title { margin-bottom: 6px; }
.vehicle-card .card-foot { border-top: 1px solid #eef0ec; padding-top: 13px; margin-top: 13px; }
.vehicle-card .btn-primary { background: #1f6048; }
.vehicle-card .price { font-size: .98rem; }
.vehicle-card .price small { display: block; font-size: .72rem; }

@media (max-width: 850px) {
  .main:has(.rental-hero) { padding-top: 32px; }
  .rental-hero { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .rental-hero-copy { max-width: 650px; }
  .rental-hero-visual, .rental-hero-visual > img { min-height: 330px; }
  .rental-stats { margin: 30px 0 45px; }
}
@media (max-width: 600px) {
  .main:has(.rental-hero) { padding: 25px 18px 48px; }
  .rental-hero h1 { font-size: 2.55rem; }
  .rental-search { grid-template-columns: minmax(0, 1fr); }
  .rental-search .btn { grid-column: auto; width: 100%; }
  .hero-assurance { gap: 7px; font-size: .69rem; }
  .rental-hero-visual, .rental-hero-visual > img { min-height: 260px; }
  .visual-note { left: 12px; bottom: 12px; }
  .rental-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 24px 0 40px; }
  .rental-stats .stat { min-height: 106px; padding: 15px 10px 12px 48px; }
  .rental-stats .stat-icon { left: 11px; top: 16px; }
  .featured-section .section-head { align-items: start; }
  .featured-section .section-head .link { white-space: nowrap; padding-top: 24px; font-size: .76rem; }
}

/* ---------- dedicated rental login ---------- */

.login-page { min-height: 100vh; overflow-x: hidden; background: #edf4ef; }
.login-page::before, .login-page::after { content: ""; position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; }
.login-page::before { width: 300px; height: 300px; top: -195px; left: -190px; background: #e4f2c4; }
.login-page::after { width: 250px; height: 250px; right: -168px; bottom: -190px; background: #d7eeee; }
.login-shell { position: relative; z-index: 1; display: grid; align-content: center; min-height: 100vh; width: 100%; max-width: 1120px; margin: 0 auto; padding: 44px 24px; }
.login-shell > .alert { width: min(100%, 1024px); margin: 0 auto 14px; }
.login-card { display: grid; grid-template-columns: 1.04fr .96fr; width: 100%; min-height: 600px; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(34, 67, 49, .12); }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 48px; color: #fff; background: #194936; }
.login-brand { z-index: 1; display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; color: #fff; }
.login-brand:hover { text-decoration: none; }
.login-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #e9bb3e; color: #244936; font-weight: 800; }
.login-brand strong, .login-brand small { display: block; }
.login-brand strong { font-size: .98rem; }
.login-brand small { margin-top: 2px; color: #b8d0c1; font-size: .72rem; }
.login-story-copy { position: relative; z-index: 1; max-width: 420px; margin-top: 50px; }
.login-kicker { display: block; color: #548169; font-size: .69rem; font-weight: 800; letter-spacing: .15em; }
.login-story .login-kicker { color: #c4d9a1; }
.login-story-copy h1 { margin: 13px 0 15px; font-size: clamp(2.35rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.05em; }
.login-story-copy p { max-width: 39ch; margin: 0; color: #c1d4c8; font-size: .95rem; line-height: 1.8; }
.login-story-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; color: #c1d4c8; font-size: .79rem; }
.login-story-foot span { color: #e9bb3e; font-size: 1.1rem; }
.login-orbit { position: absolute; display: block; border: 1px solid rgba(213, 234, 215, .11); border-radius: 50%; }
.login-orbit-one { width: 490px; height: 490px; right: -270px; top: 110px; }
.login-orbit-two { width: 340px; height: 340px; right: -196px; top: 185px; background: rgba(255,255,255,.018); }
.login-form-panel { display: grid; place-items: center; padding: 55px clamp(36px, 5vw, 68px); }
.login-form-inner { width: 100%; max-width: 380px; }
.login-form-inner h2 { margin: 8px 0 5px; font-size: 1.8rem; letter-spacing: -.045em; }
.login-intro { margin: 0 0 29px; color: #78847c; font-size: .87rem; }
.login-form { display: grid; gap: 17px; }
.login-field { display: grid; gap: 7px; color: #273a2e; font-size: .78rem; font-weight: 650; }
.login-input-wrap { display: flex; align-items: center; gap: 11px; height: 51px; padding: 0 13px; border: 1px solid #dfe7dc; border-radius: 10px; background: #fffde0; color: #819084; transition: border-color .15s, box-shadow .15s; }
.login-input-wrap:focus-within { border-color: #619073; box-shadow: 0 0 0 3px rgba(59, 119, 83, .12); }
.login-field-icon { flex: none; font-size: .95rem; }
.login-input-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #24372c; font: inherit; font-size: .86rem; font-weight: 400; }
.login-input-wrap input::placeholder { color: #9ca69d; }
.login-submit { justify-content: space-between; height: 50px; margin-top: 7px; padding: 0 17px; border-radius: 10px; background: #1d503a; box-shadow: 0 8px 16px rgba(29, 80, 58, .17); font-size: .88rem; }
.login-submit:hover { background: #17432f; }
.login-submit span { font-size: 1.1rem; }
.login-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 27px; color: #47765a; font-size: .78rem; font-weight: 650; }
.login-back:hover { color: #194936; }
.login-demo-hint { margin-top: 25px; }

@media (max-width: 760px) {
  .login-shell { align-content: start; padding: 22px 16px; }
  .login-card { grid-template-columns: 1fr; min-height: 0; border-radius: 19px; }
  .login-story { min-height: 230px; padding: 26px; }
  .login-brand-mark { width: 37px; height: 37px; }
  .login-story-copy { margin-top: 38px; }
  .login-story-copy h1 { font-size: 2rem; }
  .login-story-copy p { font-size: .85rem; }
  .login-story-foot { margin-top: 30px; }
  .login-orbit-one { width: 300px; height: 300px; right: -150px; top: 18px; }
  .login-orbit-two { width: 215px; height: 215px; right: -110px; top: 60px; }
  .login-form-panel { padding: 34px 26px 37px; }
}
