:root {
    --navy: #071B3B;
    --navy2: #0D2B57;
    --gold: #D2A93B;
    --gold-light: #E9C86A;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Almarai',sans-serif;
    background: #071B3B;
}

/* =========================
   PAGE
========================= */

.login-page {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    /* =========================
   BACKGROUND
========================= */

    .login-page::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("../Login/img/right.jpg") center center no-repeat;
        background-size: cover;
        z-index: 1;
    }

    .login-page::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(7,27,59,.08), rgba(7,27,59,.18), rgba(7,27,59,.28));
        z-index: 2;
    }

/* =========================
   CONTAINER
========================= */

.login-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    direction: ltr;
}

.left-side {
    flex: 1;
}

.right-side {
    width: 820px;
    min-width: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-right: 200px;
    direction: rtl;
    opacity: 90%;
}

.container-fluid,
.row {
    height: 100%;
}

/* =========================================
   GLASS CARD
========================================= */

.login-card {
    position: relative;
    width: 100%;
    max-width: 470px;
    padding: 55px 42px;
    border-radius: 36px;
    background: linear-gradient( 180deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.04) 30%, rgba(10,28,65,.12) 100% );
    backdrop-filter: blur(45px) saturate(220%);
    -webkit-backdrop-filter: blur(45px) saturate(220%);
    border: 1px solid rgba(255,255,255,.14);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.25), inset 0 -30px 50px rgba(0,0,0,.18), inset 0 0 60px rgba(255,255,255,.04);
}

    /* Gold Border */
    .login-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 36px;
        padding: 2px;
        background: linear-gradient( 135deg, rgba(255,255,255,.95), rgba(255,215,120,.95) 18%, rgba(255,255,255,.10) 45%, rgba(255,215,120,.70) 70%, rgba(255,255,255,.70) );
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
    }

    .login-card .glass-shine {
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        overflow: hidden;
    }

        .login-card .glass-shine::before {
            content: "";
            position: absolute;
            left: -35%;
            top: -40%;
            width: 80%;
            height: 160%;
            transform: rotate(25deg);
            background: linear-gradient( to right, transparent, rgba(255,255,255,.20), rgba(255,255,255,.05), transparent );
            filter: blur(12px);
        }

        .login-card .glass-shine::after {
            content: "";
            position: absolute;
            right: -15%;
            bottom: -15%;
            width: 220px;
            height: 220px;
            border-radius: 50%;
            background: rgba(255,255,255,.04);
            filter: blur(35px);
        }

    .login-card::after {
        content: "";
        position: absolute;
        top: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 5px;
        border-radius: 50%;
        background: #ffd66b;
        box-shadow: 0 0 12px #ffd66b, 0 0 25px #ffd66b, 0 0 45px rgba(255,214,107,.7);
    }

.glass-top {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 10px;
    height: 80px;
    border-radius: 40px;
    background: linear-gradient( 180deg, rgba(255,255,255,.18), transparent );
    filter: blur(18px);
    pointer-events: none;
}

.glass-side {
    position: absolute;
    top: 25px;
    right: 10px;
    width: 65px;
    height: 95%;
    border-radius: 60px;
    background: linear-gradient( 90deg, rgba(255,255,255,.20), transparent );
    filter: blur(25px);
    opacity: .55;
    pointer-events: none;
}

.glass-bottom {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient( rgba(255,255,255,.10), transparent 70% );
    filter: blur(40px);
    pointer-events: none;
}

.glass-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
}

    .glass-shine::before {
        content: "";
        position: absolute;
        width: 120%;
        height: 260%;
        left: -90%;
        top: -65%;
        transform: rotate(28deg);
        background: linear-gradient( to right, transparent, rgba(255,255,255,.22), rgba(255,255,255,.05), transparent );
        filter: blur(18px);
        animation: glassMove 9s linear infinite;
    }

@keyframes glassMove {

    from {
        left: -90%;
    }

    to {
        left: 170%;
    }
}

.login-card .gold-light {
    position: absolute;
    width: 350px;
    height: 350px;
    right: -180px;
    top: -120px;
    border-radius: 50%;
    background: rgba(232,194,84,.18);
    filter: blur(90px);
    z-index: -1;
}

.login-card {
    outline: 1px solid rgba(255,255,255,.05);
    outline-offset: -6px;
}

    .login-card .corner-reflection {
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
    }

        .login-card .corner-reflection::before {
            content: "";
            position: absolute;
            width: 170px;
            height: 170px;
            left: -35px;
            top: -35px;
            border-radius: 50%;
            border: 3px solid rgba(255,255,255,.35);
            filter: blur(6px);
            opacity: .35;
        }

        .login-card .corner-reflection::after {
            content: "";
            position: absolute;
            width: 170px;
            height: 170px;
            right: -35px;
            bottom: -35px;
            border-radius: 50%;
            border: 2px solid rgba(255,255,255,.18);
            filter: blur(8px);
            opacity: .25;
        }

.login-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(255,255,255,.70);
    font-size: 15px;
    z-index: 10;
}

    .login-footer span {
        color: #E8C254;
        font-weight: 700;
    }

/* =========================================
   LOGO
========================================= */

.logo-area {
    text-align: center;
    margin-bottom: 22px;
}

.logo-img {
    width: 150px;
    display: block;
    margin: auto;
}

/* =========================================
   HEADER
========================================= */

