/* Admin login — dark split layout (presentation only; form fields/route unchanged) */
.al-split {
  position: fixed; inset: 0; z-index: 20; overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 560px at 0% 0%, rgba(110, 72, 184, .55), transparent 60%),
    radial-gradient(800px 560px at 100% 100%, rgba(52, 186, 98, .45), transparent 62%),
    linear-gradient(135deg, #2c1656 0%, #231046 55%, #1d0d3b 100%);
}
.al-split *, .al-split *::before, .al-split *::after { box-sizing: border-box; }
.al-split h1, .al-split h2, .al-split p, .al-split label, .al-split input, .al-split button, .al-split a, .al-split li { font-family: inherit; }

.al-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 5vh, 48px) clamp(32px, 4.5vw, 64px); min-height: 100vh; }
.al-logo { display: block; width: clamp(130px, 11vw, 176px); height: auto; }
.al-pitch h1 { margin: 0 0 14px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: #fff; max-width: 600px; }
.al-pitch p { margin: 0 0 22px; max-width: 480px; font-size: clamp(14px, 1.05vw, 15px); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.al-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.al-points li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.al-check { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #34ba62; color: #fff; flex-shrink: 0; }
.al-foot { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); }

.al-form-wrap { display: flex; align-items: center; justify-content: center; padding: 28px clamp(24px, 4vw, 64px) 28px 16px; }
.al-card { width: 100%; max-width: 460px; background: #fff; color: #3b4256; border-radius: 22px; padding: 34px 36px; box-shadow: 0 24px 60px rgba(8, 3, 24, .45); }
.al-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #f1eef8; color: #3d2a67; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.al-card h2 { margin: 16px 0 6px; font-size: 25px; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; color: #1f2433; }
.al-sub { margin: 0 0 22px; font-size: 14px; color: #6b7388; }

.al-field { margin-bottom: 16px; }
.al-field label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3b4256; }
.al-input { display: block; width: 100%; height: 50px; padding: 0 16px; font-size: 14px; color: #1f2433; background: #fff; border: 1px solid #d9dde8; border-radius: 12px; outline: 0; transition: border-color .15s, box-shadow .15s; }
.al-input::placeholder { color: #9aa1b4; }
.al-input:focus { border-color: #34ba62; box-shadow: 0 0 0 3px rgba(52, 186, 98, .25); }
.al-input.is-invalid { border-color: #e5484d; }
.al-pass { position: relative; }
.al-pass .al-input { padding-right: 48px; }
.al-eye { position: absolute; top: 0; right: 4px; width: 42px; height: 50px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: #3b4256; cursor: pointer; border-radius: 10px; }
.al-eye:hover { color: #3d2a67; }
.al-eye[aria-pressed="true"] { color: #34ba62; }
.al-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: #e5484d; }

.al-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 2px 0 20px; }
.al-split .al-remember, .al-split .al-remember span { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #3b4256; cursor: pointer; }
.al-remember input { width: 18px; height: 18px; margin: 0; accent-color: #34ba62; cursor: pointer; }
.al-link { font-size: 14px; font-weight: 700; color: #3d2a67; text-decoration: none; }
.al-link:hover { color: #2a9a50; text-decoration: underline; }
.al-submit { display: block; width: 100%; height: 52px; font-size: 16px; font-weight: 700; color: #fff; background: #34ba62; border: 0; border-radius: 12px; cursor: pointer; box-shadow: 0 6px 18px rgba(52, 186, 98, .35); transition: background .15s, transform .15s, box-shadow .15s; }
.al-submit:hover { background: #2a9a50; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(52, 186, 98, .4); }
.al-submit:focus-visible, .al-link:focus-visible, .al-eye:focus-visible { outline: 3px solid rgba(61, 42, 103, .4); outline-offset: 2px; }

.al-card .alert { margin: 0 0 20px; border-radius: 12px; font-size: 14px; }

@media (min-width: 992px) and (max-height: 760px) {
  .al-brand { gap: 18px; }
  .al-logo { width: 120px; }
  .al-pitch h1 { margin-bottom: 10px; }
  .al-pitch p { margin-bottom: 16px; }
  .al-points { gap: 9px; }
  .al-card { padding: 28px 32px; }
  .al-card h2 { margin-top: 12px; }
  .al-sub { margin-bottom: 16px; }
  .al-field { margin-bottom: 12px; }
  .al-input, .al-eye { height: 46px; }
  .al-submit { height: 48px; }
}
@media (max-width: 991px) {
  .al-split { grid-template-columns: 1fr; }
  .al-brand { min-height: auto; padding: 32px 28px 8px; gap: 24px; }
  .al-logo { width: 120px; }
  .al-pitch h1 { font-size: 34px; margin-bottom: 12px; }
  .al-pitch p { font-size: 17px; margin-bottom: 20px; }
  .al-points { display: none; }
  .al-foot { display: none; }
  .al-form-wrap { padding: 20px 20px 40px; }
  .al-card { max-width: 560px; }
}
@media (max-width: 575px) {
  .al-brand { padding: 24px 20px 4px; }
  .al-pitch h1 { font-size: 28px; }
  .al-form-wrap { padding: 16px 14px 28px; }
  .al-card { padding: 28px 22px; border-radius: 22px; }
  .al-card h2 { font-size: 26px; }
  .al-input { height: 48px; font-size: 16px; }
  .al-eye { height: 48px; }
  .al-submit { height: 50px; }
}

/* Large desktop (>=1700x800): roomier proportions — centered 1600px container, 525px card */
@media (min-width: 1700px) and (min-height: 800px) {
  .al-split { padding-left: max(64px, calc((100% - 1600px) / 2)); padding-right: max(64px, calc((100% - 1600px) / 2)); grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .al-brand { padding: 50px 0 54px; gap: 32px; }
  .al-logo { width: 165px; }
  .al-pitch h1 { font-size: 40px; margin-bottom: 14px; max-width: 520px; }
  .al-pitch p { font-size: 15.5px; margin-bottom: 24px; max-width: 560px; }
  .al-points { gap: 10px; }
  .al-points li { font-size: 14.5px; gap: 14px; }
  .al-foot { font-size: 14px; }
  .al-form-wrap { padding: 0; }
  .al-card { max-width: 525px; padding: 40px; border-radius: 24px; }
  .al-badge { padding: 6px 14px; font-size: 11px; }
  .al-card h2 { margin: 20px 0 8px; font-size: 26px; }
  .al-sub { margin-bottom: 22px; font-size: 14px; }
  .al-field { margin-bottom: 18px; }
  .al-field label { margin-bottom: 8px; }
  .al-input { height: 52px; font-size: 14.5px; padding: 0 16px; border-radius: 10px; }
  .al-pass .al-input { padding-right: 52px; }
  .al-eye { height: 52px; width: 44px; }
  .al-row { margin: 4px 0 22px; }
  .al-split .al-remember, .al-split .al-remember span { font-size: 14px; gap: 10px; }
  .al-remember input { width: 22px; height: 22px; }
  .al-link { font-size: 14px; }
  .al-submit { height: 54px; font-size: 15.5px; border-radius: 10px; }
}

/* Password pages: back link + submit spacing */
.al-back { margin: 18px 0 0; text-align: center; }
.al-card > .alert-success, .al-card > .alert-danger, .al-card > .alert-warning { border-radius: 12px; }
.al-card .box, .al-card .box-tools { margin: 0; padding: 0; }
.al-card .alert ul { margin: 0; padding-left: 18px; }
.al-card .alert .close { float: right; background: none; border: 0; font-size: 20px; line-height: 1; color: inherit; cursor: pointer; }
