﻿@charset "UTF-8";

/* ==========================================================================
   1. CONFIGURATION & SETUP
   ========================================================================== */

/* ---------- 1.1. Fonts ---------- */
@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-Regular.woff2) format("woff2");
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-Bold.woff2) format("woff2");
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: "Cairo";
    src: url(../fonts/Cairo-SemiBold.woff2) format("woff2");
    font-weight: 600;
    font-display: swap;
}

/* ---------- 1.2. Root Variables ---------- */
:root {
    /* Spacing */
    --spacer: 1rem;
    /* Colors */
    --bs-primary: #CE1126;
    --bs-dark: #212529;
    --bs-gray-600: #6c757d;
    --bs-white: #fff;
    --bs-border-color: #dee2e6;
    --c-primary-dark: #a00b1a;
    --c-primary-dark-hover: #CE1126;
    --c-primary-blue: #CE1126;
    --c-text-primary: #344054;
    --c-text-secondary: #4d4d4d;
    --c-text-light: #fff;
    --c-error: #ff0018;
    --c-sanad-green: hsl(152, 63%, 43%);
    --c-sanad-green-hover: hsl(152, 63%, 49%);
    --c-border-light: #d0d5dd;
    --c-focus-shadow: 0 0 0 .2rem rgba(206, 17, 38, .25);
    --primary-soft-bg: #fef2f3;
    --primary-soft-color: #a00b1a;
    /* Borders & Radius */
    --bs-border-radius: 0.25rem;
    --bs-border-radius-lg: 20px;
    --bs-border-radius-pill: 50rem;
    /* Scrollbar */
    --scrollbar-bg: #F2F2F2;
    --scrollbar-thumb: #ccc;
    --faq-primary-color: #CE1126; /* Jordan Red */
    --faq-text-primary: #101828;
    --faq-text-secondary: #475467;
    --faq-border-color: #ddd;
    --faq-bg-light: #F9FAFB;
    --faq-bg-white: #FFFFFF;
}

/* ---------- 1.3. Custom Scrollbars ---------- */
::-webkit-scrollbar,
::-webkit-scrollbar-corner {
    background: var(--scrollbar-bg);
    height: 12px;
    width: 12px;
    border-radius: 13px;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border: 0 solid transparent;
    border-radius: 9999px;
    min-height: 48px;
    min-width: 48px;
}

    :hover::-webkit-scrollbar-thumb,
    ::-webkit-scrollbar-thumb:active,
    ::-webkit-scrollbar-thumb:hover {
        background: var(--scrollbar-thumb);
    }

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

@supports not selector(::-webkit-scrollbar) {
    * {
        scrollbar-color: var(--scrollbar-thumb) transparent;
        scrollbar-gutter: auto;
        scrollbar-width: auto;
    }

        *:hover {
            scrollbar-color: var(--scrollbar-thumb) transparent;
        }
}

/* ==========================================================================
   2. BASE & RESET STYLES
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: "Cairo", sans-serif !important;
    background-color: #4D4D4D;
    direction: rtl;
    text-align: start;
    padding-top: 47px;
    overflow-x: hidden;
}

button,
input {
    font-family: inherit;
}

    input[type="submit"] {
        cursor: pointer
    }

    input[type="password"]::-ms-reveal,
    input[type="password"]::-ms-clear,
    input[type="password"]::-webkit-credentials-auto-fill-button,
    input[type="password"]::-webkit-textfield-decoration-container {
        display: none !important;
    }

/* ==========================================================================
   3. UTILITY & FRAMEWORK CLASSES
   ========================================================================== */
.LoginPage {
    padding-bottom: 134px;
    position: relative
}


/* --- Grid System --- */
[class^="itg-icons"], [class*="itg-icons"],
.itg-icons {
    font-family: 'itg-icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
}

    .itg-icons.chalkboardScreen:before {
        content: "\e95b";
    }

    .itg-icons.graduation:before {
        content: "\e958";
    }

    .itg-icons.planets:before {
        content: "\e959";
    }


.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-12,
.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

/* --- Flexbox & Sizing --- */
.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

/* --- Spacing --- */
.mt-3 {
    margin-top: var(--spacer) !important;
}

.mt-4 {
    /* margin-top: calc(var(--spacer) * 1.5) !important; */
}

.my-4 {
    margin-top: calc(var(--spacer) * 1.5) !important;
    margin-bottom: calc(var(--spacer) * 1.5) !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-4 {
    margin-bottom: calc(var(--spacer) * 1.5) !important;
}

.py-2 {
    padding-top: calc(var(--spacer) * 0.5) !important;
    padding-bottom: calc(var(--spacer) * 0.5) !important;
}

.no_padding {
    padding: 0 !important;
}

/* --- Text & Typography --- */
.font-weight-bold {
    font-weight: 700 !important;
}

.logo-header .main-text,
.faq-header h2,
h1.font-weight-bold {
    font-family: 'Cairo';
    font-weight: 600 !important;
    font-size: 40px;
    line-height: 60px;
    text-align: right;
    vertical-align: middle;
    display: inherit
}

h1.font-weight-bold {
    margin-bottom: 16px;
    margin-top: 8px;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-dark {
    color: var(--bs-dark) !important;
}

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    background-image: url(../images/particlesStaticImageWhite.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.w-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    height: 100%;
    min-height: calc(100dvh - 135px);
    padding-bottom: 16px;
}

    .w-container .col-lg-6:nth-child(1) {
        margin-top: 2rem
    }

@media(max-width:991px) {
    .w-container .col-lg-6:nth-child(2) {
        scale: .9;
        margin: 2rem auto !important;
    }

    .icon-bullet-text.one {
        top: 75px;
        right: -66px !important;
    }

    .icon-bullet.six {
        right: 374px !important;
    }
}


.headerLogo {
    display: block;
    width: fit-content;
}

.logo-container {
    display: flex;
    position: relative;
    justify-content: flex-start;
    gap: 20px;
    width: fit-content;
    padding-left: 20px;
}

    .logo-container > a {
        position: relative;
        width: fit-content;
        padding: 0;
        margin: 0;
        box-sizing: content-box;
        height: 104px;
        width: 104px;
    }

        #footer span.text-dark a:focus-within,
        .login-option:focus-within,
        .logo-container > a:focus-within {
            outline: 0;
            border-radius: 1rem;
            box-shadow: var(--c-focus-shadow) !important;
        }

        .logo-container > a:after {
            content: "";
            width: 1px;
            height: 48px;
            position: absolute;
            left: -10px;
            top: 24px;
            background-color: rgba(230, 230, 230, 1);
            pointer-events: none;
        }

.logo_new,
.productLogo {
    width: 96px;
    height: 96px;
    padding: 3px;
    border: 1px solid rgba(242, 242, 242, 1);
    border-radius: 50%;
    background-color: #fff;
    box-sizing: content-box !important;
}

#footerContainer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 14px;
    padding-left: 8px;
    background: linear-gradient(0deg, #FFFFFF 35.05%, rgba(255, 255, 255, 0.02) 100%);
    z-index: 12;
    box-sizing: content-box;
}

@media(max-height:600px) {
    #footerContainer {
        position: absolute;
        background: linear-gradient(0deg, #FFFFFF 35.05%, rgba(255, 255, 255, 0.02) 100%);
        right: 8px;
        bottom: -32px;
    }
}

#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content !important;
    margin: 0 auto;
    padding-bottom: 16px;
    padding-left: 0;
    width: 100% !important;
}

    #footer .text-dark {
        color: var(--c-text-secondary) !important;
        text-decoration: none;
        font-size: 12px !important;
        font-weight: 600 !important;
        display: block;
    }

    #footer span.text-dark:first-of-type {
        padding-bottom: 4px;
        padding-top: 16px;
    }

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ---------- 5.1. Forms & Inputs ---------- */
.login_form_1 {
    max-width: 396px;
    width: 100%;
    margin: 0 auto;
}

.login_feild_label {
    color: var(--c-text-primary) !important;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 36px;
    display: block;
}

.login-input {
    display: block;
    width: 100%;
    padding: .75rem 1.25rem;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: var(--bs-white);
    background-clip: padding-box;
    border: 1px solid var(--c-border-light);
    appearance: none;
    border-radius: var(--bs-border-radius-lg);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
}

    .login-input:focus {
        border-color: #e8939b;
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: color 0.2s ease;
}

    .password-toggle:hover {
        color: #495057;
    }

    .password-toggle:focus {
        outline: none;
    }

.login-input.has-toggle {
    padding-left: 48px;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-toggle .eye-open {
    display: block;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.show-password .eye-open {
    display: none;
}

.password-toggle.show-password .eye-closed {
    display: block;
}

.error_home span {
    color: var(--c-error);
    font-weight: 400;
    font-size: 13px;
}

#footer span.text-dark a,
.login-option {
    color: rgba(71, 84, 103, 1) !important;
    text-decoration: none;
    text-align: right;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: color ease .3;
}

    #footer span.text-dark a:hover,
    .login-option:hover {
        color: var(--c-primary-blue) !important;
    }

#footer span.text-dark a {
    font-size: inherit !important;
}

#tMbPAR1::placeholder,
#tMbPAN1::placeholder {
    font-weight: 500 !important;
    font-size: 16px !important;
    color: rgba(102, 112, 133, 1) !important;
}