.login-header {
    text-align: center;
    margin-bottom: 34px;
}

    .login-header h2 {
        color: #fff;
        font-size: 44px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .login-header p {
        color: #d9d9d9;
        font-size: 22px;
        font-weight: 400;
    }

/* =========================================
   INPUTS
========================================= */

.input-group-custom {
    position: relative;
    margin-bottom: 24px;
}

    .input-group-custom .form-control {
        height: 74px;
        background: linear-gradient( 180deg, rgba(255,255,255,.08), rgba(255,255,255,.03) );
        border: 1px solid rgba(255,255,255,.20);
        color: #fff;
        border-radius: 22px;
        padding-right: 70px;
        padding-left: 55px;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.15), inset 0 -8px 18px rgba(0,0,0,.18), 0 8px 18px rgba(0,0,0,.12);
        transition: .35s;
    }

        .input-group-custom .form-control:focus {
            border-color: #dcb04b;
            background: rgba(255,255,255,.10);
            box-shadow: 0 0 25px rgba(232,194,84,.20), inset 0 1px 0 rgba(255,255,255,.18);
            color: white;
        }

        .input-group-custom .form-control::placeholder {
            color: rgba(255,255,255,.75);
        }

    .input-group-custom i:first-child {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #e6b84d;
        border: 1px solid rgba(230,184,77,.45);
        background: rgba(255,255,255,.04);
        z-index: 20;
        transition: .35s;
    }

/*.input-group-custom {
    position: relative;
    margin-bottom: 28px;
}

    .input-group-custom input {
        width: 100%;
        height: 74px;
        background: rgba(18,39,77,.88);
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 18px;
        color: #fff;
        font-size: 22px;
        padding-right: 74px;
        padding-left: 70px;
        transition: .35s;
    }

        .input-group-custom input::placeholder {
            color: #C7D1E1;
            opacity: 1;
        }

        .input-group-custom input:focus {
            outline: none;
            background: rgba(18,39,77,.96);
            border-color: #E0B84A;
            box-shadow: 0 0 20px rgba(224,184,74,.25);
        }*/

/* =========================================
   LEFT ICON
========================================= */

.input-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(224,184,74,.45);
    color: #E0B84A;
    font-size: 18px;
    z-index: 3;
}

/* =========================================
   PASSWORD EYE
========================================= */

#togglePassword {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #d7d7d7;
    cursor: pointer;
    font-size: 22px;
    transition: .3s;
    z-index: 5;
}

    #togglePassword:hover {
        color: #E0B84A;
    }

/* =========================================
   VALIDATION
========================================= */

.validation-error {
    min-height: 24px;
    color: #ff9f9f;
    font-size: 15px;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 18px;
}

/* =========================================
   REMEMBER + FORGOT
========================================= */

.remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 34px;
    color: #fff;
    font-size: 18px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

    .remember-me input {
        width: 18px;
        height: 18px;
        accent-color: #D4AA37;
    }

.forgot-link {
    color: #D4AA37;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

    .forgot-link:hover {
        color: #FFD56B;
    }

/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
    width: 100%;
    height: 72px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #C99B2A 0%, #E9C96B 100%);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    transition: .35s;
    position: relative;
    overflow: hidden;
}

    /* Shine Effect */

    .login-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.55), transparent);
        transition: .8s;
    }

    .login-btn:hover::before {
        left: 150%;
    }

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(214,178,75,.45);
    }

    .login-btn i {
        font-size: 28px;
    }

/* =========================================
   DIVIDER
========================================= */

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 36px 0 26px;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: rgba(255,255,255,.18);
    }

    .divider span {
        color: #CFCFCF;
        font-size: 18px;
    }

/* =========================================
   LANGUAGE
========================================= */

.language {
    margin-top: 28px;
    text-align: center;
}

    .language a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #D8D8D8;
        text-decoration: none;
        font-size: 17px;
        transition: .3s;
    }

        .language a:hover {
            color: #D4AA37;
        }

/* =========================================
   COPYRIGHT
========================================= */

.copyright {
    margin-top: 28px;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    letter-spacing: .5px;
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #D4AA37;
    border-radius: 20px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width:1200px) {

    .login-wrapper {
        padding-right: 4%;
    }

    .login-card {
        width: 480px;
    }
}

@media (max-width:992px) {

    .login-page::before {
        transform: scale(1);
        background-position: left center;
    }

    .login-wrapper {
        justify-content: center;
        padding: 25px;
    }

    .login-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width:768px) {

    .login-card {
        padding: 32px;
        border-radius: 26px;
    }

    .logo-img {
        width: 120px;
    }

    .login-header h2 {
        font-size: 32px;
    }

    .login-header p {
        font-size: 17px;
    }

    .input-group-custom input {
        height: 60px;
        font-size: 17px;
        padding-right: 60px;
        padding-left: 55px;
    }

    .input-icon {
        width: 34px;
        height: 34px;
        right: 18px;
        font-size: 15px;
    }

    #togglePassword {
        left: 18px;
        font-size: 18px;
    }

    .remember-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .login-btn {
        height: 60px;
        font-size: 22px;
    }
}

@media (max-width:576px) {

    .login-page::before {
        background-position: 35% center;
    }

    .login-wrapper {
        padding: 18px;
    }

    .login-card {
        padding: 24px;
        border-radius: 22px;
    }

    .logo-img {
        width: 100px;
    }

    .login-header {
        margin-bottom: 24px;
    }

        .login-header h2 {
            font-size: 26px;
        }

        .login-header p {
            font-size: 15px;
        }

    .input-group-custom {
        margin-bottom: 18px;
    }

        .input-group-custom input {
            height: 54px;
            font-size: 16px;
        }

    .login-btn {
        height: 54px;
        font-size: 20px;
    }

    .language {
        margin-top: 20px;
    }

    .copyright {
        margin-top: 18px;
        font-size: 12px;
    }
}
