

.close-btn {
    position: absolute;
    top: 25px;
    right: 69px;
    z-index: 99;
    cursor: pointer;
}


.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    visibility: hidden;
    opacity: 0.7;
    transition: all 0.5s ease;
}


.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.5s ease;
}


.menu-box {
    position: absolute;
    top: 0;
    left: 0; /* التثبيت على اليسار */
    width: 300px; /* عرض القائمة */
    max-width: 85%;
    height: 100%;
    z-index: 50;
    transform: translateX(-100%); /* دفع القائمة لليسار خارج الشاشة */
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    overflow-y: auto;
}



/* الحالة النشطة (عند ظهور القائمة) */
/* يفترض أن الكلاس 'mobile-menu-visible' يضاف للـ body أو للحاوية الأب */
.mobile-menu-visible .mobile-menu {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-visible .menu-backdrop {
    opacity: 0.7;
}

.mobile-menu-visible .menu-box {
    transform: translateX(0); /* تعود القائمة لمكانها (من اليسار لليمين) */
}

.left-icon {
    left: calc(var(--spacing) * 3.5);
    right: unset;
}

.left-txt {
    left: 0;
    right: unset;
}

.scl-img {
    transform: scaleX(-1)
}

.left-470 {
    left: 470px;
    right: unset
}

.left-440 {
    left: 440px;
    right: unset
}

.bg-shape2 {
    background-image: url(../images/shape/shape-2.png);
    transform: scaleX(-1)
}

.logo-img {
    width: 60%
}

@media (max-width: 768px) {
    .logo-img {
        width: 68%
    }
}

.alert-cs {
    background-color: oklab(72.3% -.18885 .110891 / .1);
    outline-color: oklab(72.3% -.18885 .110891 / .2);
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
    border-radius: .375rem;
    color: oklch(87.1% .15 154.449);
    padding: 20px;
}

.alert-cd {
    background-color: oklab(0.62 0.17 0.12 / 0.1);
    outline-color: oklab(0.61 0.16 0.12 / 0.2);
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
    border-radius: .375rem;
    color: oklch(0.8 0.11 30.84);
    padding: 20px;
}

.market-card_c {
    border-radius: 4px;
    padding: 10px 12px;
    color: #fff;
    position: relative;
    overflow: hidden;
    direction: ltr;
}



.top_c {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.icon_c {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #d79a00;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon_c img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.symbol_c {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
}

.pair_c {
    color: grey;
    font-size: 12px;
    margin-right: 26px;
    letter-spacing: .6px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, Trebuchet MS, Roboto, Ubuntu, sans-serif;
}

.price_c {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
}

.green_c {
    color: #22ab94;
    font-weight: normal;
    font-size: 16px;
}

.red_c {
    color: #f7525f;
    font-weight: normal;
    font-size: 16px;
}

/***********/
.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: #0f172a;
    border-top: 1px solid #0f172a;
    border-bottom: 1px solid #0f172a;
    position: relative;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: tickerMove 30s linear infinite;
}


.ticker-wrapper:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-right: 1px solid #0f172a;
    text-decoration: none;
    color: #ffffff;
    transition: background .2s;
    min-width: max-content;
}



    .ticker-item img {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        object-fit: cover;
    }

.pair_t {
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
}

.price_t {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
}

.positive_t {
    color: #0aaf60;
    font-size: 16px;
    font-weight: 500;
}

.negative_t {
    color: #e53935;
    font-size: 16px;
    font-weight: 500;
}

@keyframes tickerMove {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