.LoginForm-ForgetPass a {
    color: var(--c-primary-dark) !important;
}

.captch-holder {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

    .captch-holder > div:nth-child(1) {
        flex: 0 0 70%;
    }

        .captch-holder > div:nth-child(1) input {
            width: 100% !important;
        }

    .captch-holder > div:nth-child(2) {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        border: 1px solid var(--c-border-light);
        appearance: none;
        border-radius: var(--bs-border-radius-lg);
        background-color: #fff;
        flex: 0 0 calc(30% - 8px);
    }

        .captch-holder > div:nth-child(2) > img {
            width: 100%
        }
/* ---------- 5.2. Buttons ---------- */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: var(--bs-border-radius);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-block {
    display: block;
    width: 100%;
}

.rounded-pill {
    border-radius: var(--bs-border-radius-pill) !important;
}

.submitBtn {
    background-color: var(--c-primary-dark);
    color: var(--c-text-light);
    border: 0;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
    height: 56px;
    font-size: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color .3s ease-in-out;
    text-decoration: none
}

    .submitBtn:hover {
        background-color: var(--c-primary-dark-hover);
        color: var(--c-text-light);
    }

    .submitBtn:focus {
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

    .submitBtn img {
        width: 68px;
        height: 30px;
        flex-shrink: 0;
    }

.sanad-btn svg {
    width: 96px;
    height: 32px;
    flex-shrink: 0;
    margin-left: -12px
}

.office-btn svg {
    width: 96px;
    height: 26px;
    flex-shrink: 0;
}

.office-btn {
    background-color: #3F444D;
}

    .office-btn:hover {
        background-color: #586371;
    }

.sanad-btn {
    text-decoration: none !important;
    background-color: var(--c-sanad-green) !important;
}

    .sanad-btn:hover {
        background-color: var(--c-sanad-green-hover) !important;
    }

    .office-btn:focus,
    .sanad-btn:focus {
        box-shadow: var(--c-focus-shadow) !important;
    }

/* Student Login Highlight for Office 365 */
.student-login-wrapper {
    position: relative;
    margin-top: 32px !important;
}

.student-indicator {
    position: absolute;
    top: -18px;
    right: 20px;
    background: linear-gradient(135deg, #E53935, #C62828);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(229, 57, 53, 0.3);
    animation: bounce-indicator 2s infinite;
}

@keyframes bounce-indicator {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.student-indicator i {
    font-size: 16px;
}

.student-pulse {
    position: relative;
    overflow: visible;
    border: 2px solid #E53935;
    transition: all 0.3s ease;
}

    .student-pulse::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 50rem;
        border: 2px solid #E53935;
        animation: office-pulse 2s infinite;
        pointer-events: none;
    }

@keyframes office-pulse {
    0% {
        transform: scale(0.98);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.05);
        opacity: 0;
    }

    100% {
        transform: scale(0.98);
        opacity: 0;
    }
}

/* ---------- 5.3. Sliders / Pages ---------- */
.slider-container {
    height: 100%;
    min-height: calc(100dvh - 135px);
    max-width: 2000px;
    margin: 0 auto;
}

.slidePg {
    width: 100%;
    height: 100%;
    display: none;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

    .slidePg.active {
        display: flex;
        overflow: hidden;
        opacity: 1;
        transition: opacity .5s ease-in-out;
        overflow: visible;
    }

.slide2-head {
    color: #1A1A1A;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    line-height: 60px;
    margin-top: 0;
}

.slide2-body {
    color: #1A1A1A;
    text-align: center;
    font-size: 20px;
    max-width: 750px;
    width: 100%;
    margin-bottom: 24px;
    font-weight: 400;
    line-height: 32px;
}

/* ---------- 5.4. Pagination (Slider) ---------- */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.LoginPage .pagination {
    gap: 10px;
    background: var(--bs-white);
    padding: 8px 24px;
    border-radius: 32px;
    width: 200px;
    justify-content: center;
    align-self: center;
    align-items: center;
    box-shadow: 0px 4px 40px 0px #A1A1A140;
    min-height: 64px;
}

    .LoginPage .pagination:empty {
        display: none;
    }

.bullet {
    outline: none;
    box-shadow: none;
    border: none;
    width: 20px;
    height: 20px;
    background: #e6e6e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all .3s ease-out;
}

    .bullet.active {
        width: 64px;
        height: 32px;
        background-color: var(--c-primary-blue);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Cdefs%3E%3Cpattern id='p' width='6' height='6' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='2' height='2' fill='%23ffffff' fill-opacity='0.12'/%3E%3C/pattern%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='.35' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='.65' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='1'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='64' height='32' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='64' height='32' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
        background-size: cover;
        border-radius: 16px;
        position: relative;
    }

        .bullet.active::before,
        .bullet.active::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 8px;
            height: 8px;
            border-style: solid;
            border-color: var(--bs-white);
            border-width: 2px 2px 0 0;
        }

        .bullet.active::before {
            left: 30%;
            transform: translateY(-50%) rotate(225deg);
        }

        .bullet.active::after {
            right: 30%;
            transform: translateY(-50%) rotate(45deg);
        }

/* ---------- 5.5. Accordion (FAQ) & FAQ Pagination ---------- */
.faq-body {
    min-height: calc(100dvh - 290px);
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    gap: 12px;
}

    .faq-body > * {
        width: 100%;
        max-width: 800px;
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
    }

    .faq-body > input {
        width: 100%;
        padding: 4px 16px;
        border-radius: 24px;
        font-family: "Cairo";
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        text-align: right;
        background-color: #fff !important;
        outline: none;
        border: 1px solid #ddd;
    }

.accordion {
    width: 100%;
}

    .accordion .card {
        margin-bottom: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

        .accordion .card:not(:last-of-type) {
            border-bottom: 0;
        }

        .accordion .card:first-of-type {
            border-top-left-radius: var(--bs-border-radius);
            border-top-right-radius: var(--bs-border-radius);
        }

        .accordion .card:last-of-type {
            border-bottom-left-radius: var(--bs-border-radius);
            border-bottom-right-radius: var(--bs-border-radius);
        }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--bs-white);
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: var(--bs-border-radius);
}

.card-header {
    padding: 0.5rem 1rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.collapse {
    display: none;
    overflow: hidden;
    transition: height 0.35s ease-out;
}

    .collapse.show {
        display: block;
    }

.collapsed .arrow-up {
    transform: rotate(-180deg);
}

.arrow-up {
    transition: transform 0.3s ease;
}

.alert {
    position: relative;
    padding: var(--spacer);
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius);
}

.bg-primary-soft {
    color: var(--primary-soft-color);
    background-color: var(--primary-soft-bg);
}

/* ==========================================================================
   6. PAGE-SPECIFIC STYLES
   ========================================================================== */

/* ---------- 6.1. Slider Page 1 (Login Form) ---------- */
.login-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
}

    .login-left .image-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        height: auto;
        padding: 50px 30px;
    }

/* ---------- 6.2. Slider Page 2 & 3 (Grids) ---------- */
.logo-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 32px 0 32px auto;
    padding: 0 16px
}

    .logo-header .logo-text {
        text-align: right;
    }

