html,
body {
    direction: rtl;
    text-align: right;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef4ff 0%, #ffffff 55%, #f6f7fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: var(--dashboard-font-family) !important;
}

.login-shell {
    width: 100%;
    max-width: 430px;
}

.login-card {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    overflow: hidden;
    font-family: var(--dashboard-font-family) !important;
}

.login-header {
    background: #0d6efd;
    color: #fff;
    padding: 26px 24px;
    text-align: center;
}

    .login-header .icon-box {
        width: 58px;
        height: 58px;
        margin: 0 auto 12px;
        border-radius: 18px;
        background: rgba(255,255,255,.16);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
    }

.login-body {
    padding: 28px;
    background: #fff;
}

    .login-body label,
    .login-body .form-label,
    .login-body .form-check-label {
        text-align: right;
        width: 100%;
    }

.form-control {
    min-height: 44px;
    text-align: right;
    direction: rtl;
    font-family: var(--dashboard-font-family) !important;
}

    .form-control::placeholder {
        text-align: right;
        direction: rtl;
    }

.input-group {
    direction: ltr;
}

    .input-group > .form-control {
        direction: rtl;
        text-align: right;
        border-top-left-radius: .375rem !important;
        border-bottom-left-radius: .375rem !important;
    }

.input-group-text {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
}

.form-check {
    padding-right: 1.5em;
    padding-left: 0;
    text-align: right;
}

    .form-check .form-check-input {
        float: right;
        margin-right: -1.5em;
        margin-left: 0;
    }

.btn {
    font-family: var(--dashboard-font-family) !important;
}

.text-danger,
.validation-summary-errors {
    text-align: right;
}

/* 2026-06-04: Login page visual background and dark theme */
body {
    position: relative;
    overflow: hidden;
    background-color: #eef4ff;
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.22)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
    background-size: cover;
    background-position: center;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(4px);
    opacity: .9;
}

body::before {
    width: 280px;
    height: 280px;
    right: -70px;
    top: -70px;
    background: rgba(13, 110, 253, .13);
}

body::after {
    width: 360px;
    height: 360px;
    left: -110px;
    bottom: -120px;
    background: rgba(20, 184, 166, .12);
}

.login-shell {
    position: relative;
    z-index: 1;
}

.login-card {
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    backdrop-filter: blur(12px);
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-color: #0f172a;
    background-image:
        linear-gradient(135deg, rgba(15,23,42,.78), rgba(2,6,23,.70)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
    color: #e5e7eb;
}

html.dark-mode .login-card,
html[data-theme="dark"] .login-card {
    background: rgba(17, 24, 39, .92);
    border: 1px solid rgba(148, 163, 184, .28);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

html.dark-mode .login-header,
html[data-theme="dark"] .login-header {
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    color: #f8fafc;
}

html.dark-mode .login-body,
html[data-theme="dark"] .login-body {
    background: #111827;
    color: #e5e7eb;
}

html.dark-mode .login-body label,
html.dark-mode .login-body .form-label,
html.dark-mode .login-body .form-check-label,
html[data-theme="dark"] .login-body label,
html[data-theme="dark"] .login-body .form-label,
html[data-theme="dark"] .login-body .form-check-label {
    color: #e5e7eb;
}

html.dark-mode .form-control,
html[data-theme="dark"] .form-control {
    background: #0b1220;
    border-color: rgba(148, 163, 184, .35);
    color: #f8fafc;
}

html.dark-mode .form-control:focus,
html[data-theme="dark"] .form-control:focus {
    background: #0b1220;
    color: #f8fafc;
    border-color: #60a5fa;
    box-shadow: 0 0 0 .2rem rgba(96, 165, 250, .18);
}

html.dark-mode .input-group-text,
html[data-theme="dark"] .input-group-text {
    background: #162032;
    color: #cbd5e1;
    border-color: rgba(148, 163, 184, .35);
}

/* 2026-06-04: Refine login header and RTL input icons */
.login-card {
    background: rgba(255, 255, 255, .88);
}

.login-header {
    background: rgba(255, 255, 255, .22);
    color: #0f172a;
    padding: 30px 24px 22px;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.login-header .icon-box {
    background: rgba(13, 110, 253, .10);
    color: #0d6efd;
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, .14);
}

.login-header .small {
    color: #475569;
    opacity: 1 !important;
}

.input-group {
    direction: rtl !important;
    flex-direction: row;
}

.input-group > .input-group-text {
    order: 0;
}

.input-group > .form-control {
    order: 1;
}

.input-group > .form-control {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: .375rem !important;
    border-bottom-left-radius: .375rem !important;
}

.input-group > .input-group-text {
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    min-width: 44px;
    justify-content: center;
}

html.dark-mode .login-header,
html[data-theme="dark"] .login-header {
    background: rgba(15, 23, 42, .72);
    color: #f8fafc;
    border-bottom: 1px solid rgba(148, 163, 184, .22);
}

html.dark-mode .login-header .icon-box,
html[data-theme="dark"] .login-header .icon-box {
    background: rgba(96, 165, 250, .14);
    color: #bfdbfe;
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .22);
}

html.dark-mode .login-header .small,
html[data-theme="dark"] .login-header .small {
    color: #cbd5e1;
}

/* 2026-06-04: Final login RTL input icon and random background support */
body {
    --login-bg-url: url('/images/backgrounds/login-background.svg');
}

.login-body .input-group {
    direction: rtl !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
}

.login-body .input-group > .input-group-text {
    order: 0 !important;
    border-top-right-radius: .375rem !important;
    border-bottom-right-radius: .375rem !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-left: 0;
}

.login-body .input-group > .form-control {
    order: 1 !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: .375rem !important;
    border-bottom-left-radius: .375rem !important;
    border-right: 1px solid var(--bs-border-color);
}

html.dark-mode .login-body .input-group > .form-control,
html[data-theme="dark"] .login-body .input-group > .form-control {
    border-right-color: rgba(148, 163, 184, .35);
}

/* 2026-06-09: Split landing style login inspired by two-panel concept, keeping project colors */
.login-split-shell {
    max-width: 980px;
}

.login-split-card {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
    min-height: 560px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, .90);
}

