:root {
    --neon-green: #22c55e;
    --neon-red: #ef4444;
    --bg-dark: #0f172a;
}

.finscope-dashboard {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 24px;
    direction: rtl;
    color: white;
}

.finscope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.market-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.finscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.finscope-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 1.5rem;
    transition: 0.3s;
}

.finscope-card:hover {
    border-color: var(--neon-green);
    background: rgba(30, 41, 59, 1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.price-main {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.mini-chart {
    height: 60px;
    margin-top: 1rem;
}

.signal-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
}

/* ✅ وضعیت قیمت */
.price-change.status-up {
    color: #22c55e;
    font-weight: 700;
}

.price-change.status-down {
    color: #ef4444;
    font-weight: 700;
}

/* ✅ نوار رنگی کارت */
.finscope-card.up {
    border-left: 4px solid #22c55e;
}

.finscope-card.down {
    border-left: 4px solid #ef4444;
}