.grid-4-cols-2-rows {
    display: grid;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.grid-3-cols {
    display: grid;
    gap: 1.5rem;
    max-width: 1180px;
    margin: 0 auto;
    overflow: visible;
}

div:has(>.grid-3-cols) {
    overflow: visible
}

.grid-4-cols-2-rows {
    grid-template-columns: repeat(3, 1fr);
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-item {
    transition: all ease-in-out .3s
}

    .grid-item:not(.image-card):hover {
        background-color: var(--c-primary-blue);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpattern id='p' width='8' height='8' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='3' height='3' fill='%23ffffff' fill-opacity='0.06'/%3E%3C/pattern%3E%3CradialGradient id='f' cx='50%25' cy='50%25' r='50%25'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='1'/%3E%3C/radialGradient%3E%3Cmask id='m'%3E%3Crect width='200' height='200' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='200' height='200' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
        background-size: cover;
    }

.grid-3-cols > .grid-item {
    padding: 24px !important;
}

    .grid-3-cols > .grid-item ul li {
        font-size: 14px !important;
        line-height: 20px !important;
        transition: all ease-in-out .3s;
    }

.grid-item.image-card {
}

.grid-4-cols-2-rows .card {
    height: 248px !important;
    overflow: hidden
}

    .grid-4-cols-2-rows .card:before {
        font-family: "itg-icons";
        font-size: 8rem;
        position: absolute;
        text-align: center;
        color: #fff;
        top: -1.45rem;
        right: -1.25rem;
        width: 50%;
        background-color: var(--c-primary-blue);
        border-radius: 50%;
        z-index: 0;
        opacity: .075;
        transition: all ease-in-out .3s;
    }

.grid-item:not(.image-card):hover.card:before {
    background-color: #fff;
    color: var(--c-primary-blue);
}

.graduation-bg:before {
    content: '\e958'
}

.stars-bg:before {
    content: '\e957'
}

.openbook-bg:before {
    content: '\e955'
}

.brain-bg:before {
    content: '\e956'
}

.card {
    background-color: var(--bs-white);
    padding: 16px 8px;
    border-radius: 24px;
    box-shadow: 0px 4px 40px 0px #A1A1A140;
    border: none;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    width: 56px;
    border-radius: 50%;
    background-color: var(--c-primary-blue);
    color: var(--c-text-light);
    margin-bottom: 12px;
    transition: all ease-in-out .3s;
}

.grid-item.image-card {
    padding: 0 !important;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.12) !important;
}

.grid-item:not(.image-card):hover .card-icon {
    background-color: #fff;
}

.grid-item:not(.image-card):hover li {
    color: #f6f6f6;
}

.card-icon i {
    font-size: 2rem;
    transition: all ease-in-out .3s;
}

.grid-item:not(.image-card):hover .card-icon i {
    color: var(--c-primary-blue);
}

.card h2 {
    font-weight: 700;
    font-size: 18px;
    color: var(--bs-dark);
    margin-top: 0;
    padding: 0 8px;
    margin-bottom: 12px;
    transition: all ease-in-out .3s;
}

.grid-item:not(.image-card):hover h2 {
    color: #fff
}

.card ul {
    list-style: none;
    padding: 0 8px;
    margin: 0;
    overflow: auto;
}

.card li {
    position: relative;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    padding-right: 10px;
    text-align: right;
    padding-bottom: 12px;
    color: #4D4D4D;
    transition: all ease-in-out .3s;
}

    .card li:last-child {
        margin-bottom: 0;
    }

    .card li:before {
        content: '';
        position: absolute;
        right: 0;
        top: 6px;
        width: 4px;
        height: 4px;
        background-color: #777;
        border-radius: 1px;
    }

/* ==========================================================================
   7. FAQ SECTION STYLES
   ========================================================================== */
.faq-page-container {
    width: 100%;
    max-width: 1200px;
    min-width: min(1200px,90vw);
    margin: auto;
    direction: rtl;
    padding-bottom: 16px;
}

.faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 32px;
}

.faq-header-title {
    display: flex;
    text-align: right;
    gap: 8px;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.sub-text,
.faq-header p {
    font-family: 'Cairo';
    font-size: 1.1rem;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: var(--faq-text-secondary);
    display: block;
    padding-top: 16px;
}

.faq-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Sidebar for topics */
.faq-sidebar {
    flex: 0 0 240px;
}

@media(max-width:656px) {
    .faq-page-container {
        width: calc(100% - 32px) !important;
        min-width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        overflow: hidden
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-user-filters {
        gap: 4px !important;
        flex-wrap: nowrap !important;
        max-width: 100dvw;
        overflow-x: auto;
        padding-bottom: 8px !important;
    }

        .faq-user-filters > * {
            white-space: nowrap;
            min-width: fit-content !important;
        }

        .faq-user-filters > span {
            display: none
        }

    .faq-layout {
        flex-direction: column
    }

    .faq-sidebar {
        flex: 0 0 100% !important;
        max-width: 100vw;
        overflow-x: auto;
    }

    .faq-topic-list {
        flex-direction: row !important;
        padding-bottom: 8px;
        width: 100%;
    }

    .faq-topic-list {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
}

.faq-topic-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.faq-topic-item {
    display: block;
    min-height: 42px;
    padding: 7px 20px 0 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    color: var(--faq-text-secondary);
    border: 1px solid var(--faq-border-color);
    background-color: var(--faq-bg-white);
    transition: background-color ease 0.2s, color ease 0.2s, border-color ease 0.5s;
}

    .faq-topic-item:hover {
        background-color: var(--faq-bg-light);
    }

    .faq-topic-item.active {
        color: var(--c-primary-blue);
        border-color: var(--c-primary-blue)
    }

/* Main content area */
.faq-main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.faq-user-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--bs-border-color);
    padding-bottom: 1.5rem;
}

    .faq-user-filters > span {
        font-family: 'Cairo';
        font-weight: 500;
        font-size: 15px;
        line-height: 24px;
        text-align: right;
        color: rgba(102, 102, 102, 1);
        line-height: 2rem;
    }

.faq-user-filter {
    font-weight: 600;
    font-size: 16px;
    padding: 3px 20px 5px 20px;
    border-radius: 20px;
    border: 1px solid var(--faq-border-color);
    background-color: var(--faq-bg-white);
    font-weight: 600;
    color: var(--faq-text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 128px
}

    .faq-user-filter:hover {
        background-color: var(--faq-bg-light);
    }

    .faq-user-filter.active {
        background-color: var(--c-primary-blue);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='36' viewBox='0 0 128 36'%3E%3Cdefs%3E%3Cpattern id='p' width='6' height='6' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='2' height='2' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/pattern%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='0'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='.3' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='.7' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='1'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='128' height='36' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='128' height='36' fill='url(%23p)' mask='url(%23m)'/%3E%3C/svg%3E");
        background-size: cover;
        color: white;
        border-color: var(--c-primary-blue);
    }

.faq-search {
    margin-bottom: 1.5rem;
    position: relative;
}

#faqSearchInput {
    width: 100%;
    padding: 12px 20px 12px 45px; /* Padding on the right for icon */
    border: 1px solid var(--faq-border-color);
    border-radius: 24px;
    font-size: 16px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    padding-right: 48px;
    height: 46px
}

.faq-search::before {
    content: '';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3e%3cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
}

#faqSearchInput:focus {
    border-color: transparent;
    outline: 0;
    box-shadow: var(--c-focus-shadow);
}
/* Accordion styles */
#faqAccordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: none;
}

.faq-item {
    border: 1px solid var(--faq-border-color);
    border-radius: 24px;
    background-color: var(--faq-bg-white);
    overflow: hidden;
    transition: border 0.3s ease
}

    .faq-item:has(.show) {
        border-color: var(--c-primary-blue);
    }

.faq-item-header .faq-question-btn {
    width: 100%;
    padding: .75rem 1.5rem;
    text-align: right;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    position: relative;
    box-shadow: none;
}

    .faq-item-header .faq-question-btn[aria-expanded="true"] .faq-question-text {
        color: var(--c-primary-blue);
    }

.faq-question-btn::after {
    font-family: 'itg-icons';
    content: "\e95d";
    color: var(--c-text-secondary);
    position: absolute;
    left: 1.5rem;
    top: calc(50% - .4rem);
    transition: transform 0.3s ease,color 0.3s ease;
}

.faq-question-btn:not(.collapsed)::after {
    transform: rotate(-180deg);
    color: var(--c-primary-blue);
}


.faq-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
}

.faq-tag-topic,
.faq-tag-user {
    padding: 2px 10px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
}

.faq-tag-user,
.faq-tag-topic {
    border: 1px solid var(--c-border-light);
    color: rgb(102 102 102);
}

    .faq-tag-topic:before {
        content: '?';
        display: inline-block;
        padding-left: 3px;
        font-size: 16px;
        line-height: 1;
        font-family: 'Cairo';
        font-weight: 900;
        color: rgb(102 102 102 / 55%);
    }

.faq-question-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--faq-text-primary);
    transition: color 0.2s ease
}

.faq-item-body {
    padding: 0rem 1.5rem 1rem 1.5rem;
    color: var(--faq-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.collapse:not(.show) {
    display: none;
}

/* Pagination */
.page-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--faq-border-color);
}

    .page-arrow:hover {
        background-color: var(--faq-bg-light);
    }

.page-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    background-color: var(--faq-border-color);
}

    .page-dot.active {
        background-color: var(--faq-primary-color);
    }

.no-results-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    color: var(--faq-text-secondary);
    font-size: 1.1rem;
    border-radius: 12px;
}
/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large screens (up to 1200px) */
@media (max-width: 1200px) {
    .grid-3-cols,
    .grid-4-cols-2-rows {
        grid-template-columns: repeat(2, 1fr);
        padding-inline: 32px;
    }
}

/* Medium screens (up to 992px) */
@media (min-width: 992px) {
    .slidePg .w-container .col-lg-6:nth-child(2) {
        display: flex !important;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .align-items-lg-start {
        align-items: flex-start !important;
    }

    .justify-content-lg-center {
        justify-content: center !important;
    }
}

@media (max-width: 991px) {
    .slidePg.active > div.justify-content-lg-center {
        height: 100%;
    }

    .slidePg {
        overflow-x: auto;
    }

    .LoginPage #container div:has(>.login-left) {
        display: none;
    }

    .headerLogo {
        text-align: center;
    }
}

