.bazar-ticker-wrapper {
    width: 100%;
    direction: rtl;
}

.bazar-ticker {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(145deg, #0f1c2e, #0b1523);
    border-radius: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    border: solid 1px #9d989838;
}

.bazar-ticker::-webkit-scrollbar {
    display: none;
}

.bazar-item {
    min-width: 150px;
    height: 150px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    transition: all .2s ease;
    flex-direction: column;
    justify-content: center;
border-radius: 8px;
}

.bazar-item:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

.bazar-icon img {
    width: 35px;
    height: 34px;
    border-radius: 35px;
}

.bazar-info {
    flex: 1;
}

.bazar-name {
    font-size: 12px;
    color: #aaa;
}

.bazar-price {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.bazar-change {
    font-size: 13px;
    font-weight: 600;
}

.bazar-change.up {
    color: #00e676;
    direction: ltr;
}

.bazar-change.down {
    color: #ff5252;
    direction: ltr;
}

.bazar-loading,
.bazar-error {
    color: #ccc;
    padding: 10px;
}

/* ✅ موبایل */
@media (max-width: 768px) {

    .bazar-ticker {
        padding: 8px;
        gap: 8px;
    }

    .bazar-item {
        min-width: 150px;
    height: 150px;
        padding: 8px;
    }

    .bazar-name {
        font-size: 11px;
    }

    .bazar-price {
        font-size: 13px;
    }

    .bazar-change {
        font-size: 12px;
    }
}

.bazar-change-logo {
    display: flex;
    gap: 10px;
}




/* برای قابلیت Drag-Scroll در دسکتاپ */
.bazar-ticker {
    cursor: grab;
    user-select: none; /* جلوگیری از انتخاب متن هنگام کشیدن */
}

.bazar-ticker:active {
    cursor: grabbing;
}


/* کانتینر اصلی */
.bazar-forsat {
display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 15px 5px;
    direction: rtl;
    scrollbar-width: none;
    flex-direction: column;
    align-items: flex-start;
}

/* هر ردیف (باکس هر دارایی) */
.forsat-row-item {
display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    align-items: center;
    border: 1px solid #eeeeee29;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
	width: 100%;
}



.forsat-row-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #ddd;
}

/* سلول‌های جدول */
.forsat-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.forsat-main {
flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    justify-content: flex-start;
    display: flex;
}

.forsat-img {
    width: 32px;
    height: 32px;
}

.forsat-name-text {
    font-weight: bold;
    font-size: 15px;
    color: #ffffff;
}

.forsat-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 2px;
}

.forsat-val {
    font-size: 13px;
    color: #d0cdcd;
}

/* دکمه یا نشان پیشنهاد */
.forsat-badge-green {
  color: #000000;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: none;
    background: repeating-linear-gradient(135deg, #4caf5075, #53da5973 4px, #94f19770 4px, #28dc2fa8 8px);
}


.forsat-badge-red {
 color: #000000;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: none;
   background: repeating-linear-gradient(135deg, #b40b0ba8, #f6343499 4px, #ff0000a3 4px, #dc2828d1 8px);
}


.forsat-badge-yellow {
    color: #000000;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: none;
  background: repeating-linear-gradient(135deg, #9fb40ba8, #fafe0099 4px, #c5ff00a3 4px, #aeff00d1 8px);
	 }

.forsat-badge-white {
    color: #000000;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    border: none;
    background: repeating-linear-gradient(135deg, #ffffffa8, #ffffff99 4px, #ffffffa3 4px, #ffffffd1 8px);
}

	
	
	
	.bazar-roshd-wrapper {
    width: 100%;
    direction: rtl;
}

.roshd-card {

    color: #fff;

}

.roshd-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
   gap: 60px 5px;
}

.roshd-item {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 10px 8px 12px;
    text-align: center;
	min-height: 145px;
}

.roshd-title {
    font-size: 12px;
    color: #d6dde5;
    margin-bottom: 8px;
    min-height: 32px;
    line-height: 1.5;
}

.gauge {
    position: relative;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.gauge-svg {
    width: 100%;
    height: auto;
    display: block;
}

.gauge-bg {
    fill: none;
    stroke: #2a3440;
    stroke-width: 10;
    stroke-linecap: round;
}

.gauge-fg {
    fill: none;
    stroke-width: 10;
    stroke-linecap: round;
    transform: rotate(180deg);
    transform-origin: 50% 50%;
    stroke-dasharray: 0 157;
}

.gauge.up .gauge-fg {
    stroke: #19c37d;
}

.gauge.down .gauge-fg {
    stroke: #ff5a5f;
}

.gauge.neutral .gauge-fg {
    stroke: #f0b429;
}

.gauge-value {
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.gauge-change {
    position: absolute;
    top: 58px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.gauge-change.up {
    color: #19c37d;
}

.gauge-change.down {
    color: #ff5a5f;
}

.gauge-change.neutral {
    color: #d0d7de;
}

/* موبایل */
@media (max-width: 768px) {
    .roshd-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gauge {
        max-width: 140px;
    }

    .gauge-value {
        font-size: 16px;
        top: 32px;
    }

    .gauge-change {
        top: 55px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .roshd-grid {
        grid-template-columns: 1fr;
    }
}

	
	
	
	
	
	
	