:root {
    --navy-950: #07101f;
    --navy-900: #0b1628;
    --navy-850: #101d34;
    --navy-800: #152443;

    --blue-500: #3b82f6;
    --blue-400: #60a5fa;

    --cyan-400: #22d3ee;
    --emerald-400: #34d399;

    --slate-950: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;

    --white: #ffffff;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --success: #047857;
    --success-bg: #ecfdf5;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--white);

    color: var(--slate-950);

    font-size: 14px;
    font-weight: 400;
}

button,
input {
    font: inherit;
}

button {
    font-weight: 600;
}

strong {
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

.login-shell {
    min-height: 100vh;

    display: grid;

    grid-template-columns:
        minmax(600px, 1.08fr)
        minmax(500px, .92fr);
}


/*
|--------------------------------------------------------------------------
| Left Visual
|--------------------------------------------------------------------------
*/

.login-visual {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--navy-950) 0%,
            var(--navy-900) 48%,
            #111f42 100%
        );

    color: var(--white);
}

.visual-inner {
    position: relative;

    z-index: 5;

    min-height: 100vh;

    padding: 54px;

    display: flex;

    flex-direction: column;
}

.visual-glow {
    position: absolute;

    border-radius: 999px;

    filter: blur(90px);

    pointer-events: none;
}

.visual-glow-one {
    width: 420px;
    height: 420px;

    right: -80px;
    top: -120px;

    background: rgba(59, 130, 246, .23);
}

.visual-glow-two {
    width: 360px;
    height: 360px;

    left: -100px;
    bottom: -110px;

    background: rgba(34, 211, 238, .10);
}


.visual-header {
    display: flex;

    align-items: center;

    gap: 13px;
}

.brand-mark {
    width: 44px;
    height: 44px;

    border-radius: 13px;

    display: grid;

    place-items: center;

    background: var(--white);

    color: var(--slate-950);

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .18);
}

.brand-mark.dark {
    color: white;

    background: var(--slate-950);
}

.brand-name {
    font-size: 15px;

    font-weight: 700;
}

.brand-product {
    margin-top: 2px;

    font-size: 13px;

    color: var(--slate-400);
}


.hero-area {
    width: 100%;

    max-width: 810px;

    margin: auto 0;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, .10);

    border-radius: 999px;

    background: rgba(255, 255, 255, .055);

    backdrop-filter: blur(15px);

    color: #dbeafe;

    font-size: 13px;

    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--emerald-400);

    box-shadow:
        0 0 0 5px rgba(52, 211, 153, .10);
}


.hero-area h1 {
    max-width: 700px;

    margin:
        22px
        0
        16px;

    font-size:
        clamp(
            44px,
            4vw,
            68px
        );

    line-height: .99;

    letter-spacing: -.055em;

    font-weight: 700;
}

.hero-area h1 span {
    color: #93c5fd;
}


.hero-description {
    max-width: 650px;

    margin: 0;

    color: var(--slate-300);

    font-size: 15px;

    line-height: 1.75;
}


/*
|--------------------------------------------------------------------------
| Dashboard Preview
|--------------------------------------------------------------------------
*/

.preview-panel {
    margin-top: 30px;

    max-width: 720px;

    padding: 19px;

    border-radius: 20px;

    border: 1px solid rgba(255, 255, 255, .10);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .085),
            rgba(255, 255, 255, .035)
        );

    box-shadow:
        0 28px 70px rgba(0, 0, 0, .18);

    backdrop-filter: blur(18px);
}

.preview-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}

.preview-title {
    font-size: 14px;

    font-weight: 700;
}

.preview-subtitle {
    margin-top: 3px;

    color: var(--slate-400);

    font-size: 13px;
}

.live-pill {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(52, 211, 153, .09);

    color: #a7f3d0;

    font-size: 13px;

    font-weight: 600;
}

.live-pill span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--emerald-400);
}


.metrics-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.metric-card {
    padding: 14px;

    border-radius: 14px;

    background: rgba(3, 8, 20, .30);

    border: 1px solid rgba(255, 255, 255, .07);
}

