:root {
--sidebar-width: 256px;
    --sidebar-background-start: #123762;
    --sidebar-background-end: #0c2f56;
    --sidebar-text: #dce8f7;
    --sidebar-muted: #a9bdd4;
    --sidebar-active-start: #1762ad;
    --sidebar-active-end: #205fa2;
    --page-background: #f4f7fb;
    --surface: #ffffff;
    --border: #e5eaf1;
    --heading: #172337;
    --text: #344054;
    --muted: #667085;
    --primary: #1c67b2;
    --success: #12b76a;
    --danger: #f04438;
}

html {
font-size: 14px;
}

* {
box-sizing: border-box;
}

body {
margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--page-background);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
font-family: inherit;
}

.auth-page {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient( circle at top right, rgba(37, 99, 235, 0.08), transparent 35% ), #f5f7fb;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.login-brand-logo {
    position: relative;
    width: 60px;
    height: 56px;
    flex: 0 0 60px;
}

.login-brand-monitor {
    position: relative;
    width: 54px;
    height: 40px;
    overflow: hidden;
    border: 3px solid #123762;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(28, 103, 178, 0.08), 0 5px 14px rgba(18, 55, 98, 0.10);
}

    .login-brand-monitor::after {
        position: absolute;
        right: 6px;
        bottom: 6px;
        left: 6px;
        height: 1px;
        content: "";
        background: rgba(18, 55, 98, 0.14);
    }

.login-brand-monitor-stand {
    position: absolute;
    bottom: 3px;
    left: 19px;
    width: 20px;
    height: 12px;
    border-bottom: 3px solid #123762;
    border-radius: 1px;
}

    .login-brand-monitor-stand::before {
        position: absolute;
        top: -6px;
        left: 9px;
        width: 3px;
        height: 9px;
        content: "";
        background: #123762;
    }

.login-chart-bar {
    position: absolute;
    bottom: 8px;
    width: 6px;
    border-radius: 2px 2px 0 0;
    background: linear-gradient( 180deg, #48b8f5 0%, #1c67b2 100% );
}

.login-chart-bar-one {
    left: 9px;
    height: 11px;
}

.login-chart-bar-two {
    left: 19px;
    height: 20px;
}

.login-chart-bar-three {
    left: 29px;
    height: 15px;
}

.login-chart-bar-four {
    left: 39px;
    height: 25px;
}

.login-brand-text {
    text-align: left;
}

.login-brand-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    color: #123762;
    letter-spacing: -0.5px;
}

.login-brand-subtitle {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #718096;
}

@media (max-width: 480px) {
    .login-brand {
        gap: 11px;
    }

    .login-brand-logo {
        transform: scale(0.9);
        transform-origin: center;
    }

    .login-brand-title {
        font-size: 20px;
    }

    .login-brand-subtitle {
        font-size: 11px;
    }
}


.auth-heading {
    text-align: center;
    margin-bottom: 28px;
}

    .auth-heading h1 {
        margin-bottom: 8px;
        font-size: 30px;
        font-weight: 700;
        color: #172033;
    }

    .auth-heading p {
        margin: 0;
        color: #6b7280;
    }

.auth-card .form-control {
    min-height: 57px;
    border-radius: 10px;
}

    .auth-card .form-control:focus {
        border-color: #2878bd;
        box-shadow: 0 0 0 0.2rem rgba(40, 120, 189, 0.15);
    }

.auth-submit {
    min-height: 50px;
    border: 0;
    border-radius: 10px;
    font-weight: 600;
    background: linear-gradient( 135deg, #0f5fa8, #2176d2 );
}

    .auth-submit:hover {
        background: linear-gradient( 135deg, #0b4f8e, #1c65b5 );
    }

.auth-link {
    color: #1469b8;
    text-decoration: none;
    font-weight: 500;
}

    .auth-link:hover {
        color: #0f4f8c;
        text-decoration: underline;
    }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 18px;
    color: #8a94a6;
    font-size: 13px;
}

    .auth-divider::before,
    .auth-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e5e7eb;
    }

.auth-footer {
    margin-top: 28px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid #eef1f5;
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 576px) {
    .auth-page {
        padding: 20px 14px;
    }

    .auth-card {
        padding: 28px 22px;
        border-radius: 14px;
    }

    .auth-heading h1 {
        font-size: 26px;
    }
}
.authenticator-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #e8edf3;
}

    .authenticator-step:last-child {
        border-bottom: 0;
    }

.authenticator-step-number {
    display: flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #1c67b2;
    border-radius: 50%;
}

.authenticator-qr-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 210px;
    padding: 16px;
    margin-top: 10px;
    background: #ffffff;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
}

    .authenticator-qr-wrapper canvas,
    .authenticator-qr-wrapper img {
        display: block;
        max-width: 180px;
        height: auto;
    }

.authenticator-key {
    display: inline-block;
    padding: 10px 14px;
    font-family: Consolas, monospace;
    font-size: 14px;
    font-weight: 600;
    color: #123762;
    letter-spacing: 1px;
    word-break: break-all;
    background: #f4f7fb;
    border: 1px solid #dce4ed;
    border-radius: 8px;
}