.login-visual-panel {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    padding: 62px 58px;
    color: #fff;
    background-image:
        linear-gradient(135deg, rgba(13,110,253,.92), rgba(111,66,193,.82) 55%, rgba(20,184,166,.72)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
    background-size: cover;
    background-position: center;
    direction: rtl;
}

.login-visual-content {
    position: relative;
    z-index: 2;
    max-width: 470px;
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 56px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.24);
    backdrop-filter: blur(8px);
    font-weight: 700;
}

.login-company-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    transform-origin: center;
    will-change: transform, filter, opacity;
    animation: login-logo-awaken 3.8s ease-in-out infinite;
    transition:
        transform .35s cubic-bezier(.2, .8, .2, 1),
        filter .35s ease,
        opacity .35s ease;
}

.login-brand-badge {
    position: relative;
    isolation: isolate;
    overflow: visible;
    cursor: default;
    transition:
        background-color .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.login-brand-badge::before {
    content: "";
    position: absolute;
    width: 58px;
    height: 58px;
    right: 4px;
    top: 50%;
    z-index: 0;
    border-radius: 50%;
    opacity: .42;
    pointer-events: none;
    transform: translateY(-50%) scale(.72);
    background: radial-gradient(circle, rgba(125, 211, 252, .78) 0%, rgba(167, 139, 250, .40) 42%, transparent 72%);
    filter: blur(7px);
    animation: login-logo-aura 3.8s ease-in-out infinite;
    transition: opacity .35s ease, transform .35s ease, filter .35s ease;
}

.login-brand-badge:hover {
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .42);
    box-shadow: 0 12px 32px rgba(30, 64, 175, .22);
}

.login-brand-badge:hover::before {
    opacity: .9;
    transform: translateY(-50%) scale(1.12);
    filter: blur(9px);
}

.login-brand-badge:hover .login-company-logo {
    transform: scale(1.22) rotate(-2deg);
    opacity: 1;
    filter:
        brightness(1.22)
        saturate(1.18)
        drop-shadow(0 0 7px rgba(125, 211, 252, .95))
        drop-shadow(0 0 16px rgba(167, 139, 250, .72));
    animation-play-state: paused;
}

@keyframes login-logo-awaken {
    0%,
    100% {
        opacity: .72;
        transform: scale(.94);
        filter: brightness(.88) saturate(.9) drop-shadow(0 0 0 transparent);
    }

    45%,
    60% {
        opacity: 1;
        transform: scale(1.04);
        filter:
            brightness(1.18)
            saturate(1.12)
            drop-shadow(0 0 7px rgba(125, 211, 252, .88))
            drop-shadow(0 0 13px rgba(167, 139, 250, .52));
    }
}

@keyframes login-logo-aura {
    0%,
    100% {
        opacity: .18;
        transform: translateY(-50%) scale(.68);
    }

    50% {
        opacity: .62;
        transform: translateY(-50%) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-company-logo,
    .login-brand-badge::before {
        animation: none !important;
    }

    .login-company-logo,
    .login-brand-badge,
    .login-brand-badge::before {
        transition-duration: .01ms !important;
    }
}

.login-visual-panel h1 {
    margin: 0 0 14px;
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    font-weight: 900;
    letter-spacing: -.04em;
}

.login-visual-panel p {
    max-width: 390px;
    margin: 0;
    line-height: 1.9;
    font-size: 1.02rem;
    color: rgba(255,255,255,.86);
}

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,.96);
}

.login-form-panel .login-header {
    padding: 0 42px 18px;
    background: transparent;
    border-bottom: 0;
}

.login-form-panel .login-body {
    padding: 0 42px 42px;
    background: transparent;
}

.login-form-panel .form-label {
    font-size: .86rem;
    color: #475569;
    margin-bottom: .45rem;
}

.login-form-panel .input-group-text,
.login-form-panel .form-control {
    border-color: transparent;
    background: #f1f5ff;
}

.login-form-panel .form-control:focus {
    background: #fff;
    border-color: rgba(13,110,253,.36);
    box-shadow: 0 0 0 .22rem rgba(13,110,253,.10);
}

.login-form-panel .btn-primary {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    box-shadow: 0 14px 30px rgba(13,110,253,.24);
}

