/* =========================================================
   ADMIN PENGADAAN
   LOGIN PAGE
   ========================================================= */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --text-primary: #111827;
    --text-secondary: #6b7280;

    --border: #e5e7eb;

    --background: #f5f7fb;

    --card: rgba(255, 255, 255, 0.92);

    --shadow:
        0 25px 60px rgba(15, 23, 42, 0.10);

    --radius: 24px;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    padding: 0;

    min-height: 100%;

    font-family:
        'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    color: var(--text-primary);

    background:
        linear-gradient(
            135deg,
            #f8fafc 0%,
            #eef4ff 50%,
            #f8fafc 100%
        );
}


body {
    overflow-x: hidden;
}


/* =========================================================
   LOGIN PAGE
   ========================================================= */

.login-page {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    overflow: hidden;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background-decoration {

    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;
}


.shape {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: .55;
}


.shape-one {

    width: 420px;

    height: 420px;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, .18),
            transparent 70%
        );

    top: -180px;

    right: -120px;
}


.shape-two {

    width: 380px;

    height: 380px;

    background:
        radial-gradient(
            circle,
            rgba(14, 165, 233, .12),
            transparent 70%
        );

    bottom: -180px;

    left: -140px;
}


.shape-three {

    width: 280px;

    height: 280px;

    background:
        radial-gradient(
            circle,
            rgba(99, 102, 241, .10),
            transparent 70%
        );

    top: 35%;

    left: 10%;
}


/* =========================================================
   WRAPPER
   ========================================================= */

.login-wrapper {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 440px;

    margin: 0 auto;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand-section {

    text-align: center;

    margin-bottom: 28px;
}


.brand-icon {

    width: 64px;

    height: 64px;

    margin: 0 auto 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 18px;

    color: white;

    font-size: 29px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    box-shadow:
        0 12px 30px rgba(37, 99, 235, .25);
}


.brand-section h1 {

    margin: 0;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -0.7px;
}


.brand-section p {

    margin: 7px 0 0;

    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 400;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.login-card {

    background: var(--card);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255, 255, 255, .75);

    border-radius: var(--radius);

    padding: 34px;

    box-shadow: var(--shadow);
}


/* =========================================================
   LOGIN HEADER
   ========================================================= */

.login-header {

    margin-bottom: 27px;
}


.welcome-label {

    display: inline-block;

    margin-bottom: 8px;

    color: var(--primary);

    font-size: 12px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;
}


.login-header h2 {

    margin: 0;

    font-size: 23px;

    font-weight: 750;

    letter-spacing: -.5px;
}


.login-header p {

    margin: 8px 0 0;

    color: var(--text-secondary);

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   ALERT
   ========================================================= */

.login-alert {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    border: 0;

    border-radius: 12px;

    font-size: 13px;

    padding: 12px 14px;

    margin-bottom: 20px;
}


/* =========================================================
   FORM
   ========================================================= */

.form-group-modern {

    margin-bottom: 20px;
}


.form-label {

    margin-bottom: 8px;

    color: #374151;

    font-size: 13px;

    font-weight: 600;
}


.input-modern {

    position: relative;
}


.input-modern > i {

    position: absolute;

    left: 16px;

    top: 50%;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 17px;

    pointer-events: none;

    z-index: 2;
}


.input-modern .form-control {

    height: 52px;

    border: 1px solid var(--border);

    border-radius: 13px;

    padding-left: 47px;

    padding-right: 47px;

    color: var(--text-primary);

    background: #ffffff;

    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


.input-modern .form-control::placeholder {

    color: #a1a1aa;
}


.input-modern .form-control:hover {

    border-color: #cbd5e1;
}


.input-modern .form-control:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .10);

    outline: none;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-toggle {

    position: absolute;

    right: 14px;

    top: 50%;

    transform: translateY(-50%);

    border: 0;

    background: transparent;

    color: #9ca3af;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 8px;

    cursor: pointer;

    transition: all .2s ease;
}


.password-toggle:hover {

    background: #f3f4f6;

    color: var(--primary);
}


/* =========================================================
   LOGIN OPTIONS
   ========================================================= */

.login-options {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: -3px 0 23px;
}


.form-check {

    min-height: auto;

    margin: 0;
}


.form-check-input {

    width: 16px;

    height: 16px;

    margin-top: 2px;

    border-color: #d1d5db;

    cursor: pointer;
}


.form-check-input:checked {

    background-color: var(--primary);

    border-color: var(--primary);
}


.form-check-label {

    margin-left: 4px;

    color: #6b7280;

    font-size: 12px;

    cursor: pointer;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.btn-login {

    position: relative;

    width: 100%;

    min-height: 52px;

    border: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #4f46e5
        );

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, .20);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}


.btn-login:hover {

    color: #ffffff;

    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(37, 99, 235, .28);
}


.btn-login:active {

    transform: translateY(0);
}


.btn-login:disabled {

    opacity: .8;

    cursor: wait;
}


/* =========================================================
   FOOTER
   ========================================================= */

.login-footer {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 22px;

    color: #9ca3af;

    font-size: 11px;
}


.login-footer .version {

    padding-left: 12px;

    border-left: 1px solid #d1d5db;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 575.98px) {

    .login-page {

        padding: 25px 15px;
    }


    .login-card {

        padding: 25px 21px;

        border-radius: 20px;
    }


    .brand-icon {

        width: 58px;

        height: 58px;

        font-size: 25px;
    }


    .brand-section h1 {

        font-size: 22px;
    }


    .login-header h2 {

        font-size: 20px;
    }


    .login-footer {

        flex-direction: column;

        gap: 5px;
    }


    .login-footer .version {

        padding-left: 0;

        border-left: 0;
    }

}