:root {
    --admin-purple: #7950d9;
    --admin-purple-dark: #6039bb;
    --admin-blue: #3975d7;
    --admin-navy: #172554;
}

/* BACKGROUND */

.lms-admin-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(59, 130, 246, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 85%,
            rgba(14, 165, 233, 0.2),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.85),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #eff6ff 0%,
            #dbeafe 40%,
            #bfdbfe 75%,
            #e0f2fe 100%
        );

    display: flex;
    align-items: center;

    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.lms-admin-page::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    top: -180px;
    right: -100px;
    pointer-events: none;
}

.lms-admin-page::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(80, 123, 217, 0.08);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.lms-admin-page .container {
    max-width: 1160px;
    position: relative;
    z-index: 2;
}

.lms-admin-page .row {
    min-height: 600px;
}

/* LOGIN CARD */

.admin-login-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-login-card {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 38px 32px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 20px 60px rgba(37, 77, 140, 0.12),
        0 5px 15px rgba(37, 77, 140, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.admin-login-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 28px 70px rgba(37, 77, 140, 0.16),
        0 8px 20px rgba(37, 77, 140, 0.05);
}

/* BRAND */

.admin-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.admin-brand-logo {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: 800;
    border-radius: 13px;
    background: linear-gradient(135deg, #3975d7, #7950d9);
    box-shadow: 0 7px 18px rgba(121, 80, 217, 0.2);
}

.admin-brand-text strong {
    display: block;
    color: var(--admin-navy);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.admin-brand-text small {
    display: block;
    color: #94a3b8;
    font-size: 8px;
    letter-spacing: 1.5px;
}

/* ADMIN ICON */

.admin-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    color: white;
    font-size: 32px;
    background: linear-gradient(135deg, #9564f6, #6941ca);
    box-shadow: 0 10px 25px rgba(121, 80, 217, 0.25);
}

.admin-login-card h2 {
    color: var(--admin-navy);
    font-size: 23px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.admin-subtitle {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
}

/* FORM */

.admin-form-group {
    margin-bottom: 15px;
}

.admin-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.admin-input-wrapper {
    position: relative;
}

.admin-input-wrapper .input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #9aa8bd;
    font-size: 15px;
    z-index: 2;
    pointer-events: none;
}

.admin-login-card .form-control {
    width: 100%;
    height: 38px;
    padding: 0 43px;
    border: 1px solid #e1e7f0;
    border-radius: 12px !important;
    background: #f9faff;
    color: #334155;
    font-size: 13px;
    transition: 0.25s;
}

.admin-login-card .form-control:focus {
    background: white;
    border-color: var(--admin-purple) !important;
    box-shadow: 0 0 0 4px rgba(121, 80, 217, 0.1);
    /* outline: none; */
}

.admin-login-card .form-control::placeholder {
    color: #a5b0c0;
}

/* PASSWORD */

.admin-toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    padding: 3px;
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    z-index: 3;
}

.admin-toggle-password:hover {
    color: var(--admin-purple);
}

.admin-form-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 0 22px;
}

.admin-form-extra label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
}

.admin-form-extra input {
    accent-color: var(--admin-purple);
}

/* BUTTON */

.btn-submit-login {
    width: 100%;
    height: 38px;
    border: none;
    border-radius: 12px !important;
    color: white;
    font-size: 14px;
    justify-content: center;
    font-weight: 700;
    background: linear-gradient(100deg, #7043c8, #8b5cf6);
    box-shadow: 0 9px 22px rgba(109, 40, 217, 0.23);
    transition: 0.3s;
    cursor: pointer;
}

.btn-submit-login:hover {
    color: white;
    background: linear-gradient(100deg, #5b32b2, #7043c8);
    transform: translateY(-2px);
    box-shadow: 0 13px 27px rgba(109, 40, 217, 0.3);
}

.btn-submit-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ALERT */

#alert-login {
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 17px;
}

/* FOOTER */

.admin-login-footer {
    margin-top: 25px;
    text-align: center;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.8;
}

/* ILLUSTRATION */

.admin-illustration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 35px;
    /* padding: 20px; */
}

.admin-illustration-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 17px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--admin-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
}

.admin-illustration-heading {
    color: var(--admin-navy);
    font-size: 35px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 12px;
}

.admin-illustration-heading span {
    color: var(--admin-purple);
}

.admin-illustration-description {
    max-width: 440px;
    text-align: center;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.admin-illustration-section img {
    /* display: block;
        width: 100%;
        max-width: 570px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 20px 22px rgba(55,80,140,.10));
        transition: .4s ease; */
    display: block;
    position: relative;
    width: 100%;
    max-width: 570px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(0 22px 25px rgba(45, 85, 150, 0.15));
    transition: transform 0.4s ease;
}

.admin-illustration-section img:hover {
    /* transform: translateY(-6px); */
    transform: translateY(-7px) scale(1.015);
}

/* FEATURE */

/* .admin-features {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(55,95,160,.05);
        transition: all .25s ease;
    } */

/* .admin-feature {
        padding: 11px 15px;
        border-radius: 12px;
        background: rgba(255,255,255,.65);
        border: 1px solid rgba(255,255,255,.8);
        color: #52627f;
        font-size: 10px;
        font-weight: 600;
    }
    .admin-feature:hover {
        transform: translateY(-4px);
        background: rgba(255,255,255,.9);
    }

    .admin-feature i {
        color: var(--admin-purple);
        margin-right: 5px;
    } */

/* RESPONSIVE TABLET */

@media (max-width: 991px) {
    .lms-admin-page .row {
        min-height: auto;
    }

    .admin-illustration-section {
        margin-top: 45px;
    }

    .admin-illustration-section img {
        max-width: 450px;
    }

    .admin-illustration-heading {
        font-size: 28px;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 767px) {
    .lms-admin-page {
        padding: 20px 0px;
    }

    .lms-admin-page .container {
        padding-left: 15px; /* jarak tepi layar ke card */
        padding-right: 15px;
    }

    .admin-login-card {
        max-width: 100%px;
        padding: 30px 22px;
    }

    .admin-illustration-section {
        margin-top: 35px;
        padding: 10px;
    }

    .admin-illustration-section img {
        max-width: 350px;
    }

    .admin-illustration-heading {
        font-size: 25px;
    }

    .admin-illustration-description {
        font-size: 12px;
    }

    .admin-features {
        gap: 7px;
    }

    .admin-feature {
        padding: 8px 10px;
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .admin-login-card {
        padding: 30px 20px;
    }

    .admin-login-card h2 {
        font-size: 21px;
    }

    .admin-illustration-heading {
        font-size: 22px;
    }
}