.login-shape,
.login-line {
    position: absolute;
    display: block;
    pointer-events: none;
    z-index: 1;
}

.login-shape {
    width: 190px;
    height: 44px;
    border-radius: 999px;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, rgba(255,151,89,.95), rgba(236,72,153,.62));
    box-shadow: 0 18px 35px rgba(15,23,42,.16);
}

.login-shape-one { right: -35px; bottom: 44px; }
.login-shape-two { left: 68px; bottom: 82px; width: 168px; }
.login-shape-three { left: 205px; top: 165px; width: 120px; opacity: .36; }

.login-line {
    width: 125px;
    height: 5px;
    border-radius: 999px;
    transform: rotate(-45deg);
    background: rgba(255,184,107,.92);
}
.login-line-one { right: 95px; bottom: 128px; }
.login-line-two { left: 230px; bottom: 95px; width: 94px; }
.login-line-three { left: 155px; bottom: 176px; width: 130px; opacity: .70; }

html.dark-mode .login-split-card,
html[data-theme="dark"] .login-split-card {
    background: rgba(15,23,42,.93);
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel {
    background: rgba(17,24,39,.97);
}

html.dark-mode .login-form-panel .input-group-text,
html.dark-mode .login-form-panel .form-control,
html[data-theme="dark"] .login-form-panel .input-group-text,
html[data-theme="dark"] .login-form-panel .form-control {
    background: #0b1220;
    border-color: rgba(148,163,184,.22);
}

@media (max-width: 860px) {
    body { overflow: auto; }
    .login-split-card { grid-template-columns: 1fr; }
    .login-visual-panel { min-height: 230px; padding: 34px 30px; }
    .login-brand-badge { margin-bottom: 28px; }
    .login-form-panel .login-header { padding: 28px 28px 16px; }
    .login-form-panel .login-body { padding: 0 28px 32px; }
}

/* 2026-06-09: Executive, low-radius login refinement requested by user */
body {
    background-color: #eef1f5;
    background-image:
        linear-gradient(135deg, rgba(248,250,252,.88), rgba(241,245,249,.78)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
}

body::before,
body::after,
.login-shape,
.login-line {
    display: none !important;
}

.login-card,
.login-split-card,
.login-brand-badge,
.login-header .icon-box,
.form-control,
.input-group-text,
.btn,
.alert {
    border-radius: 4px !important;
}

.login-split-card {
    border: 1px solid rgba(100, 116, 139, .22);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .14);
    background: rgba(255, 255, 255, .96);
}

.login-visual-panel {
    background-image:
        linear-gradient(135deg, rgba(30, 41, 59, .94), rgba(51, 65, 85, .88)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
    color: #f8fafc;
}

.login-brand-badge {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .18);
}

.login-visual-panel .login-welcome-title,
.login-visual-panel h5.login-welcome-title {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.8;
}

.login-visual-panel p {
    font-size: .95rem;
    color: rgba(248,250,252,.78);
}

.login-form-panel .input-group-text,
.login-form-panel .form-control {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.login-form-panel .form-control:focus {
    background: #fff;
    border-color: #64748b;
    box-shadow: 0 0 0 .18rem rgba(100,116,139,.12);
}

.login-form-panel .btn-primary {
    border: 1px solid #1e293b;
    border-radius: 4px !important;
    background: #1e293b;
    box-shadow: none;
}

.login-form-panel .btn-primary:hover,
.login-form-panel .btn-primary:focus {
    background: #334155;
    border-color: #334155;
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-color: #0b1120;
    background-image:
        linear-gradient(135deg, rgba(2,6,23,.92), rgba(15,23,42,.86)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
    color: #e2e8f0;
}

html.dark-mode .login-split-card,
html[data-theme="dark"] .login-split-card {
    background: #111827;
    border-color: rgba(148,163,184,.20);
    box-shadow: 0 18px 44px rgba(0,0,0,.42);
}

html.dark-mode .login-visual-panel,
html[data-theme="dark"] .login-visual-panel {
    background-image:
        linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.90)),
        var(--login-bg-url, url('/images/backgrounds/login-background.svg'));
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel,
html.dark-mode .login-body,
html[data-theme="dark"] .login-body {
    background: #111827;
    color: #e2e8f0;
}

html.dark-mode .login-form-panel .form-label,
html[data-theme="dark"] .login-form-panel .form-label,
html.dark-mode .login-header .small,
html[data-theme="dark"] .login-header .small {
    color: #cbd5e1;
}

html.dark-mode .login-form-panel .input-group-text,
html.dark-mode .login-form-panel .form-control,
html[data-theme="dark"] .login-form-panel .input-group-text,
html[data-theme="dark"] .login-form-panel .form-control {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

html.dark-mode .login-form-panel .form-control:focus,
html[data-theme="dark"] .login-form-panel .form-control:focus {
    background: #111827;
    border-color: #64748b;
    box-shadow: 0 0 0 .18rem rgba(148,163,184,.16);
}

html.dark-mode .login-form-panel .btn-primary,
html[data-theme="dark"] .login-form-panel .btn-primary {
    background: #475569;
    border-color: #64748b;
    color: #fff;
}

html.dark-mode .login-form-panel .btn-primary:hover,
html.dark-mode .login-form-panel .btn-primary:focus,
html[data-theme="dark"] .login-form-panel .btn-primary:hover,
html[data-theme="dark"] .login-form-panel .btn-primary:focus {
    background: #64748b;
    border-color: #94a3b8;
}

.login-latest-news-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.login-latest-news-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
}

.login-latest-news-summary {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.8;
    opacity: 0.82;
}

/* 2026-06-10: Login welcome panel layout - welcome on top, latest public portal news at bottom. */
.login-visual-content-split {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

.login-visual-bottom {
    margin-top: auto;
}

.login-latest-news,
.login-latest-news-empty {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(15,23,42,.20);
    padding: 1rem 1.1rem;
    border-radius: 4px;
}

.login-latest-news-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .55rem;
    font-size: .82rem;
    font-weight: 700;
    color: rgba(255,255,255,.82);
}

.login-latest-news-text {
    font-weight: 800;
    line-height: 1.8;
    color: #fff;
}

.login-latest-news-date {
    margin-top: .45rem;
    font-size: .82rem;
    color: rgba(255,255,255,.72);
}

@media (max-width: 860px) {
    .login-visual-content-split { gap: 1rem; }
    .login-visual-bottom { display: none; }
}

/* 2026-07-03: GatePassWeb promotional login page refresh */
body {
    min-height: 100vh;
    overflow: auto;
    padding: 28px;
    background-color: #edf2f7;
    background-image:
        linear-gradient(135deg, rgba(248, 250, 252, .92), rgba(226, 232, 240, .72)),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, .18), transparent 28%),
        radial-gradient(circle at 12% 86%, rgba(22, 163, 74, .14), transparent 30%),
        var(--login-bg-url, url('/images/backgrounds/login-background-grid.svg'));
    background-size: cover;
    background-position: center;
}