/* Small screens (up to 768px) */
@media (max-width: 768px) {
    .faq-header-title,
    .logo-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 2rem;
    }

    .logo-container {
        justify-content: center !important;
        width: 100%;
        padding: 0;
    }

    .login_form_1 .logo-container {
        justify-content: flex-start !important;
        padding: 0 !important;
    }

    .logo-header .headerLogo {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .logo-header .main-text,
    .faq-header h2 {
        text-align: center !important;
        font-size: 2rem
    }

    h1.font-weight-bold {
        font-size: 2rem
    }

    .sub-text, .faq-header p {
        text-align: center;
        font-size: 1.15rem;
    }

    .grid-3-cols,
    .grid-4-cols-2-rows {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .grid-item.image-card {
    }

    .card {
        padding: 1rem;
    }
}

#itg-tooltip-container {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 14px;
    font-size: var(--font-12, 12px);
    pointer-events: none;
    opacity: 0;
    z-index: 9999;
    max-width: 250px;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-family: 'Cairo';
    font-weight: 900;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
}

    #itg-tooltip-container.active {
        opacity: 1;
        transform: translateY(0);
    }

.tooltip-content {
    padding: 9px 14px;
}

    .tooltip-content:empty {
        padding: 0 0;
    }

.tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
}

#itg-tooltip-container[data-placement="top"] .tooltip-arrow {
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

#itg-tooltip-container[data-placement="bottom"] .tooltip-arrow {
    top: -8px;
    left: 50%;
    margin-left: -8px;
    border-width: 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.8) transparent;
}

#itg-tooltip-container[data-placement="left"] .tooltip-arrow {
    right: -8px;
    top: 50%;
    margin-top: -8px;
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

#itg-tooltip-container[data-placement="right"] .tooltip-arrow {
    left: -8px;
    top: 50%;
    margin-top: -8px;
    border-width: 8px 8px 8px 0;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}
/* ==========================================================================
   Paywall specific styles for the Verification Code page
   ========================================================================== */
/* ---------- 9.1. Paywall Header Message ---------- */
/*
 * Styles for the new header message that informs the user where the code was sent.
 * It's designed to look clean and be an integral part of the paywall header.
 */
.paywall-header-message {
    padding: 0.75rem 1.5rem; /* Consistent padding */
    text-align: center;
    font-size: 14px; /* Slightly smaller than main text for hierarchy */
    font-weight: 400; /* Regular weight for informational text */
    color: var(--c-text-secondary); /* Softer text color */
    background-color: #f8f9fa; /* Very light gray background to separate it */
    border-bottom: 1px solid var(--bs-border-color);
    margin: calc(var(--spacer) * -2) calc(var(--spacer) * -2) var(--spacer); /* Negative margin pulls it to the edges */
    border-top-left-radius: inherit; /* Inherits the parent's border radius */
    border-top-right-radius: inherit;
}

    /* Ensure the text inside the header message is also centered */
    .paywall-header-message > span {
        display: block;
    }
/* The semi-transparent background overlay that covers the entire screen */
.paywall-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/particlesStaticImageWhite.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1000;
    padding: var(--spacer);
}

.paywall-note {
    border: 1px dashed rgb(0 0 0 / 18%);
    padding: 8px 12px !important;
    border-radius: 7px !important;
    font-size: 14px !important;
}
/* The main paywall container box */
.paywall.verification-code-paywall {
    max-width: 400px;
    width: 100%;
    background-color: var(--bs-white);
    border-radius: calc(var(--bs-border-radius-lg) - 8px);
    padding: calc(var(--spacer) * 2);
    box-shadow: 0px 4px 40px 0px rgba(161, 161, 161, .4);
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacer) * 1.5);
}

.paywall-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacer);
}

/* Container for all the form controls */
.paywall-controls {
    display: flex;
    flex-direction: column;
    gap: var(--spacer);
}

/* Wrapper for each input field */
.field-control {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Label for the input fields */
.feild-title {
    color: var(--c-text-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

/* Styles for the verification code input, based on .login-input */
.field-captcha #tbVerificationCaptcha,
.feild-data #tbAuthenticationCode {
    width: 100%;
    padding: .75rem 1.25rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #495057;
    background-color: var(--bs-white);
    border: 1px solid var(--c-border-light);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .field-captcha #tbVerificationCaptcha:focus,
    .feild-data #tbAuthenticationCode:focus {
        border-color: #e8939b;
        outline: 0;
        box-shadow: var(--c-focus-shadow) !important;
    }

/* Container for the CAPTCHA input and image */
.field-captcha {
    display: flex;
    align-items: center;
    gap: calc(var(--spacer) * 0.5);
}

    /* Styles for the CAPTCHA text input field */
    .field-captcha #tbVerificationCaptcha {
        width: 100%; /* Overriding inline style with a more robust rule */
        max-width: calc(100% - 108px) !important;
        margin-bottom: 0 !important;
    }

        .field-captcha #tbVerificationCaptcha::placeholder {
            font-size: 16px;
            color: #b7b2ca
        }

/* Container for the CAPTCHA image */
.LoGch {
    flex-shrink: 0;
    border: 1px solid var(--c-border-light);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

/* Styles for the CAPTCHA image itself */
.field-captcha img {
    display: block;
    height: 51px;
    border-radius: var(--bs-border-radius-lg);
    border: 1px solid var(--c-border-light)
}

/* Styles for the operation message (e.g., error messages) */
.paywall-operation-message {
    text-align: center;
    color: var(--c-error);
    font-size: 14px;
    line-height: 1.5;
}

/* Footer container for the buttons */
.paywall-footer {
    display: flex;
    justify-content: flex-end;
    gap: calc(var(--spacer) * 0.5);
}

    /* Generic button styles within the paywall footer */
    .paywall-footer .btn {
        font-weight: 600;
        line-height: 1.5;
        padding: calc(var(--spacer) * 0.5) calc(var(--spacer) * 1.25);
        border-radius: var(--bs-border-radius-lg);
        text-align: center;
        cursor: pointer;
        box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, .05);
        border: 1px solid transparent;
        transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
    }

    /* Primary button style for 'GoButton' */
    .paywall-footer input {
        padding: 8px 24px;
        transition: background-color .3s ease-in-out;
        border-radius: calc(var(--bs-border-radius-lg) - 1px);
        border: none
    }

    .paywall-footer #btnAudit {
        background-color: var(--c-primary-dark);
        color: var(--c-text-light);
        border-color: transparent;
    }

        .paywall-footer #btnAudit:hover {
            background-color: var(--c-primary-dark-hover);
            color: var(--c-text-light);
        }

        .paywall-footer #btnAudit:disabled,
        .paywall-footer #btnAudit.disabled {
            background-color: var(--bs-gray-600); /* Use a standard gray for disabled state */
            color: var(--bs-white);
            opacity: 0.65; /* Standard practice for indicating a disabled element */
            cursor: not-allowed; /* Changes the cursor to show the button is non-interactive */
            border-color: transparent;
            box-shadow: none; /* Remove any shadow effects */
        }

            .paywall-footer #btnAudit:disabled:hover,
            .paywall-footer #btnAudit.disabled:hover {
                background-color: var(--bs-gray-600); /* Keep the background color the same as disabled */
            }

    .paywall-footer #btnCancel {
        background-color: var(--bs-white);
        color: var(--c-text-primary);
        border: 2px solid var(--c-border-light);
    }

        .paywall-footer #btnCancel:hover {
            background-color: #f2f2f2;
        }

.timer-message {
    font-size: 13px; /* Slightly smaller to not be too imposing */
    display: inline-block; /* Ensures it sits nicely in the flow */
    margin-top: 0.5rem; /* Adds a bit of space from the main error message */
}
/* ==========================================================================
   10. BUTTON LOADING & DISABLED STATES (REVISED FOR LINKBUTTON)
   ========================================================================== */

/* ---------- 10.1. General Button Disabled State ---------- */
/* A LinkButton doesn't have a 'disabled' attribute, so we rely on a .disabled class */
.submitBtn.disabled {
    background-color: var(--bs-gray-600) !important; /* Use !important to override base styles if needed */
    opacity: 0.75;
    cursor: not-allowed;
    pointer-events: none; /* Crucial for <a> tags to prevent clicks */
}

/* ---------- 10.2. Button Loading State with Spinner ---------- */
.submitBtn.loading {
    position: relative;
    cursor: wait;
    pointer-events: none; /* Prevent clicks while loading */
}

    /* Hide the text when loading */
    .submitBtn.loading .btn-text {
        visibility: hidden;
    }

    /* The spinner pseudo-element on the main button (the <a> tag) */
    .submitBtn.loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 24px;
        height: 24px;
        margin-top: -12px;
        margin-left: -12px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: var(--bs-white);
        border-radius: 50%;
        animation: button-spinner 0.8s linear infinite;
    }

    /* Red spinner specific to the main white login button */
    #bMtSMB1.submitBtn.loading::after {
        border-color: rgba(206, 17, 38, 0.2);
        border-top-color: var(--jordan-red, #CE1126);
    }

