:root {
    color-scheme: light;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }

.admin-login-page { min-height: 100vh; min-height: 100svh; background: #f8f9fb; color: #172338; }
.login-layout { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 55%) minmax(0, 45%); }

.login-showcase {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 780px;
    overflow: hidden;
    padding: clamp(30px, 3.6vw, 58px) clamp(36px, 5vw, 82px) 34px;
    background: radial-gradient(circle at 86% 69%, #294763 0, #192c42 31%, #111d2d 72%);
    color: #fff;
}
.login-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .38;
    background-image: linear-gradient(#dbe7f00a 1px, transparent 1px), linear-gradient(90deg, #dbe7f00a 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, transparent 0, #000 32%, #000 84%, transparent);
}
.login-showcase::after {
    content: "";
    position: absolute;
    width: 580px;
    height: 580px;
    right: -280px;
    bottom: -270px;
    z-index: -1;
    border-radius: 50%;
    background: #daa0491a;
    filter: blur(75px);
}
.showcase-brand, .mobile-brand { display: flex; align-items: center; gap: 11px; font-size: 23px; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
.showcase-brand img, .mobile-brand img { display: block; border-radius: 11px; box-shadow: 0 8px 20px #0003; }
.brand-accent { color: #f3ac4b; }
.brand-divider { width: 1px; height: 20px; margin: 0 6px 0 11px; background: #ffffff3b; }
.brand-descriptor { color: #aebccb; font-size: 12px; font-weight: 550; letter-spacing: 0; }

.showcase-content { width: min(100%, 730px); margin: auto 0; padding: 52px 0 34px; }
.showcase-eyebrow, .login-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.showcase-eyebrow { display: flex; align-items: center; gap: 10px; color: #f2b66b; }
.eyebrow-line { width: 22px; height: 1px; background: #f2b66b; }
.showcase-content h2 { max-width: 660px; margin: 20px 0 14px; font-size: clamp(38px, 3.55vw, 59px); font-weight: 750; letter-spacing: -.065em; line-height: 1.09; }
.showcase-description { max-width: 555px; margin: 0; color: #aebdcd; font-size: clamp(14px, 1.16vw, 16px); line-height: 1.65; }

.dashboard-scene { position: relative; width: min(100%, 620px); height: 314px; margin: 34px 0 0; }
.dashboard-window { display: flex; width: calc(100% - 34px); height: 272px; overflow: hidden; border: 1px solid #ffffff2c; border-radius: 16px; background: #f7f9fc; box-shadow: 0 27px 64px #06101e80, 0 0 0 6px #ffffff08; transform: rotate(-1.5deg); transform-origin: 50% 50%; }
.dashboard-rail { display: flex; flex-direction: column; align-items: center; gap: 17px; flex: 0 0 51px; padding-top: 17px; background: #19283a; color: #8195a9; }
.rail-mark { display: grid; grid-template-columns: repeat(2, 5px); gap: 2px; margin-bottom: 12px; transform: rotate(-14deg); }
.rail-mark span { width: 5px; height: 5px; border-radius: 1px; background: #f2ab49; }
.rail-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 7px; }
.rail-icon svg { width: 17px; height: 17px; }
.rail-icon.is-selected { background: #f3ac4b; color: #182536; }
.dashboard-main { min-width: 0; flex: 1; padding: 20px 23px 19px; }
.dashboard-topline { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.dashboard-topline > div { display: grid; gap: 5px; }
.dashboard-kicker { color: #9aa5b5; font-size: 8px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.dashboard-topline strong { font-size: 17px; letter-spacing: -.045em; }
.dashboard-date { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #e9edf2; border-radius: 6px; color: #6a788a; font-size: 9px; white-space: nowrap; }
.dashboard-date span { width: 5px; height: 5px; border-radius: 50%; background: #48aa7b; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.metric-card { position: relative; display: grid; gap: 4px; padding: 11px 13px; border: 1px solid #e9edf2; border-radius: 8px; background: #fff; }
.metric-card > span { color: #7e8b99; font-size: 10px; }
.metric-card strong { color: #1f2c3d; font-size: 20px; letter-spacing: -.05em; }
.metric-card i { position: absolute; right: 12px; bottom: 14px; color: #2e9e70; font-size: 9px; font-style: normal; font-weight: 700; }
.dashboard-chart { position: relative; height: 94px; margin-top: 10px; overflow: hidden; padding: 10px 13px 0; border: 1px solid #e9edf2; border-radius: 8px; background: #fff; }
.chart-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; }
.chart-heading div { display: grid; gap: 2px; }
.chart-heading span { color: #8693a1; font-size: 9px; }
.chart-heading strong { font-size: 11px; }
.chart-menu { letter-spacing: 2px; }
.chart-grid { position: absolute; inset: 41px 12px 10px; display: flex; flex-direction: column; justify-content: space-between; }
.chart-grid i { height: 1px; background: #edf0f4; }
.chart-bars { position: absolute; inset: 47px 20px 9px; display: flex; align-items: end; justify-content: space-around; gap: 9px; }
.chart-bars span { width: 9%; height: var(--bar-height); min-height: 8px; border-radius: 3px 3px 0 0; background: #b7c9db; }
.chart-bars span:nth-child(even) { background: #90aec9; }
.chart-bars span.is-current { background: #f3ac4b; }
.register-card { position: absolute; right: 0; bottom: 4px; display: flex; align-items: center; gap: 11px; width: 263px; min-height: 76px; padding: 12px; border: 1px solid #e7eaf0; border-radius: 11px; background: #fff; color: #233146; box-shadow: 0 18px 38px #07132366; transform: rotate(2deg); }
.register-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 9px; background: #fff1d9; color: #ba7a1f; }
.register-icon svg { width: 21px; height: 21px; }
.register-copy { display: grid; gap: 3px; }
.register-copy span { color: #8b97a5; font-size: 9px; }
.register-copy span i { display: inline-block; width: 5px; height: 5px; margin-left: 3px; border-radius: 50%; background: #45b082; }
.register-copy strong { font-size: 11px; white-space: nowrap; }
.register-copy small { color: #9aa5b0; font-size: 9px; }
.register-card b { margin-left: auto; font-size: 14px; letter-spacing: -.04em; white-space: nowrap; }
.showcase-features { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 12px; color: #c1ceda; font-size: 11px; font-weight: 600; }
.showcase-features i { width: 3px; height: 3px; border-radius: 50%; background: #e9a84e; }
.showcase-footer { display: flex; align-items: center; gap: 9px; color: #92a4b6; font-size: 11px; }
.footer-dot { width: 6px; height: 6px; border-radius: 50%; background: #efad52; box-shadow: 0 0 0 4px #efad5222; }

.login-panel { display: flex; flex-direction: column; min-width: 0; padding: 31px clamp(30px, 5.7vw, 92px) 27px; background: #fbfcfd; }
.login-languages { align-self: flex-end; display: flex; gap: 3px; padding: 4px; border: 1px solid #e8ecf1; border-radius: 10px; background: #f2f4f7; }
.login-language { padding: 8px 12px; border-radius: 7px; color: #7a8796; font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s, background .2s, box-shadow .2s; }
.login-language:hover { color: #172338; }
.login-language.is-active { background: #fff; color: #172338; box-shadow: 0 2px 7px #17233812; }
.login-form-wrap { width: min(100%, 390px); margin: auto; padding: 52px 0; }
.mobile-brand { display: none; }
.login-eyebrow { color: #b87822; }
.login-heading h1 { max-width: 380px; margin: 16px 0 12px; font-size: clamp(34px, 2.9vw, 44px); line-height: 1.12; letter-spacing: -.055em; }
.login-heading p { max-width: 375px; margin: 0; color: #778594; font-size: 14px; line-height: 1.7; }
.login-form { display: grid; gap: 22px; margin-top: 38px; }
.login-field label { display: block; margin-bottom: 9px; color: #263548; font-size: 12px; font-weight: 750; }
.login-field input { display: block; width: 100%; height: 53px; padding: 0 15px; border: 1px solid #dce3eb; border-radius: 9px; outline: none; background: #fff; color: #172338; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
.login-field input::placeholder { color: #a6b1bc; }
.login-field input:focus { border-color: #d39a48; box-shadow: 0 0 0 4px #efad5224; }
.password-input { position: relative; }
.password-input input { padding-right: 50px; }
.password-toggle { position: absolute; top: 50%; right: 7px; display: grid; place-items: center; width: 39px; height: 39px; transform: translateY(-50%); border: 0; border-radius: 7px; background: transparent; color: #8493a2; cursor: pointer; }
.password-toggle:hover { background: #f2f4f7; color: #172338; }
.password-toggle svg { width: 19px; height: 19px; }
.login-submit { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; margin-top: 5px; padding: 0 17px 0 19px; border: 0; border-radius: 9px; background: #eda940; color: #182432; box-shadow: 0 9px 18px #d5932c27; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.login-submit:hover { background: #f8b858; transform: translateY(-2px); box-shadow: 0 13px 22px #d5932c35; }
.login-submit:active { transform: translateY(0); }
.login-submit svg { width: 18px; height: 18px; }
.login-help { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 23px 0 0; color: #9aa6b2; font-size: 11px; text-align: center; }
.login-help::before { content: ""; width: 10px; height: 12px; border: 1.5px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor, currentColor) center 5px / 2px 3px no-repeat; }
.login-panel-footer { margin: 0; color: #a7b1bc; text-align: center; font-size: 11px; }
.login-language:focus-visible, .password-toggle:focus-visible, .login-submit:focus-visible { outline: 3px solid #d39742; outline-offset: 3px; }
.alert { margin: 24px 0 0; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.5; }
.alert.success { border: 1px solid #bbebcf; background: #edfbf2; color: #196d42; }
.alert.danger { border: 1px solid #f5c7c4; background: #fff3f2; color: #a4342b; }
.alert ul { margin: 0; padding-left: 18px; }

@media (max-width: 1100px) {
    .login-layout { grid-template-columns: minmax(0, 52%) minmax(0, 48%); }
    .login-showcase { padding-inline: 38px; }
    .showcase-content h2 { font-size: clamp(36px, 4vw, 48px); }
    .dashboard-scene { transform: scale(.93); transform-origin: left top; margin-bottom: -22px; }
    .login-panel { padding-inline: clamp(28px, 4vw, 52px); }
}
@media (max-width: 780px) {
    .login-layout { display: block; }
    .login-showcase { display: none; }
    .login-panel { min-height: 100vh; min-height: 100svh; padding: 24px clamp(22px, 6vw, 40px) 23px; }
    .login-form-wrap { padding: 50px 0 43px; }
    .mobile-brand { display: flex; margin-bottom: 55px; font-size: 23px; }
    .login-heading h1 { font-size: clamp(34px, 8vw, 42px); }
}
@media (max-width: 380px) {
    .login-form-wrap { padding-top: 34px; }
    .mobile-brand { margin-bottom: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