.login-split-shell {
    max-width: 944px;
}

.login-split-card {
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr);
    min-height: min(540px, calc(100vh - 56px));
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(100, 116, 139, .20);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.login-visual-panel {
    min-height: 540px;
    padding: 28px 38px 24px;
    background-image:
        linear-gradient(135deg, rgba(12, 24, 45, .94), rgba(17, 94, 89, .86)),
        var(--login-bg-url, url('/images/backgrounds/login-background-grid.svg'));
    background-size: cover;
    background-position: center;
}

.login-visual-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.28));
}

.login-visual-content {
    max-width: 680px;
}

.login-brand-badge {
    margin-bottom: 24px;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.24);
    font-size: .92rem;
}

.login-customer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.login-customer-brand .login-company-logo {
    width: 54px;
    height: 54px;
}

.login-customer-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.login-customer-name {
    line-height: 1.5;
}

.login-product-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    color: rgba(219, 234, 254, .92);
    font-size: .86rem;
    font-weight: 700;
}

.login-product-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2.9rem, 6vw, 5.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.login-visual-panel .login-welcome-title,
.login-visual-panel h5.login-welcome-title {
    margin: 4px 0 8px;
    color: #dbeafe;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.7;
}

.login-product-copy,
.login-visual-panel p.login-product-copy {
    max-width: 640px;
    color: rgba(248, 250, 252, .86);
    font-size: 1rem;
    line-height: 2.05;
}

.login-site-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 18px;
    padding: .62rem .9rem;
    color: #e0f2fe;
    text-decoration: none;
    border: 1px solid rgba(186, 230, 253, .32);
    background: rgba(8, 47, 73, .28);
    border-radius: 6px;
    direction: ltr;
}

.login-site-link:hover,
.login-site-link:focus {
    color: #fff;
    border-color: rgba(186, 230, 253, .56);
    background: rgba(8, 47, 73, .42);
}

.login-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.login-feature-item {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .65rem;
    color: #f8fafc;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;
}

.login-feature-item i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #bae6fd;
    background: rgba(14, 165, 233, .18);
    border-radius: 6px;
    font-size: 1.15rem;
}

.login-feature-item span {
    min-width: 0;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;
}

.login-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 12px;
}

.login-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(248,250,252,.84);
    font-size: .82rem;
}

.login-trust-row i {
    color: #86efac;
}

.login-latest-news,
.login-latest-news-empty {
    background: rgba(2, 6, 23, .28);
    border-color: rgba(255,255,255,.18);
    border-radius: 6px;
}

.login-form-panel {
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98));
}

.login-form-panel .login-header {
    padding: 0 34px 14px;
}

.login-form-panel .login-body {
    padding: 0 34px 28px;
}

.login-header .icon-box {
    width: 54px;
    height: 54px;
    border-radius: 8px !important;
    color: #0369a1;
    background: #e0f2fe;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, .16);
}

.login-header h4 {
    color: #0f172a;
    font-weight: 900;
}

.login-header .small {
    color: #64748b;
    line-height: 1.8;
}

.login-form-site {
    margin-top: .35rem;
}

.login-form-site a {
    color: #0369a1;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 700;
}

.login-form-site a:hover,
.login-form-site a:focus {
    color: #0f766e;
}

.login-form-panel .form-label {
    color: #334155;
    font-weight: 800;
}