@keyframes button-spinner {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 470px) {
    .w-container {
        width: calc(100% - 32px);
    }

    h1.my-4,
    h1.mt-4,
    h2.my-4,
    h2.mt-4 {
        margin-top: 0 !important;
    }

    .slidePg .slide2-body {
        padding-inline: 16px;
    }

    .slidePg {
        padding-top: 0;
    }

    .headerLogo {
        padding-top: 32px;
    }

        .headerLogo + h2 {
            font-size: 32px !important;
            padding-bottom: 16px;
        }
}

@media (max-width: 636px) {
    .w-container .col-lg-6:nth-child(2) {
        scale: .86 !important;
        padding-bottom: 16px !important;
    }

    .icon-bullet-text.two {
        right: 246px;
    }

    .grid-3-cols,
    .grid-4-cols-2-rows {
        margin-bottom: 6rem
    }
}
/* ==========================================================================
   11. LANGUAGE SWITCHER
   ========================================================================== */
.lang-switch-container {
    position: absolute;
    top: 24px;
    left: 24px; /* Default for RTL */
    z-index: 100;
}

html[dir="ltr"] .lang-switch-container {
    left: auto;
    right: 24px;
}

.lang-switch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: var(--c-primary-blue) !important;
    border: 1px solid var(--c-border-light);
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .lang-switch-btn:hover {
        background-color: var(--primary-soft-bg);
        border-color: var(--c-primary-blue);
        transform: translateY(-2px);
        box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.1);
    }

    .lang-switch-btn svg {
        color: var(--c-primary-blue);
    }

@media (max-width: 768px) {
    .lang-switch-container {
        top: 16px;
        left: 16px;
    }

    html[dir="ltr"] .lang-switch-container {
        left: auto;
        right: 16px;
    }
}

/* ==========================================================================
   WORLD CUP 2026 CELEBRATION THEME (v2)
   ========================================================================== */

/* --- Physics Confetti Balls --- */
.wc-confetti-balls {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    overflow: hidden;
    contain: layout paint style;
    isolation: isolate;
}

.wc-confetti-layer {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    overflow: hidden;
    contain: layout paint style;
    isolation: isolate;
}

.wc-phys-ball {
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
    pointer-events: auto;
    cursor: grab;
    user-select: none;
    touch-action: none;
    backface-visibility: hidden;
    transform: translate3d(0, -120vh, 0) rotate(0deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
    will-change: transform;
}
.wc-phys-ball.dragging {
    cursor: grabbing;
}

/* --- World Cup Jersey Showcase (RTL/LTR Symmetrical) --- */
.wc-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    margin: 0 auto;
    z-index: 10;
}

.wc-header {
    text-align: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.wc-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--jordan-green);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wc-subtitle .star {
    color: var(--wc-gold, #D4AF37);
    font-size: 14px;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.wc-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--jordan-red) 0%, var(--jordan-black) 40%, var(--jordan-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.wc-title-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wc-team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--jordan-red);
    animation: wc-team-pulse 2s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
@keyframes wc-team-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

.jersey-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jersey-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(206, 17, 38, 0.12) 0%, rgba(0, 122, 61, 0.08) 50%, transparent 70%);
    animation: wc-glow-pulse 4s ease infinite;
    filter: blur(10px);
}
@keyframes wc-glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.jersey-orbit {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(0, 122, 61, 0.25);
    border-radius: 50%;
    animation: wc-orbit-spin 25s linear infinite;
}
@keyframes wc-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}
.orbit-dot:nth-child(1) { top: -5px; left: 50%; transform: translateX(-50%); background: var(--jordan-red); }
.orbit-dot:nth-child(2) { bottom: -5px; left: 50%; transform: translateX(-50%); background: var(--jordan-green); }
.orbit-dot:nth-child(3) { top: 50%; right: -5px; transform: translateY(-50%); background: var(--jordan-black); }
.orbit-dot:nth-child(4) { top: 50%; left: -5px; transform: translateY(-50%); background: var(--wc-gold, #D4AF37); }
.orbit-dot:nth-child(5) { top: 14%; right: 10%; background: var(--jordan-red); }
.orbit-dot:nth-child(6) { bottom: 14%; left: 10%; background: var(--jordan-green); }

.jersey-img {
    width: 345px;
    height: 345px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 12px 36px rgba(0, 0, 0, 0.16));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: wc-jersey-float 5s ease-in-out infinite;
}
@keyframes wc-jersey-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-1deg); }
}
.jersey-container:hover .jersey-img {
    animation-play-state: paused;
    transform: scale(1.06) rotate(1deg);
    filter: drop-shadow(0 16px 44px rgba(0, 0, 0, 0.22));
}

.floating-ball {
    position: absolute;
    z-index: 3;
    animation: wc-ball-float 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    pointer-events: none;
    user-select: none;
    object-fit: contain;
    backface-visibility: hidden;
    will-change: transform;
}
.floating-ball.ball-1 { top: 12%; right: 12%; animation-delay: 0s; width: 64px; height: 64px; }
.floating-ball.ball-2 { bottom: 15%; left: 15%; animation-delay: 1.5s; width: 48px; height: 48px; }
.floating-ball.ball-3 { top: 45%; right: -22px; animation-delay: 0.8s; width: 44px; height: 44px; }
@keyframes wc-ball-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}

.wc-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--jordan-green) 0%, #00994d 100%);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    margin-top: 12px;
    box-shadow: 0 4px 16px rgba(0, 122, 61, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: wc-badge-glow 3s ease infinite;
}
@keyframes wc-badge-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(0, 122, 61, 0.25); }
    50% { box-shadow: 0 4px 28px rgba(0, 122, 61, 0.45), 0 0 10px rgba(0, 122, 61, 0.2); }
}
.wc-trophy-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.jordan-flag-mini {
    display: flex;
    flex-direction: column;
    width: 26px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
.jordan-flag-mini .f-stripe {
    flex: 1;
    width: 100%;
}

.wc-hashtag {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--jordan-red);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .wc-showcase {
        max-width: 380px;
    }
    .wc-header .wc-title {
        font-size: 32px;
    }
    .wc-title-img {
        max-width: 220px;
    }
    .jersey-container {
        width: 330px;
        height: 330px;
    }
    .jersey-img {
        width: 270px;
        height: 270px;
    }
    .floating-ball.ball-1 {
        width: 48px;
        height: 48px;
    }
    .floating-ball.ball-2 {
        width: 36px;
        height: 36px;
    }
    .floating-ball.ball-3 {
        width: 32px;
        height: 32px;
        right: -16px;
    }
    .jersey-glow {
        width: 300px;
        height: 300px;
    }
    .jersey-orbit {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .wc-showcase {
        max-width: 320px;
        padding: 12px;
    }
    .wc-header .wc-title {
        font-size: 26px;
    }
    .wc-title-img {
        max-width: 180px;
    }
    .jersey-container {
        width: 260px;
        height: 260px;
    }
    .jersey-img {
        width: 200px;
        height: 200px;
    }
    .floating-ball.ball-1 {
        width: 36px;
        height: 36px;
    }
    .floating-ball.ball-2 {
        width: 28px;
        height: 28px;
    }
    .floating-ball.ball-3 {
        display: none;
    }
    .jersey-glow {
        width: 230px;
        height: 230px;
    }
    .jersey-orbit {
        width: 250px;
        height: 250px;
    }
}


/* Shirt in Game Card Header */
.wc-header-shirt {
    width: 36px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* --- Login Button Glow --- */
.submitBtn.wc-btn-glow {
    box-shadow: 0 0 20px rgba(206, 17, 38, 0.7) !important;
    border: 1.5px solid #e8939b !important;
    background: linear-gradient(135deg, #CE1126 0%, #a00b1a 100%) !important;
}

/* --- Confetti --- */
.wc-confetti-piece {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
    contain: layout paint style;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--scale, 1));
    animation: wc-confetti-fall var(--duration, 2600ms) cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes wc-confetti-fall {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(var(--scale, 1));
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--tx, 0px), var(--ty, 180px), 0) rotate(var(--rot, 360deg)) scale(var(--scale, 1));
    }
}

/* ==============================================
   GAME WIDGET
   ============================================== */
.wc-widget-container {
    position: fixed;
    bottom: 90px;
    left: 24px;
    z-index: 1000001;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
}

/* --- Floating Button --- */
.wc-floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--jordan-red) 0%, #900a16 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(206, 17, 38, 0.25), inset 0 2px 4px rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: wc-floating-btn-bounce 3s infinite;
}

    .wc-floating-btn:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 0 12px 35px rgba(206, 17, 38, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.25);
        background: linear-gradient(135deg, #e01b2f 0%, var(--jordan-red) 100%);
        animation-play-state: paused;
    }