.metric-label {
    color: var(--slate-400);

    font-size: 13px;

    font-weight: 500;
}

.metric-value {
    margin-top: 7px;

    color: var(--white);

    font-size: 24px;

    font-weight: 700;

    letter-spacing: -.03em;
}

.metric-meta {
    margin-top: 4px;

    color: #7f91ab;

    font-size: 13px;
}


.production-section {
    margin-top: 14px;

    padding: 14px;

    border-radius: 14px;

    background: rgba(3, 8, 20, .28);

    border: 1px solid rgba(255, 255, 255, .06);
}

.production-head {
    display: flex;

    justify-content: space-between;

    color: var(--slate-300);

    font-size: 13px;

    font-weight: 600;
}

.progress-track {
    height: 7px;

    margin-top: 10px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255, 255, 255, .09);
}

.progress-fill {
    width: 78%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--blue-500),
            var(--cyan-400)
        );
}


.activity-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 10px;
}

.activity-item {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px;

    border-radius: 13px;

    background: rgba(3, 8, 20, .24);
}

.activity-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: rgba(52, 211, 153, .10);

    color: #6ee7b7;

    font-size: 14px;

    font-weight: 700;
}

.activity-icon.alt {
    background: rgba(96, 165, 250, .12);

    color: #93c5fd;
}

.activity-item strong {
    display: block;

    font-size: 13px;
}

.activity-item span {
    display: block;

    margin-top: 2px;

    color: #8090a7;

    font-size: 13px;
}


.feature-strip {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 18px;
}

.feature-item {
    display: flex;

    align-items: center;

    gap: 8px;

    padding: 7px 10px;

    border-radius: 10px;

    background: rgba(255, 255, 255, .045);

    color: var(--slate-300);

    font-size: 13px;

    font-weight: 500;
}

.feature-item span {
    color: #7f95b5;

    font-size: 13px;

    font-weight: 600;
}


.visual-footer {
    display: flex;

    justify-content: space-between;

    margin-top: 25px;

    color: #6f819a;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| Right Login
|--------------------------------------------------------------------------
*/

.login-content {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 48px;

    background:
        radial-gradient(
            circle at 100% 0%,
            #f1f5ff 0,
            transparent 34%
        ),
        var(--white);
}

.login-content::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 1px;

    background: #e5eaf1;
}

.login-content-inner {
    width: 100%;

    max-width: 460px;
}


.mobile-brand {
    display: none;

    align-items: center;

    gap: 12px;

    margin-bottom: 34px;
}

.mobile-brand-name {
    font-size: 15px;

    font-weight: 700;
}

.mobile-brand-product {
    margin-top: 2px;

    color: var(--slate-500);

    font-size: 13px;
}


.login-eyebrow {
    margin-bottom: 10px;

    color: var(--blue-500);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .04em;

    text-transform: uppercase;
}

.login-heading h2 {
    margin: 0;

    color: var(--slate-950);

    font-size: 34px;

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -.045em;
}

.login-heading p {
    margin:
        10px
        0
        28px;

    color: var(--slate-500);

    font-size: 14px;

    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.form-group {
    margin-bottom: 18px;
}

.label-row {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--slate-700);

    font-size: 13px;

    font-weight: 600;
}

.forgot-link {
    margin-bottom: 8px;

    color: var(--blue-500);

    font-size: 13px;

    font-weight: 600;
}

.forgot-link:hover {
    color: #1d4ed8;
}


.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

    display: grid;

    place-items: center;

    color: var(--slate-400);

    pointer-events: none;
}

.input-icon svg {
    width: 18px;
    height: 18px;

    stroke-width: 1.7;
}