.login-form-panel .input-group-text,
.login-form-panel .form-control {
    min-height: 48px;
    background: #f8fafc;
    border-color: #cbd5e1;
}

.login-form-panel .btn-primary {
    min-height: 48px;
    border: 0;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0f766e, #0369a1);
    box-shadow: 0 14px 28px rgba(15, 118, 110, .22);
    font-weight: 900;
}

.login-form-panel .btn-primary:hover,
.login-form-panel .btn-primary:focus {
    background: linear-gradient(135deg, #115e59, #075985);
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-color: #020617;
    background-image:
        linear-gradient(135deg, rgba(2, 6, 23, .92), rgba(15, 23, 42, .82)),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, .12), transparent 30%),
        radial-gradient(circle at 12% 86%, rgba(34, 197, 94, .09), transparent 30%),
        var(--login-bg-url, url('/images/backgrounds/login-background-grid.svg'));
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel,
html.dark-mode .login-body,
html[data-theme="dark"] .login-body {
    background: #0f172a;
}

html.dark-mode .login-header h4,
html[data-theme="dark"] .login-header h4 {
    color: #f8fafc;
}

html.dark-mode .login-header .icon-box,
html[data-theme="dark"] .login-header .icon-box {
    background: rgba(14, 165, 233, .14);
    color: #bae6fd;
}

html.dark-mode .login-form-site a,
html[data-theme="dark"] .login-form-site a {
    color: #7dd3fc;
}

@media (max-width: 980px) {
    body {
        padding: 18px;
    }

    .login-split-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-visual-panel {
        min-height: auto;
        padding: 32px 28px;
    }

    .login-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    body {
        padding: 0;
    }

    .login-split-shell {
        max-width: none;
    }

    .login-split-card {
        min-height: 100vh;
        border: 0;
        border-radius: 0 !important;
    }

    .login-visual-panel {
        padding: 26px 20px;
    }

    .login-product-title {
        font-size: 2.75rem;
    }

    .login-feature-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .login-feature-item {
        min-height: 58px;
    }

    .login-form-panel .login-header {
        padding: 26px 22px 16px;
    }

    .login-form-panel .login-body {
        padding: 0 22px 28px;
    }
}

/* 2026-09-07: Centered rectangular two-panel login */
body {
    padding: 28px;
    background-image:
        linear-gradient(135deg, rgba(17, 48, 67, .46), rgba(32, 58, 74, .58)),
        url('/images/backgrounds/login-gatepass-selected.png') !important;
    background-position: center;
    background-size: cover;
}

body::before {
    background: rgba(15, 49, 64, .12);
}

.login-split-shell {
    width: min(100%, 1040px);
    max-width: 1040px;
}

.login-split-card {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.62);
    border-radius: 14px !important;
    background: rgba(255,255,255,.16);
    box-shadow: 0 28px 80px rgba(2, 6, 23, .36);
    backdrop-filter: blur(7px) saturate(1.04);
    -webkit-backdrop-filter: blur(7px) saturate(1.04);
}

.login-visual-panel {
    display: flex;
    min-height: 520px;
    padding: 38px 42px 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 38, 55, .80), rgba(17, 64, 75, .62));
    border-left: 1px solid rgba(255,255,255,.22);
}

.login-visual-panel::before {
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 38px 38px;
}

.login-visual-content-split {
    width: 100%;
    min-height: 100%;
}

.login-hero-copy {
    margin-top: 58px;
}

.login-visual-panel .login-hero-copy h1 {
    font-size: clamp(2.25rem, 4vw, 3.35rem);
}

.login-capability-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
}

.login-capability-row > div {
    min-height: 60px;
    padding: .65rem;
}

.login-form-panel {
    min-height: 520px;
    padding: 34px 0 22px;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: rgba(250,252,254,.90);
    box-shadow: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.login-form-panel .login-header,
.login-form-panel .login-body {
    padding-inline: 40px;
}

.login-form-panel .login-header {
    padding-bottom: 16px;
}

.login-form-intro {
    margin-top: 10px;
}

.login-security-note {
    margin-top: 12px;
}

.login-form-footer {
    margin-top: 15px;
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-image:
        linear-gradient(135deg, rgba(2, 17, 29, .56), rgba(6, 30, 42, .68)),
        url('/images/backgrounds/login-gatepass-selected.png') !important;
}

html.dark-mode .login-split-card,
html[data-theme="dark"] .login-split-card {
    border-color: rgba(148,163,184,.38);
    background: rgba(2,6,23,.16);
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel {
    border: 0;
    background: rgba(10,20,36,.90);
    box-shadow: none;
}

@media (max-width: 900px) {
    body { padding: 18px; }
    .login-split-card { grid-template-columns: 1fr; min-height: 0; }
    .login-visual-panel { min-height: 250px; padding: 26px 28px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.20); }
    .login-hero-copy { margin-top: 30px; }
    .login-visual-panel .login-hero-copy h1 { font-size: 1.9rem; }
    .login-capability-row { display: none; }
    .login-form-panel { min-height: 0; padding: 30px 0 22px; }
}

@media (max-width: 560px) {
    body { padding: 0; }
    .login-split-card { min-height: 100vh; border: 0; border-radius: 0 !important; }
    .login-visual-panel { min-height: 220px; padding: 22px; }
    .login-product-copy { display: none; }
    .login-form-panel { flex: 1; border-radius: 0; }
    .login-form-panel .login-header,
    .login-form-panel .login-body { padding-inline: 24px; }
}

/* 2026-09-07: Professional industrial gate-pass login */
body {
    padding: 32px;
    background: #e8eef5;
}

.login-split-shell {
    max-width: 1280px;
}

.login-split-card {
    grid-template-columns: minmax(0, 1.55fr) minmax(420px, .75fr);
    min-height: min(720px, calc(100vh - 64px));
    border: 1px solid rgba(71, 85, 105, .18);
    border-radius: 18px !important;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .22);
}