.wc-btn-icon {
    font-size: 20px;
    display: inline-block;
    animation: wc-ball-spin 4s linear infinite;
}

.wc-btn-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #d50000;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(213, 0, 0, 0.5);
    animation: wc-badge-pulse 1.5s ease-in-out infinite;
}

@keyframes wc-badge-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes wc-ball-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes wc-floating-btn-bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* --- Game Card (compact minimal design matching LTR) --- */
.wc-game-card {
    display: flex;
    visibility: hidden;
    position: fixed;
    bottom: 80px;
    left: 24px;
    width: 280px;
    height: auto;
    max-height: 480px;
    background: hsl(0 0% 100%);
    border: 1px solid hsl(0 0% 89.8%);
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: scale(0.95) translateY(8px);
    pointer-events: none;
    transition: visibility 0s linear 0.2s, opacity 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .wc-game-card.open {
        visibility: visible;
        opacity: 1;
        transform: scale(1) translateY(0);
        pointer-events: all;
        transition-delay: 0s;
    }

/* --- Card Header (dark premium glassmorphism) --- */
.wc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(18, 18, 24, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.wc-card-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-card-header-icon {
    font-size: 20px;
    line-height: 1;
}

.wc-card-title {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    display: block;
    letter-spacing: -0.01em;
}

.wc-card-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
    display: block;
}

.wc-card-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 1px
}

    .wc-card-close:hover {
        background: rgba(206, 17, 38, 0.2);
        color: #ffffff;
        border-color: rgba(206, 17, 38, 0.4);
    }

/* --- Football Field Arena (compact) --- */
.wc-arena {
    position: relative;
    flex-grow: 1;
    height: 300px;
    margin: 8px;
    background: hsl(142 72% 29%);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid hsl(0 0% 89.8%);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    touch-action: none;
}

.wc-arena.perfect-kick {
    animation: wc-arena-perfect 0.32s ease-out;
}

@keyframes wc-arena-perfect {
    0%, 100% {
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    }

    45% {
        box-shadow: inset 0 0 34px rgba(255, 215, 0, 0.55), 0 0 22px rgba(255, 215, 0, 0.35);
    }
}

/* Grass stripes */
.wc-grass {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        180deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 20px,
        transparent 20px,
        transparent 40px
    );
}

/* Field markings */
.wc-field-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

    .wc-field-lines::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: calc(50% - 40px);
        width: 80px;
        height: 32px;
        border: 1.5px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
    }

    .wc-field-lines::after {
        content: "";
        position: absolute;
        width: 60px;
        height: 60px;
        border: 1.5px solid rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        top: calc(50% - 30px);
        left: calc(50% - 30px);
    }

.wc-field-center-line {
    position: absolute;
    width: 100%;
    height: 1.5px;
    top: 50%;
    left: 0;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* Goal net at bottom */
.wc-goal-net {
    position: absolute;
    bottom: 0;
    left: calc(50% - 45px);
    width: 90px;
    height: 22px;
    pointer-events: none;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 1px, transparent 1px, transparent 8px),
        repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 1px, transparent 1px, transparent 8px);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}

.wc-goal-net.goal-pulse {
    animation: wc-goal-pulse 0.42s ease-out;
}

@keyframes wc-goal-pulse {
    0% {
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
        border-color: rgba(255, 255, 255, 0.18);
    }

    35% {
        box-shadow: 0 0 24px rgba(255, 215, 0, 0.75);
        border-color: rgba(255, 215, 0, 0.95);
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 215, 0, 0);
        border-color: rgba(255, 255, 255, 0.18);
    }
}

/* Stadium lights glow */
.wc-stadium-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* --- Ball --- */
.wc-ball {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    font-size: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 10;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.35));
    line-height: 1;
    will-change: transform;
    cursor: pointer;
    transition: filter 0.1s;
    touch-action: none;
}

    .wc-ball:active {
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25)) brightness(1.1);
    }

/* Ball shadow on ground */
.wc-ball-shadow {
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 26px;
    height: 6px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    display: none;
    will-change: transform, opacity;
}

/* --- Impact Ring --- */
.wc-impact-effect {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 215, 0, 0.45) 42%, transparent 72%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 8;
}

    .wc-impact-effect.active {
        animation: wc-impact-ring 0.35s ease-out;
    }

/* --- Kick Trail --- */
.wc-kick-trail {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.75);
    background: radial-gradient(circle, rgba(255, 215, 0, 0.22) 0%, rgba(255, 215, 0, 0.08) 35%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    pointer-events: none;
    z-index: 7;
    filter: blur(0.2px);
}

.wc-kick-trail.active {
    animation: wc-kick-trail 0.42s ease-out;
}

.wc-kick-trail.perfect {
    border-color: rgba(255, 255, 255, 0.95);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.38) 0%, rgba(255, 215, 0, 0.18) 42%, transparent 76%);
}

@keyframes wc-kick-trail {
    0% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(0.35);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.55);
    }
}

/* --- Combo Timing Bar --- */
.wc-combo-bar {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    overflow: hidden;
    pointer-events: none;
    z-index: 9;
}

.wc-combo-bar::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff6d00, #ffd500, #ffffff);
    transform-origin: left center;
}

.wc-combo-bar.active::after {
    animation: wc-combo-time 1.9s linear forwards;
}