.input-wrap input {
    width: 100%;
    height: 50px;

    padding:
        0
        48px
        0
        45px;

    border: 1px solid #d8e0ea;

    border-radius: 13px;

    outline: none;

    background: #fbfdff;

    color: var(--slate-950);

    font-size: 14px;

    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.input-wrap input::placeholder {
    color: #9aa8bb;
}

.input-wrap input:focus {
    border-color: #7da6ed;

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(59, 130, 246, .08);
}

.input-wrap:focus-within .input-icon {
    color: var(--blue-500);
}


.password-toggle {
    position: absolute;

    top: 50%;
    right: 13px;

    width: 32px;
    height: 32px;

    transform: translateY(-50%);

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 8px;

    background: transparent;

    color: var(--slate-400);

    cursor: pointer;
}

.password-toggle:hover {
    background: var(--slate-100);

    color: var(--slate-700);
}

.password-toggle svg {
    width: 18px;
    height: 18px;

    stroke-width: 1.7;
}


.form-options {
    margin:
        3px
        0
        20px;
}

.remember-control {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    position: relative;

    color: var(--slate-600);

    font-size: 13px;

    cursor: pointer;
}

.remember-control input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.custom-check {
    width: 17px;
    height: 17px;

    border: 1px solid #bdc8d6;

    border-radius: 5px;

    background: white;

    position: relative;
}

.remember-control input:checked + .custom-check {
    border-color: var(--slate-950);

    background: var(--slate-950);
}

.remember-control input:checked + .custom-check::after {
    content: "";

    position: absolute;

    left: 5px;
    top: 2px;

    width: 4px;
    height: 8px;

    border:
        solid white;

    border-width:
        0
        2px
        2px
        0;

    transform: rotate(45deg);
}


.login-button {
    width: 100%;
    height: 51px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 0;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #18284b
        );

    color: var(--white);

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(15, 23, 42, .16);

    transition:
        transform .12s ease,
        box-shadow .12s ease;
}

.login-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 34px rgba(15, 23, 42, .22);
}

.login-button svg {
    width: 18px;
    height: 18px;

    stroke-width: 1.8;
}


/*
|--------------------------------------------------------------------------
| Security
|--------------------------------------------------------------------------
*/

.security-card {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 22px;

    padding: 13px;

    border: 1px solid #e5ebf2;

    border-radius: 13px;

    background: #fafcff;
}

.security-icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: #eef4ff;

    color: #2563eb;
}

.security-icon svg {
    width: 19px;
    height: 19px;

    stroke-width: 1.7;
}

.security-card strong {
    display: block;

    color: var(--slate-700);

    font-size: 13px;
}

.security-card span {
    display: block;

    margin-top: 3px;

    color: var(--slate-500);

    font-size: 13px;

    line-height: 1.5;
}


.login-footer {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-top: 25px;

    color: var(--slate-400);

    font-size: 13px;
}

.footer-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #cbd5e1;
}


/*
|--------------------------------------------------------------------------
| Alerts
|--------------------------------------------------------------------------
*/

.alert {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 19px;

    padding: 12px 13px;

    border-radius: 12px;

    font-size: 13px;

    line-height: 1.5;
}

.alert.danger {
    border: 1px solid #fecaca;

    background: var(--danger-bg);

    color: var(--danger);
}

.alert.success {
    border: 1px solid #a7f3d0;

    background: var(--success-bg);

    color: var(--success);
}

.alert-icon {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: rgba(185, 28, 28, .08);

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1180px) {

    .login-shell {
        grid-template-columns:
            minmax(530px, 1fr)
            minmax(440px, .85fr);
    }

    .visual-inner {
        padding: 42px;
    }

    .hero-area h1 {
        font-size: 48px;
    }

    .preview-panel {
        max-width: 650px;
    }

}


@media (max-width: 960px) {

    .login-shell {
        display: block;
    }

    .login-visual {
        display: none;
    }

    .login-content {
        min-height: 100vh;

        padding: 30px;
    }

    .login-content::before {
        display: none;
    }

    .login-content-inner {
        max-width: 500px;
    }

    .mobile-brand {
        display: flex;
    }

}


@media (max-width: 560px) {

    .login-content {
        padding:
            25px
            20px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

}