.login-visual-panel {
    min-height: 720px;
    padding: 44px 50px 40px;
    background-image:
        linear-gradient(90deg, rgba(3, 15, 31, .24), rgba(3, 15, 31, .70)),
        linear-gradient(180deg, rgba(2, 10, 23, .10), rgba(2, 10, 23, .80)),
        url('/images/backgrounds/login-gatepass-selected.png');
    background-position: center;
    background-size: cover;
}

.login-visual-panel::before {
    background: linear-gradient(135deg, rgba(14, 116, 144, .12), transparent 48%);
    mask-image: none;
}

.login-visual-content {
    max-width: none;
}

.login-customer-brand {
    margin: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .20);
}

.login-customer-brand .login-company-logo {
    width: 62px;
    height: 62px;
    padding: 7px;
    background: rgba(255,255,255,.94);
    border-radius: 12px;
    animation: none;
}

.login-customer-brand-text {
    gap: 4px;
}

.login-customer-name {
    font-size: 1.08rem;
}

.login-product-kicker {
    color: rgba(224, 242, 254, .84);
    font-size: .88rem;
}

.login-hero-copy {
    max-width: 610px;
    margin-top: clamp(85px, 15vh, 155px);
}

.login-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 18px;
    padding: .55rem .8rem;
    color: #cffafe;
    background: rgba(8, 47, 73, .42);
    border: 1px solid rgba(165, 243, 252, .25);
    border-radius: 7px;
    font-size: .84rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.login-visual-panel .login-hero-copy h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2rem, 3.5vw, 3.55rem);
    font-weight: 950;
    line-height: 1.35;
    text-shadow: 0 3px 22px rgba(0,0,0,.35);
}

.login-visual-panel .login-hero-copy .login-product-copy {
    max-width: 590px;
    color: rgba(241, 245, 249, .90);
    font-size: 1.04rem;
    line-height: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,.30);
}

.login-capability-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: auto;
}

.login-capability-row > div {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 66px;
    padding: .8rem .9rem;
    color: #f8fafc;
    background: rgba(2, 18, 38, .54);
    border: 1px solid rgba(186, 230, 253, .20);
    border-radius: 9px;
    backdrop-filter: blur(10px);
}

.login-capability-row i {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #67e8f9;
    background: rgba(14, 116, 144, .34);
    border-radius: 8px;
    font-size: 1.2rem;
}

.login-capability-row span {
    font-size: .82rem;
    font-weight: 850;
}

.login-form-panel {
    padding: 48px 0 28px;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.login-form-panel .login-header,
.login-form-panel .login-body {
    width: min(100%, 440px);
    margin-inline: auto;
    padding-inline: 38px;
}

.login-form-panel .login-header {
    padding-bottom: 30px;
    text-align: right;
}

.login-form-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.login-header .login-form-brand .icon-box {
    width: 64px;
    height: 64px;
    margin: 0;
    padding: 8px;
    border-radius: 12px !important;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.login-form-brand .icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-form-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 750;
}

.login-form-brand h2 {
    margin: 0;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 950;
}

.login-form-intro {
    margin: 24px 0 0;
    color: #64748b;
    font-size: .88rem;
    line-height: 1.9;
}

.login-form-panel .form-label {
    margin-bottom: .55rem;
    color: #1e3a5f;
    font-size: .84rem;
    font-weight: 850;
}

.login-input-group {
    position: relative;
    border-radius: 9px;
    transition: box-shadow .2s ease;
}

.login-form-panel .login-input-group .input-group-text,
.login-form-panel .login-input-group .form-control {
    min-height: 54px;
    background: #f8fafc;
    border-color: #d5dde8;
}

.login-form-panel .login-input-group .input-group-text {
    min-width: 52px;
    color: #0e7490;
    font-size: 1.05rem;
}

.login-form-panel .login-input-group .form-control {
    padding-inline: 13px;
    font-size: .94rem;
}

.login-password-toggle {
    order: 2 !important;
    flex: 0 0 48px;
    width: 48px;
    min-height: 54px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #d5dde8;
    border-right: 0;
    border-radius: 9px 0 0 9px;
}

.login-input-group:has(.login-password-toggle) > .input-group-text {
    order: 0 !important;
    border-radius: 0 9px 9px 0 !important;
}

.login-input-group:has(.login-password-toggle) > .form-control {
    order: 1 !important;
    border-radius: 0 !important;
    border-left: 0;
}

.login-password-toggle:hover,
.login-password-toggle:focus {
    color: #0369a1;
    background: #eff6ff;
}

.login-input-group:focus-within {
    box-shadow: 0 0 0 .22rem rgba(14, 116, 144, .10);
}

.login-submit-button {
    min-height: 54px !important;
    margin-top: 4px;
    border-radius: 9px !important;
    font-size: .95rem;
}

.login-security-note {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-top: 22px;
    padding: .75rem .85rem;
    color: #526477;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: .75rem;
    line-height: 1.75;
}

.login-security-note i {
    margin-top: 2px;
    color: #0f766e;
}

.login-form-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 18px;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
    font-size: .7rem;
}