@keyframes wc-combo-time {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

/* --- +1 Score Popup --- */
.wc-plus-one {
    position: absolute;
    font-size: 14px;
    font-weight: 700;
    color: hsl(47.9 95.8% 53.1%);
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    pointer-events: none;
    z-index: 20;
    opacity: 0;
    transform: translateY(0);
    transition: none;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

    .wc-plus-one.show {
        animation: wc-plus-float 0.6s ease-out forwards;
    }

    .wc-plus-one.perfect {
        color: #fff;
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.95);
    }

@keyframes wc-plus-float {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    60% {
        opacity: 1;
        transform: translateY(-24px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.8);
    }
}

/* --- Floating Message --- */
.wc-msg {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 38%;
    font-size: 16px;
    font-weight: 800;
    color: hsl(47.9 95.8% 53.1%);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 15;
    letter-spacing: -0.02em;
}

    .wc-msg.show {
        opacity: 1;
        transform: scale(1.1);
    }

    .wc-msg.special {
        color: #ffeb3b;
        animation: wc-pulse-shake 0.4s ease-in-out;
    }

@keyframes wc-pulse-shake {
    0%, 100% {
        transform: scale(1.1) rotate(0deg);
    }

    25% {
        transform: scale(1.25) rotate(-3deg);
    }

    75% {
        transform: scale(1.25) rotate(3deg);
    }
}

/* --- Countdown Overlay --- */
.wc-countdown {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 30;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 8px rgba(0,0,0,0.4);
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, sans-serif;
}

    .wc-countdown.show {
        display: flex;
        animation: wc-cd-in 0.25s ease-out;
    }

    .wc-countdown.tick {
        animation: wc-cd-tick 0.3s ease-out;
    }

@keyframes wc-cd-in {
    from {
        opacity: 0;
        transform: scale(1.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes wc-cd-tick {
    0% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Game Over Overlay --- */
.wc-game-over {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    z-index: 25;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .wc-game-over.show {
        display: flex;
        animation: wc-go-in 0.35s ease-out;
    }

@keyframes wc-go-in {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wc-game-over-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.wc-game-over-emoji {
    font-size: 36px;
    line-height: 1;
}

.wc-game-over-title {
    color: hsl(0 0% 98%);
    font-size: 13px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.01em;
}

.wc-game-over-score {
    font-size: 32px;
    font-weight: 800;
    color: hsl(47.9 95.8% 53.1%);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

/* --- Scoreboard (shadcn stats row) --- */
.wc-scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    gap: 0;
    background: hsl(0 0% 98%);
    border-top: 1px solid hsl(0 0% 89.8%);
}

.wc-score-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 1px;
}

.wc-score-divider {
    width: 1px;
    height: 24px;
    background: hsl(0 0% 89.8%);
}

.wc-score-label {
    font-size: 9px;
    font-weight: 500;
    color: hsl(0 0% 45.1%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wc-score-value {
    font-size: 18px;
    font-weight: 700;
    color: hsl(0 0% 9%);
    transition: color 0.2s, transform 0.1s;
    font-family: 'JetBrains Mono', 'SF Mono', monospace;
    letter-spacing: -0.02em;
}

.wc-combo-val {
    color: hsl(0 0% 45.1%);
    font-size: 15px;
}

.wc-combo-val.hot {
    color: #ff6d00;
    text-shadow: 0 0 8px rgba(255, 109, 0, 0.35);
}

.wc-combo-val.legendary {
    color: #d50000;
    animation: wc-combo-flash 0.55s ease-in-out;
}

@keyframes wc-combo-flash {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.28);
        text-shadow: 0 0 12px rgba(213, 0, 0, 0.45);
    }
}

.wc-best-val {
    color: var(--jordan-red, #CE1126);
    font-size: 15px;
}

.wc-score-value.wc-score-pop {
    animation: wc-score-pop 0.2s ease-out;
}

@keyframes wc-score-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.wc-score-value.wc-new-record {
    animation: wc-new-record-glow 1s ease-in-out;
}

@keyframes wc-new-record-glow {
    0% {
        color: hsl(0 0% 9%);
        text-shadow: none;
    }

    30% {
        color: hsl(47.9 95.8% 53.1%);
        text-shadow: 0 0 8px rgba(255,214,0,0.5);
        transform: scale(1.25);
    }

    100% {
        color: var(--jordan-red, #CE1126);
        text-shadow: none;
        transform: scale(1);
    }
}

/* --- Card Footer / Start Button (premium capsule design) --- */
.wc-card-footer {
    padding: 12px;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.wc-start-btn {
    width: 100%;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--jordan-red) 0%, #a00b1a 100%);
    border: none;
    border-radius: 50px;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(206, 17, 38, 0.25);
    transition: all 0.2s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.wc-start-icon {
    font-size: 11px;
}

.wc-start-btn:hover {
    background: linear-gradient(135deg, #e01b2f 0%, var(--jordan-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(206, 17, 38, 0.45);
}

.wc-start-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(206, 17, 38, 0.3);
}

/* --- Card Shake --- */
@keyframes wc-card-shake {
    0%, 100% {
        transform: translate(0, 0) rotate(0);
    }

    20% {
        transform: translate(-2px, 1px) rotate(-0.5deg);
    }

    40% {
        transform: translate(2px, -1px) rotate(0.5deg);
    }

    60% {
        transform: translate(-1px, -1px) rotate(-0.3deg);
    }

    80% {
        transform: translate(1px, 1px) rotate(0.3deg);
    }
}

.wc-game-card.shake {
    animation: wc-card-shake 0.15s ease-in-out;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .wc-widget-container {
        bottom: 12px;
        left: 12px;
    }

    .wc-game-card {
        bottom: 80px;
        left: 12px;
        width: 290px;
        height: 480px;
    }

    .wc-arena {
        height: 310px;
    }
}

/* ==========================================================================
   DESKTOP BANNER & BRANDING INSPIRATIONS
   ========================================================================== */
:root {
    --jordan-black: #000000;
    --jordan-white: #ffffff;
    --jordan-green: #007A3D;
    --jordan-red: #CE1126;
    --wc-gold: #D4AF37;
    --wc-gold-light: #F5D76E;
}

body {
    padding-top: 48px !important;
}

/* Shifting Flag-Colored Ambient Background Glow */
#particles-js {
    background-image: radial-gradient(circle at 15% 50%, rgba(206, 17, 38, 0.06), transparent 40%), radial-gradient(circle at 85% 30%, rgba(0, 122, 61, 0.06), transparent 40%), radial-gradient(circle at 50% 80%, rgba(0, 0, 0, 0.03), transparent 50%), url(../images/particlesStaticImageWhite.png) !important;
}

/* World Cup Top Banner */
.wc-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, var(--jordan-black) 0%, #1a1a2e 25%, var(--jordan-green) 50%, #1a1a2e 75%, var(--jordan-red) 100%);
    background-size: 300% 100%;
    animation: bannerShimmer 8s ease infinite;
    padding: 10px 0 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.wc-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    white-space: nowrap;
    animation: bannerScroll 20s linear infinite;
    width: 100%;
    position: relative;
    z-index: 3;
}

.wc-banner-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .wc-banner-text span {
        opacity: 0.85;
    }

    .wc-banner-text .gold {
        color: var(--wc-gold-light, #ffd700);
        opacity: 1;
        font-weight: 700;
    }

    .wc-banner-text .emoji {
        font-size: 22px;
        display: inline-block;
        animation: bounce 1s ease infinite alternate;
        opacity: 1;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25));
    }

/* Jordan Flag Underline Stripe */
.jordan-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 4px;
    display: flex;
}

    .jordan-stripe span {
        flex: 1;
    }

    .jordan-stripe .s-black {
        background: var(--jordan-black);
    }

    .jordan-stripe .s-white {
        background: var(--jordan-white);
    }

    .jordan-stripe .s-green {
        background: var(--jordan-green);
    }

    .jordan-stripe .s-red {
        background: var(--jordan-red);
    }

/* Main Login Button Jordan Red Theme */
#bMtSMB1.submitBtn {
    position: relative !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Cdefs%3E%3Cpattern id='cubic' width='8' height='8' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='3' height='3' fill='%23CE1126' fill-opacity='0.4'/%3E%3C/pattern%3E%3ClinearGradient id='fade-l' x1='0%25' y1='0%25' x2='100%25' y2='80%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='40%25' stop-color='%23ffffff' stop-opacity='0.6'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='mask-l'%3E%3Crect width='100' height='56' fill='url(%23fade-l)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='56' fill='url(%23cubic)' mask='url(%23mask-l)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Cdefs%3E%3Cpattern id='cubic' width='8' height='8' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='3' height='3' fill='%23CE1126' fill-opacity='0.4'/%3E%3C/pattern%3E%3ClinearGradient id='fade-r' x1='100%25' y1='0%25' x2='0%25' y2='80%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='40%25' stop-color='%23ffffff' stop-opacity='0.6'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='mask-r'%3E%3Crect width='100' height='56' fill='url(%23fade-r)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='56' fill='url(%23cubic)' mask='url(%23mask-r)'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #ffffff 0%, #f5f6f8 100%) !important;
    background-position: left center, right center, center !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-size: 100px 100%, 100px 100%, cover !important;
    color: var(--jordan-red, #CE1126) !important;
    font-weight: 700 !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(206, 17, 38, 0.15) inset !important;
    border: 1px solid rgba(206, 17, 38, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#bMtSMB1.submitBtn span.btn-text {
    position: relative;
    z-index: 2;
}

#bMtSMB1.submitBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(206, 17, 38, 0.08) 30%,
        rgba(206, 17, 38, 0.18) 50%,
        rgba(206, 17, 38, 0.08) 70%,
        transparent
    );
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
    z-index: 1;
}

/* Disable shimmer overlay while button is in loading state */
#bMtSMB1.submitBtn.loading::before {
    display: none !important;
}

#bMtSMB1.submitBtn:hover,
#bMtSMB1.submitBtn.wc-btn-glow {
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Cdefs%3E%3Cpattern id='cubic' width='8' height='8' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='3' height='3' fill='%23CE1126' fill-opacity='0.6'/%3E%3C/pattern%3E%3ClinearGradient id='fade-l' x1='0%25' y1='0%25' x2='100%25' y2='80%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='50%25' stop-color='%23ffffff' stop-opacity='0.7'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='mask-l'%3E%3Crect width='100' height='56' fill='url(%23fade-l)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='56' fill='url(%23cubic)' mask='url(%23mask-l)'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Cdefs%3E%3Cpattern id='cubic' width='8' height='8' patternTransform='rotate(30)' patternUnits='userSpaceOnUse'%3E%3Crect width='3' height='3' fill='%23CE1126' fill-opacity='0.6'/%3E%3C/pattern%3E%3ClinearGradient id='fade-r' x1='100%25' y1='0%25' x2='0%25' y2='80%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff' stop-opacity='1'/%3E%3Cstop offset='50%25' stop-color='%23ffffff' stop-opacity='0.7'/%3E%3Cstop offset='100%25' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='mask-r'%3E%3Crect width='100' height='56' fill='url(%23fade-r)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='100' height='56' fill='url(%23cubic)' mask='url(%23mask-r)'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #ffffff 0%, #eceef1 100%) !important;
    background-position: left center, right center, center !important;
    background-repeat: no-repeat, no-repeat, no-repeat !important;
    background-size: 90px 100%, 90px 100%, cover !important;
    color: #a00b1a !important;
    box-shadow: 
        0 6px 20px rgba(206, 17, 38, 0.22),
        0 0 0 1.5px rgba(206, 17, 38, 0.25) inset !important;
    transform: translateY(-2px) !important;
}

@keyframes bannerShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes bannerScroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-4px);
    }
}

@keyframes wc-border-glow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width: 600px) {
    .wc-banner-text {
        font-size: 12px;
        gap: 8px;
    }

    .wc-banner-text .emoji {
        font-size: 14px;
    }
}

/* ==========================================================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ========================================================================== */

