/**
 * =====================================================
 * XPZone Shared Header v1.0
 * =====================================================
 *
 * الهيدر الموحد للصفحات:
 * - الرئيسية
 * - المتجر
 * - الملف الشخصي
 */


/* =====================================================
 * Header Container
 * ===================================================== */

.site-header {
    position: sticky;
    z-index: 1000;

    top: 0;

    width: 100%;

    border-bottom:
        1px solid rgba(148, 163, 184, 0.12);

    background:
        rgba(5, 12, 30, 0.92);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.2);

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);
}


.main-navigation {
    position: relative;

    width:
        min(1400px, calc(100% - 40px));

    min-height: 72px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 22px;
}


/* =====================================================
 * Brand
 * ===================================================== */

.brand {
    flex-shrink: 0;

    color:
        var(--cyan, #00e5ff);

    font-size: 25px;
    font-weight: 950;

    letter-spacing: -1px;

    text-decoration: none;

    text-shadow:
        0 0 18px rgba(0, 229, 255, 0.25);

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.brand:hover {
    color: #ffffff;

    transform:
        translateY(-1px);
}


/* =====================================================
 * Navigation Links
 * ===================================================== */

.navigation-links {
    min-width: 0;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}


.navigation-links a {
    position: relative;

    min-height: 40px;

    padding: 9px 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 10px;

    color:
        var(--text-muted, #94a3b8);

    font-size: 13px;
    font-weight: 750;

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.navigation-links a:hover {
    color:
        var(--white, #ffffff);

    border-color:
        rgba(0, 229, 255, 0.12);

    background:
        rgba(0, 229, 255, 0.055);

    transform:
        translateY(-1px);
}


.navigation-links a.active {
    color:
        var(--cyan, #00e5ff);

    border-color:
        rgba(0, 229, 255, 0.2);

    background:
        rgba(0, 229, 255, 0.09);
}


.navigation-links a.active::after {
    content: "";

    position: absolute;

    right: 16px;
    bottom: 4px;
    left: 16px;

    height: 2px;

    border-radius: 999px;

    background:
        var(--cyan, #00e5ff);

    box-shadow:
        0 0 9px rgba(0, 229, 255, 0.55);
}


/* =====================================================
 * Navigation Actions
 * ===================================================== */

.navigation-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 9px;
}


/* =====================================================
 * Mobile Menu Button
 * ===================================================== */

.mobile-menu-button {
    width: 42px;
    height: 42px;

    display: none;
    place-items: center;

    padding: 0;

    border:
        1px solid rgba(0, 229, 255, 0.2);

    border-radius: 11px;

    color:
        var(--cyan, #00e5ff);

    background:
        rgba(0, 229, 255, 0.065);

    font-size: 21px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.mobile-menu-button:hover {
    border-color:
        rgba(0, 229, 255, 0.5);

    background:
        rgba(0, 229, 255, 0.13);

    transform:
        translateY(-1px);
}


/* =====================================================
 * Player Balance
 * ===================================================== */

.header-balance,
.header-currency-balance {
    min-height: 42px;

    padding: 5px 11px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    border:
        1px solid rgba(255, 215, 0, 0.19);

    border-radius: 11px;

    background:
        rgba(255, 215, 0, 0.055);

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}


.header-balance:hover,
.header-balance:focus-visible,
.header-currency-balance:hover,
.header-currency-balance:focus-visible {
    border-color:
        rgba(255, 215, 0, 0.46);

    background:
        rgba(255, 215, 0, 0.105);

    transform:
        translateY(-1px);
}


.header-balance:focus-visible,
.header-currency-balance:focus-visible {
    outline:
        2px solid rgba(255, 215, 0, 0.7);

    outline-offset:
        3px;
}


.header-gems-balance {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(16, 185, 129, 0.065);
}


.header-gems-balance .balance-label {
    color: rgba(110, 231, 183, 0.9);
}


.header-gems-balance:hover,
.header-gems-balance:focus-visible {
    border-color: rgba(52, 211, 153, 0.52);
    background: rgba(16, 185, 129, 0.12);
}


.header-gems-balance:focus-visible {
    outline-color: rgba(52, 211, 153, 0.75);
}


.balance-label {
    color:
        rgba(255, 215, 0, 0.78);

    font-size: 10px;
    font-weight: 900;
}


.balance-value {
    min-width: 18px;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    text-align: center;
}


.header-currency-image {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.32));
}


.zone-gems-image {
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.28));
}


.coin-icon {
    width: 18px;
    height: 18px;

    display: inline-block;

    flex-shrink: 0;

    border:
        2px solid rgba(255, 244, 164, 0.75);

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff9b0,
            #facc15 40%,
            #ca8a04 100%
        );

    box-shadow:
        0 0 10px rgba(250, 204, 21, 0.27);
}


/* =====================================================
 * Notification Button
 * ===================================================== */

.notifications-wrapper {
    position: relative;

    flex-shrink: 0;
}


.notifications-button {
    position: relative;

    width: 42px;
    height: 42px;

    padding: 0;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(0, 229, 255, 0.21);

    border-radius: 11px;

    color:
        var(--text-muted, #94a3b8);

    background:
        rgba(0, 229, 255, 0.055);

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.notifications-button:hover,
.notifications-button[aria-expanded="true"] {
    color:
        var(--cyan, #00e5ff);

    border-color:
        rgba(0, 229, 255, 0.5);

    background:
        rgba(0, 229, 255, 0.12);

    transform:
        translateY(-1px);
}


.notifications-icon {
    display: block;

    font-size: 17px;
    line-height: 1;

    filter:
        grayscale(1)
        brightness(1.8);
}


.notifications-button:hover .notifications-icon,
.notifications-button[aria-expanded="true"]
.notifications-icon {
    filter: none;
}


.notifications-count {
    position: absolute;

    top: -5px;
    left: -5px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        2px solid #071126;

    border-radius: 999px;

    color: #ffffff;

    background: #ef4444;

    font-size: 10px;
    font-weight: 900;
    line-height: 1;

    box-shadow:
        0 4px 12px rgba(239, 68, 68, 0.4);
}


/* =====================================================
 * Authentication Button
 * ===================================================== */

.auth-button {
    min-height: 42px;

    padding: 8px 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(0, 229, 255, 0.22);

    border-radius: 11px;

    color:
        var(--cyan, #00e5ff);

    background:
        rgba(0, 229, 255, 0.065);

    font-size: 12px;
    font-weight: 850;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.auth-button:hover {
    border-color:
        rgba(0, 229, 255, 0.5);

    background:
        rgba(0, 229, 255, 0.13);

    transform:
        translateY(-1px);
}


.auth-button-icon {
    position: relative;

    width: 42px;
    height: 42px;

    padding: 0;

    font-size: 0;
}


.auth-button-icon::before {
    content: "";

    width: 19px;
    height: 19px;

    display: block;

    background: currentColor;

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 3a1 1 0 0 0 0 2h7v14h-7a1 1 0 1 0 0 2h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-8Zm1.7 5.3a1 1 0 0 0-1.4 1.4l1.3 1.3H4a1 1 0 1 0 0 2h7.6l-1.3 1.3a1 1 0 0 0 1.4 1.4l3-3a1 1 0 0 0 0-1.4l-3-3Z'/%3E%3C/svg%3E")
        center /
        contain
        no-repeat;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M10 3a1 1 0 0 0 0 2h7v14h-7a1 1 0 1 0 0 2h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-8Zm1.7 5.3a1 1 0 0 0-1.4 1.4l1.3 1.3H4a1 1 0 1 0 0 2h7.6l-1.3 1.3a1 1 0 0 0 1.4 1.4l3-3a1 1 0 0 0 0-1.4l-3-3Z'/%3E%3C/svg%3E")
        center /
        contain
        no-repeat;
}


.auth-button-icon[
    aria-label*="الخروج"
] {
    color: #f87171;

    border-color:
        rgba(248, 113, 113, 0.28);

    background:
        rgba(127, 29, 29, 0.18);
}


.auth-button-icon[
    aria-label*="الخروج"
]:hover {
    color: #ffffff;

    border-color:
        rgba(248, 113, 113, 0.6);

    background:
        rgba(220, 38, 38, 0.3);
}


/* =====================================================
 * Notification Panel
 * ===================================================== */

.notifications-panel {
    position: absolute;

    z-index: 1100;

    top: calc(100% + 12px);
    left: 0;

    width:
        min(390px, calc(100vw - 30px));

    max-height: 520px;

    overflow: hidden;

    border:
        1px solid rgba(0, 229, 255, 0.21);

    border-radius: 17px;

    color: #ffffff;

    background:
        rgba(17, 27, 58, 0.985);

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.5);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transform-origin:
        top left;

    animation:
        xpzone-notifications-open
        0.18s ease;
}


html[dir="ltr"] .notifications-panel {
    right: 0;
    left: auto;

    transform-origin:
        top right;
}


.notifications-panel[hidden],
.notifications-count[hidden],
.notifications-empty-state[hidden],
.notifications-list[hidden] {
    display: none !important;
}


@keyframes xpzone-notifications-open {

    from {
        opacity: 0;

        transform:
            translateY(-7px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.notifications-panel-header {
    min-height: 82px;

    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 13px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(20, 33, 73, 0.82);
}


.notifications-panel-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
}


.notifications-panel-header p {
    margin: 3px 0 0;

    color:
        var(--text-muted, #94a3b8);

    font-size: 11px;
}


.notifications-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 6px;
}


.notifications-action-button {
    min-height: 31px;

    padding: 5px 9px;

    border:
        1px solid rgba(0, 229, 255, 0.25);

    border-radius: 8px;

    color:
        var(--cyan, #00e5ff);

    background:
        rgba(0, 229, 255, 0.065);

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;
}


.notifications-action-button.danger {
    color: #fca5a5;

    border-color:
        rgba(248, 113, 113, 0.28);

    background:
        rgba(127, 29, 29, 0.2);
}


.notifications-action-button:disabled {
    opacity: 0.4;

    cursor: not-allowed;
}


.notifications-list {
    max-height: 335px;

    overflow-y: auto;

    scrollbar-width: thin;

    scrollbar-color:
        rgba(0, 229, 255, 0.3)
        transparent;
}


.notification-item-wrapper {
    position: relative;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}


.notification-item {
    width: 100%;

    padding:
        13px
        14px
        13px
        50px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    border: 0;

    color: #ffffff;

    text-align: right;

    background: transparent;

    cursor: pointer;
}


.notification-item:hover {
    background:
        rgba(255, 255, 255, 0.035);
}


.notification-item.unread {
    background:
        rgba(0, 229, 255, 0.045);
}


.notification-item-icon {
    width: 37px;
    height: 37px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(0, 229, 255, 0.17);

    border-radius: 10px;

    background:
        rgba(0, 229, 255, 0.065);

    font-size: 16px;
}


.notification-item-content {
    min-width: 0;

    flex: 1;
}


.notification-item-title {
    margin: 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    font-weight: 900;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.notification-item-message {
    margin: 3px 0 0;

    color:
        var(--text-muted, #94a3b8);

    font-size: 11px;
    line-height: 1.55;
}


.notification-item-time {
    display: block;

    margin-top: 5px;

    color:
        rgba(148, 163, 184, 0.72);

    font-size: 10px;
}


.notification-delete-button {
    position: absolute;

    top: 50%;
    left: 11px;

    width: 28px;
    height: 28px;

    padding: 0;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(248, 113, 113, 0.27);

    border-radius: 8px;

    color: #fca5a5;

    background:
        rgba(127, 29, 29, 0.22);

    font-size: 18px;

    cursor: pointer;

    transform:
        translateY(-50%);
}


.notifications-empty-state {
    min-height: 220px;

    padding: 28px 20px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}


.notifications-empty-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(0, 229, 255, 0.17);

    border-radius: 16px;

    background:
        rgba(0, 229, 255, 0.055);

    font-size: 24px;
}


.notifications-empty-state strong {
    margin-top: 12px;

    color: #ffffff;

    font-size: 14px;
}


.notifications-empty-state p {
    max-width: 270px;

    margin: 5px 0 0;

    color:
        var(--text-muted, #94a3b8);

    font-size: 11px;
    line-height: 1.7;
}


.notifications-panel-footer {
    padding: 10px 14px;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    text-align: center;
}


.notifications-panel-footer button {
    border: 0;

    color:
        var(--cyan, #00e5ff);

    background: transparent;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}


/* =====================================================
 * Responsive
 * ===================================================== */

@media (max-width: 900px) {

    .main-navigation {
        width:
            min(100% - 24px, 1400px);

        min-height: 66px;

        gap: 10px;
    }


    .mobile-menu-button {
        display: grid;
    }


    .navigation-links {
        position: absolute;

        top: calc(100% + 8px);
        right: 0;
        left: 0;

        padding: 10px;

        display: none;
        flex-direction: column;

        align-items: stretch;

        border:
            1px solid rgba(0, 229, 255, 0.16);

        border-radius: 14px;

        background:
            rgba(7, 17, 38, 0.985);

        box-shadow:
            0 22px 55px rgba(0, 0, 0, 0.45);
    }


    .navigation-links.open {
        display: flex;
    }


    .navigation-links a {
        width: 100%;

        justify-content: flex-start;
    }


    .navigation-actions {
        margin-right: auto;
    }


    html[dir="ltr"] .navigation-actions {
        margin-right: 0;
        margin-left: auto;
    }


    .notifications-wrapper {
        position: static;
    }


    .notifications-panel {
        position: fixed;

        top: 78px;
        right: 12px;
        left: 12px;

        width: auto;

        max-height:
            calc(100vh - 92px);

        transform-origin:
            top center;
    }


    html[dir="ltr"] .notifications-panel {
        right: 12px;
        left: 12px;
    }


    .notifications-list {
        max-height:
            calc(100vh - 300px);
    }

}


@media (max-width: 620px) {

    .brand {
        font-size: 21px;
    }


    .header-balance,
    .header-currency-balance {
        padding:
            5px 8px;
    }


    .balance-label {
        display: none;
    }


    .navigation-actions {
        gap: 6px;
    }


    .notifications-button,
    .auth-button-icon,
    .language-toggle-button,
    .mobile-menu-button {
        width: 39px;
        height: 39px;
    }


    .notifications-panel-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .notifications-header-actions {
        width: 100%;
    }


    .notifications-action-button {
        flex: 1;
    }

}


@media (max-width: 430px) {

    .main-navigation {
        width:
            calc(100% - 16px);
    }


    .header-balance,
    .header-currency-balance {
        min-height: 36px;
        padding: 3px 5px;
        gap: 3px;
    }


    .header-currency-image {
        width: 22px;
        height: 22px;
    }


    .header-currency-balance .balance-value {
        min-width: 11px;
        font-size: 11px;
    }

}


.language-selector {
    position: relative;

    flex-shrink: 0;
}


.language-toggle-button {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    padding: 0;

    border:
        1px solid rgba(139, 92, 246, 0.28);

    border-radius: 11px;

    color: #ddd6fe;

    background:
        rgba(139, 92, 246, 0.09);

    font-family: inherit;
    font-size: 11px;
    font-weight: 950;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}


.language-toggle-button:hover,
.language-toggle-button[aria-expanded="true"] {
    color: #ffffff;

    border-color:
        rgba(167, 139, 250, 0.62);

    background:
        rgba(139, 92, 246, 0.2);

    transform:
        translateY(-1px);
}


.language-toggle-flag {
    width: 25px;
    height: 25px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 50%;

    font-size: 19px;
    line-height: 1;
}


.language-flag-image {
    width: 100%;
    height: 100%;

    display: block;

    border-radius: inherit;

    object-fit: cover;
}


.language-flag-image[hidden],
.language-flag-fallback[hidden] {
    display: none !important;
}


.language-flag-fallback {
    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;
}


.language-toggle-code {
    position: absolute;

    right: 3px;
    bottom: 2px;

    min-width: 16px;

    padding: 1px 3px;

    border-radius: 999px;

    color: #ffffff;
    background: #6d28d9;

    font-size: 7px;
    line-height: 1.35;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.38);
}


html[dir="ltr"] .language-toggle-code {
    right: auto;
    left: 3px;
}


.language-panel {
    position: fixed;

    z-index: 1120;

    top: 78px;
    right: auto;
    left:
        max(12px, env(safe-area-inset-left));

    width:
        min(600px, calc(100vw - 24px));

    max-height:
        calc(100dvh - 92px);

    overflow: hidden;

    border:
        1px solid rgba(167, 139, 250, 0.28);

    border-radius: 17px;

    color: #ffffff;

    background:
        rgba(17, 27, 58, 0.985);

    box-shadow:
        0 28px 65px rgba(0, 0, 0, 0.5);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    transform-origin:
        top right;

    animation:
        xpzone-language-panel-open
        0.18s ease;
}


html[dir="ltr"] .language-panel {
    right:
        max(12px, env(safe-area-inset-right));
    left: auto;

    transform-origin:
        top left;
}


.language-panel[hidden] {
    display: none !important;
}


@keyframes xpzone-language-panel-open {

    from {
        opacity: 0;

        transform:
            translateY(-7px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


.language-panel-header {
    padding: 16px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    background:
        rgba(32, 31, 78, 0.78);

    text-align: start;
}


.language-panel-title {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: 900;
}


.language-panel-description {
    margin: 4px 0 0;

    color:
        var(--text-muted, #94a3b8);

    font-size: 11px;
    line-height: 1.55;
}


.language-list {
    max-height:
        calc(100dvh - 205px);

    padding: 8px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 7px;

    overflow-y: auto;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(167, 139, 250, 0.38)
        transparent;
}


.language-option {
    width: 100%;
    min-height: 54px;

    padding: 7px 10px;

    display: grid;

    grid-template-columns:
        38px
        minmax(0, 1fr)
        24px;

    align-items: center;

    gap: 10px;

    border:
        1px solid transparent;

    border-radius: 11px;

    color: #e2e8f0;
    background: transparent;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);

    text-align: start;

    cursor: pointer;

    transition:
        color 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}


.language-option:hover,
.language-option:focus-visible {
    color: #ffffff;

    border-color:
        rgba(167, 139, 250, 0.23);

    background:
        rgba(139, 92, 246, 0.09);

    transform:
        translateY(-1px);
}


.language-option:focus-visible {
    outline:
        2px solid rgba(167, 139, 250, 0.65);

    outline-offset: 1px;
}


.language-option.selected {
    border-color:
        rgba(0, 229, 255, 0.3);

    background:
        linear-gradient(
            135deg,
            rgba(0, 229, 255, 0.1),
            rgba(139, 92, 246, 0.11)
        );
}


.language-option-flag {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.045);

    overflow: hidden;

    font-size: 21px;
    line-height: 1;
}


.language-option-names {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 1px;
}


.language-option-names strong {
    overflow: hidden;

    font-size: 13px;
    font-weight: 850;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.language-option-names small {
    overflow: hidden;

    color:
        var(--text-muted, #94a3b8);

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


.language-option-check {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #071126;
    background:
        var(--cyan, #00e5ff);

    font-size: 12px;
    font-weight: 950;

    box-shadow:
        0 0 13px rgba(0, 229, 255, 0.22);
}


.language-option-check[hidden] {
    display: none !important;
}


@media (max-width: 620px) {

    .language-toggle-button {
        width: 39px;
        height: 39px;
    }


    .language-panel-header {
        padding: 14px;
    }


    .language-panel,
    html[dir="ltr"] .language-panel {
        top: 70px;
        right: 8px;
        left: 8px;

        width: auto;

        max-height:
            calc(100dvh - 78px);

        transform-origin:
            top center;
    }


    .language-list {
        max-height:
            calc(100dvh - 190px);
    }

}


@media (max-width: 480px) {

    .language-list {
        grid-template-columns: 1fr;
    }


    .language-option {
        min-height: 50px;
    }

}