.login-form-footer a {
    color: #0e7490;
    text-decoration: none;
    font-weight: 800;
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel {
    background: linear-gradient(180deg, #0f172a, #0b1220);
}

html.dark-mode .login-form-brand h2,
html[data-theme="dark"] .login-form-brand h2 {
    color: #f8fafc;
}

html.dark-mode .login-header .login-form-brand .icon-box,
html[data-theme="dark"] .login-header .login-form-brand .icon-box {
    background: rgba(14, 116, 144, .14);
    border-color: rgba(103, 232, 249, .18);
}

html.dark-mode .login-form-intro,
html.dark-mode .login-form-eyebrow,
html[data-theme="dark"] .login-form-intro,
html[data-theme="dark"] .login-form-eyebrow {
    color: #94a3b8;
}

html.dark-mode .login-password-toggle,
html[data-theme="dark"] .login-password-toggle {
    color: #94a3b8;
    background: #0f172a;
    border-color: #334155;
}

html.dark-mode .login-security-note,
html[data-theme="dark"] .login-security-note {
    color: #a9b7ca;
    background: rgba(30, 41, 59, .68);
    border-color: #334155;
}

html.dark-mode .login-form-footer,
html[data-theme="dark"] .login-form-footer {
    border-top-color: #273449;
}

@media (max-width: 1080px) {
    body { padding: 18px; }
    .login-split-card { grid-template-columns: minmax(0, 1fr) minmax(390px, .8fr); min-height: calc(100vh - 36px); }
    .login-visual-panel { min-height: calc(100vh - 36px); padding: 34px; }
    .login-capability-row { grid-template-columns: 1fr; max-width: 280px; }
}

@media (max-width: 860px) {
    body { padding: 0; }
    .login-split-card { grid-template-columns: 1fr; min-height: 100vh; border: 0; border-radius: 0 !important; }
    .login-visual-panel { min-height: 330px; padding: 26px 24px; background-position: 38% center; }
    .login-hero-copy { margin-top: 38px; }
    .login-visual-panel .login-hero-copy h1 { font-size: 1.8rem; }
    .login-capability-row { display: none; }
    .login-form-panel { padding: 36px 0 24px; }
}

@media (max-width: 520px) {
    .login-visual-panel { min-height: 290px; }
    .login-customer-brand .login-company-logo { width: 50px; height: 50px; }
    .login-customer-name { font-size: .9rem; }
    .login-product-kicker { font-size: .74rem; }
    .login-hero-copy { margin-top: 28px; }
    .login-visual-panel .login-hero-copy h1 { font-size: 1.45rem; }
    .login-visual-panel .login-hero-copy .login-product-copy { font-size: .84rem; line-height: 1.8; }
    .login-form-panel .login-header,
    .login-form-panel .login-body { padding-inline: 22px; }
    .login-form-footer { flex-direction: column; }
}

/* 2026-09-07: Full-page photographic login with centered glass form */
body {
    min-height: 100vh;
    padding: 32px;
    overflow: auto;
    background-color: #162438;
    background-image:
        linear-gradient(135deg, rgba(5, 17, 34, .28), rgba(5, 17, 34, .54)),
        url('/images/backgrounds/login-gatepass-selected.png') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body::before {
    display: block !important;
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 1;
    filter: none;
    background:
        radial-gradient(circle at 50% 46%, rgba(255,255,255,.10), transparent 32%),
        linear-gradient(90deg, rgba(2,6,23,.12), transparent 30%, transparent 70%, rgba(2,6,23,.14));
}

body::after {
    display: none !important;
}

.login-split-shell {
    width: min(100%, 590px);
    max-width: 590px;
}

.login-split-card {
    display: block;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 18px !important;
    background: transparent;
    box-shadow: 0 32px 90px rgba(2, 6, 23, .42);
}

.login-visual-panel {
    display: none;
}

.login-form-panel {
    min-height: 0;
    padding: 28px 0 20px;
    border: 1px solid rgba(255,255,255,.88);
    border-radius: 18px;
    background: rgba(255,255,255,.52);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.42),
        0 18px 55px rgba(2,6,23,.25);
    backdrop-filter: blur(3px) saturate(1.04);
    -webkit-backdrop-filter: blur(3px) saturate(1.04);
}

.login-form-panel .login-header,
.login-form-panel .login-body {
    width: 100%;
    padding-inline: 48px;
}

.login-form-panel .login-header {
    padding-bottom: 17px;
}

.login-form-panel .login-body {
    padding-bottom: 0;
}

.login-header .login-form-brand .icon-box {
    width: 54px;
    height: 54px;
}

.login-form-intro {
    margin-top: 12px;
    line-height: 1.7;
}

.login-body .mb-4 {
    margin-bottom: 1rem !important;
}

.login-body .mb-3 {
    margin-bottom: .8rem !important;
}

.login-body .form-check.mb-4 {
    margin-bottom: 1rem !important;
}

.login-security-note {
    margin-top: 14px;
    padding-block: .58rem;
}

.login-form-footer {
    margin-top: 18px;
    padding-top: 13px;
}

.login-form-panel .login-input-group .input-group-text,
.login-form-panel .login-input-group .form-control,
.login-password-toggle {
    background: rgba(248,250,252,.84);
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-color: #07101e;
    background-image:
        linear-gradient(135deg, rgba(2,6,23,.46), rgba(2,6,23,.68)),
        url('/images/backgrounds/login-gatepass-selected.png') !important;
}

html.dark-mode .login-split-card,
html[data-theme="dark"] .login-split-card {
    background: transparent;
}

html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel {
    border-color: rgba(148,163,184,.42);
    background: rgba(10,20,36,.56);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.04),
        0 26px 70px rgba(0,0,0,.44);
}

@media (max-width: 560px) {
    body {
        padding: 18px;
        background-position: 42% center;
    }

    .login-split-card {
        min-height: 0;
        border-radius: 16px !important;
    }

    .login-form-panel {
        padding: 32px 0 22px;
        border-radius: 16px;
    }

    .login-form-panel .login-header,
    .login-form-panel .login-body {
        padding-inline: 24px;
    }
}

/* Final login composition: system identity right, credentials left */
body {
    padding: 28px;
    background-image: linear-gradient(135deg, rgba(17,48,67,.46), rgba(32,58,74,.58)), url('/images/backgrounds/login-gatepass-selected.png') !important;
}

body::before { background: rgba(15,49,64,.12); }

.login-split-shell { width:min(100%,1040px); max-width:1040px; }

.login-split-card {
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
    min-height:520px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.62);
    border-radius:14px !important;
    background:rgba(255,255,255,.16);
    box-shadow:0 28px 80px rgba(2,6,23,.36);
    backdrop-filter:blur(7px) saturate(1.04);
    -webkit-backdrop-filter:blur(7px) saturate(1.04);
}