/* --- Tablet & Small Desktop (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Banner & stripe adjustments */
    .wc-banner {
        padding: 8px 0 12px 0;
    }

    .jordan-stripe {
        height: 3px;
    }

    body {
        padding-top: 42px !important;
    }

    /* Login form container - tighter padding */
    .w-container {
        min-height: calc(100dvh - 100px);
        padding-bottom: 0;
    }

    .w-container .col-lg-6:nth-child(1) {
        margin-top: 0.75rem;
    }

    /* Logos - smaller on mobile */
    .logo-container > a {
        height: 80px;
        width: 80px;
    }

    .logo_new,
    .productLogo {
        width: 72px !important;
        height: 72px !important;
    }

    .logo-container > a:after {
        height: 36px;
        top: 20px;
    }

    .logo-container {
        gap: 14px;
        align-items: center;
    }

    /* Heading - smaller */
    h1.font-weight-bold {
        font-size: 1.6rem;
        margin-bottom: 10px;
        margin-top: 4px;
    }

    /* Login form - tighter spacing */
    .login_form_1 {
        max-width: 100%;
        padding-inline: 4px;
    }

    .login_feild_label {
        font-size: 13px;
        line-height: 28px;
    }

    .login-input {
        padding: 0.65rem 1rem;
        font-size: 16px !important;
        border-radius: 16px;
    }

    /* Submit button - full width, better touch */
    .submitBtn {
        height: 50px;
        font-size: 16px !important;
        border-radius: 16px;
    }

    /* Login option buttons (SANAD, Office) */
    .login-option {
        padding: 10px 16px !important;
        font-size: 14px !important;
    }

    /* Footer - better mobile layout */
    #footerContainer {
        position: static !important;
        background: transparent !important;
        margin-top: 2rem;
        padding: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
        padding-left: 0;
        left: 0;
    }

    #footer {
        padding-bottom: 24px;
        flex-direction: column;
        text-align: center;
    }

    .LoginPage {
        padding-bottom: 24px !important;
    }

    #footer .text-dark {
        font-size: 11px !important;
    }

    /* News container */
    .NewsContainer .news {
        height: 32px;
    }

    /* Lang switch - smaller on mobile */
    .lang-switch-container {
        top: 46px;
    }

    .lang-switch-btn {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px;
    }

    /* Pagination bullets */
    .bullet {
        width: 16px;
        height: 16px;
    }

    .bullet.active {
        width: 52px;
        height: 26px;
        border-radius: 13px;
    }

    /* Collab capsule - much larger on mobile */
    .wc-collab-capsule {
        padding: 22px 28px !important;
        gap: 18px !important;
        border-radius: 28px !important;
    }

    .wc-brand-logo {
        max-height: 60px !important;
    }

    .wc26-logo {
        max-height: 68px !important;
    }

    .wc-collab-divider {
        height: 44px !important;
    }

    .wc-floating-jersey {
        width: 90px !important;
        height: 90px !important;
        top: -45px !important;
        left: -12px !important;
    }

    .wc-floating-jersey img {
        width: 64px !important;
    }

    /* Game widget */
    .wc-widget-container {
        bottom: 8px;
        left: 8px;
    }

    .wc-floating-btn {
        padding: 8px !important;
        border-radius: 50% !important;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wc-floating-btn .wc-btn-text {
        display: none;
    }

    .wc-floating-btn .wc-btn-icon img {
        width: 24px !important;
        height: 24px !important;
    }

    .wc-btn-badge {
        top: -2px !important;
        right: -2px !important;
    }

    .wc-game-card {
        bottom: 70px;
        left: 8px;
        right: 8px;
        width: auto;
        max-width: 320px;
    }

    .faq-item-header .faq-question-btn {
        padding-left: 3.5rem !important;
    }
}

/* --- Small phones (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Banner even more compact */
    .wc-banner {
        padding: 6px 0 10px 0;
    }

    .jordan-stripe {
        height: 3px;
    }

    body {
        padding-top: 38px !important;
    }

    .wc-banner-text {
        font-size: 13px;
        gap: 8px;
    }

    .wc-banner-text .emoji {
        font-size: 18px;
    }

    /* Layout */
    .w-container {
        width: calc(100% - 24px);
        min-height: calc(100dvh - 80px);
    }

    .w-container .col-lg-6:nth-child(1) {
        margin-top: 0.5rem;
    }

    /* Logos - even smaller */
    .logo-container > a {
        height: 68px;
        width: 68px;
    }

    .logo_new,
    .productLogo {
        width: 60px !important;
        height: 60px !important;
    }

    .logo-container {
        gap: 10px;
        padding-left: 0;
    }

    .logo-container > a:after {
        height: 30px;
        top: 18px;
        left: -6px;
    }

    /* Heading */
    h1.font-weight-bold {
        font-size: 1.35rem;
        margin-bottom: 6px;
    }

    .headerLogo + h1 {
        font-size: 26px !important;
        padding-bottom: 8px;
    }

    /* Form fields */
    .login_feild_label {
        font-size: 12px;
        line-height: 24px;
    }

    .login-input {
        padding: 0.6rem 0.85rem;
        font-size: 16px !important;
        border-radius: 14px;
    }

    /* Submit button */
    .submitBtn {
        height: 48px;
        font-size: 15px !important;
        border-radius: 14px;
    }

    #bMtSMB1.submitBtn {
        background-size: 70px 100%, 70px 100%, cover !important;
    }

    /* Login option buttons */
    .login-option {
        padding: 8px 12px !important;
        font-size: 13px !important;
        border-radius: 14px;
    }

    .submitBtn img {
        width: 56px;
        height: 24px;
    }

    /* Helper links text */
    .LoginForm-ForgetPass a {
        font-size: 13px;
    }

    /* Footer */
    #footer .text-dark {
        font-size: 10px !important;
    }

    #footer span.text-dark:first-of-type {
        padding-top: 8px;
    }

    /* Lang switch */
    .lang-switch-container {
        top: 40px;
        left: 10px;
    }

    html[dir="ltr"] .lang-switch-container {
        right: 10px;
    }

    .lang-switch-btn {
        padding: 5px 10px;
        font-size: 11px;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
    }

    /* News bar */
    .NewsContainer .news {
        height: 28px;
    }

    .marquee-container {
        padding: 5px 0 7px 0;
    }

    /* Beta badge */
    .icon-bullet-text.float.badge {
        font-size: 0.95rem !important;
        padding: 3px 8px !important;
    }

    /* Bullets pagination */
    .bullet {
        width: 14px;
        height: 14px;
    }

    .bullet.active {
        width: 44px;
        height: 22px;
        border-radius: 11px;
    }

    .bullet.active::before,
    .bullet.active::after {
        width: 6px;
        height: 6px;
    }

    /* Game widget - stacks better */
    .wc-floating-btn {
        padding: 2px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .wc-btn-icon {
        font-size: 16px;
    }

    .wc-game-card {
        width: calc(100vw - 24px);
        max-width: 300px;
        height: 450px;
    }

    .wc-arena {
        height: 280px;
    }
}

/* --- Very small phones (max-width: 360px) --- */
@media (max-width: 360px) {
    .wc-banner {
        padding: 5px 0 9px 0;
    }

    .jordan-stripe {
        height: 3px;
    }

    body {
        padding-top: 34px !important;
    }

    .wc-banner-text {
        font-size: 11px;
        gap: 6px;
    }

    .w-container {
        width: calc(100% - 16px);
    }

    /* Logos */
    .logo-container > a {
        height: 56px;
        width: 56px;
    }

    .logo_new,
    .productLogo {
        width: 50px !important;
        height: 50px !important;
    }

    h1.font-weight-bold {
        font-size: 1.2rem;
    }

    .headerLogo + h1 {
        font-size: 22px !important;
    }

    .login-input {
        padding: 0.55rem 0.75rem;
    }

    .submitBtn {
        height: 44px;
        font-size: 14px !important;
    }

    .login-option {
        padding: 7px 10px !important;
        font-size: 12px !important;
    }

    #footer .text-dark {
        font-size: 9px !important;
    }
}

/* --- Landscape mobile fix --- */
@media (max-height: 500px) and (orientation: landscape) {
    .wc-banner {
        padding: 4px 0 8px 0;
    }

    .jordan-stripe {
        height: 2px;
    }

    body {
        padding-top: 32px !important;
    }

    .w-container {
        min-height: auto;
    }

    .w-container .col-lg-6:nth-child(1) {
        margin-top: 0.25rem;
    }

    .logo-container > a {
        height: 56px;
        width: 56px;
    }

    .logo_new,
    .productLogo {
        width: 50px !important;
        height: 50px !important;
    }

    h1.font-weight-bold {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .login_feild_label {
        line-height: 20px;
    }

    .login-input {
        padding: 0.45rem 0.75rem;
    }

    .submitBtn {
        height: 40px;
    }

    #footerContainer {
        position: relative;
    }
}

/* Prevent text selection within the mini-game */
.wc-widget-container,
.wc-floating-btn,
.wc-game-card,
.wc-scoreboard,
.wc-arena,
.wc-msg,
.wc-plus-one,
.wc-countdown,
.wc-game-over,
.wc-card-header,
.wc-card-footer {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    .wc-confetti-balls,
    .wc-confetti-layer,
    .wc-game-card,
    .wc-impact-effect,
    .wc-plus-one,
    .wc-countdown,
    .wc-msg {
        display: none !important;
    }
}