.login-visual-panel {
    display:flex;
    min-height:520px;
    padding:38px 42px 34px;
    background:linear-gradient(135deg,rgba(8,38,55,.80),rgba(17,64,75,.62));
    border-left:1px solid rgba(255,255,255,.22);
}

.login-visual-content-split { width:100%; min-height:100%; }
.login-hero-copy { margin-top:58px; }
.login-capability-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-width:none; }

.login-form-panel {
    min-height:520px;
    padding:34px 0 22px;
    justify-content:center;
    border:0;
    border-radius:0;
    background:rgba(250,252,254,.90);
    box-shadow:none;
    backdrop-filter:blur(5px);
    -webkit-backdrop-filter:blur(5px);
}

.login-form-panel .login-header,
.login-form-panel .login-body { padding-inline:40px; }
.login-form-panel .login-header { padding-bottom:16px; }

html.dark-mode .login-split-card,
html[data-theme="dark"] .login-split-card { border-color:rgba(148,163,184,.38); background:rgba(2,6,23,.16); }
html.dark-mode .login-form-panel,
html[data-theme="dark"] .login-form-panel { border:0; background:rgba(10,20,36,.90); box-shadow:none; }

@media (max-width:900px) {
    body { padding:18px; }
    .login-split-card { grid-template-columns:1fr; min-height:0; }
    .login-visual-panel { min-height:250px; padding:26px 28px; border-left:0; border-bottom:1px solid rgba(255,255,255,.20); }
    .login-hero-copy { margin-top:30px; }
    .login-capability-row { display:none; }
    .login-form-panel { min-height:0; padding:30px 0 22px; }
}

@media (max-width:560px) {
    body { padding:0; }
    .login-split-card { min-height:100vh; border:0; border-radius:0 !important; }
    .login-visual-panel { min-height:220px; padding:22px; }
    .login-product-copy { display:none; }
    .login-form-panel { flex:1; border-radius:0; }
    .login-form-panel .login-header,
    .login-form-panel .login-body { padding-inline:24px; }
}

/* Final flat login surface: no photographic background and no rounded corners */
body,
html.dark-mode body,
html[data-theme="dark"] body {
    background-image:none !important;
    background-attachment:initial;
}

body {
    background-color:#e8edf2 !important;
}

html.dark-mode body,
html[data-theme="dark"] body {
    background-color:#0b1523 !important;
}

body::before,
body::after {
    display:none !important;
}

.login-split-card,
.login-visual-panel,
.login-form-panel,
.login-header .icon-box,
.login-input-group,
.login-input-group > .input-group-text,
.login-input-group > .form-control,
.login-password-toggle,
.login-submit-button,
.login-security-note,
.login-form-footer,
.login-hero-eyebrow,
.login-capability-row > div,
.login-capability-row i,
.alert {
    border-radius:0 !important;
}
/* Compact product title for the split login presentation. */
.login-visual-panel .login-hero-copy h1 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}
