/* =========================================
   CRYPTO TEK AI - DASHBOARD STYLES
   NOTE: Common animations moved to animations.css
   ========================================= */

/* Dashboard-specific styles below */

.risk-warning-banner .btn-setup-risk:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.risk-warning-banner .btn-setup-risk:active {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

/* ==================== WATCHLIST OPPORTUNITIES SECTION ==================== */

/* Base Section Styles */
.watchlist-opportunities-section {
    margin-bottom: 24px;
    border-radius: 16px;
    padding: 20px;
    border: 2px solid;
    box-shadow: 0 4px 16px;
    transition: all 0.3s ease;
}

/* Elite Signals - Gold/Yellow */
.watchlist-opportunities-section.elite-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 165, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.15);
}

.elite-section .section-title h2 {
    color: #FFD700;
}

/* Scalping Trade - Orange */
.watchlist-opportunities-section.scalping-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 87, 34, 0.08));
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.15);
}

.scalping-section .section-title h2 {
    color: #FF6B35;
}

/* Swing Trading - Green */
.watchlist-opportunities-section.swing-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08), rgba(67, 160, 71, 0.08));
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.15);
}

.swing-section .section-title h2 {
    color: #4CAF50;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    font-size: 24px;
    -webkit-animation: bellPulse 2s ease-in-out infinite;
    animation: bellPulse 2s ease-in-out infinite;
}

/* bellPulse animation moved to animations.css */

.section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.opportunity-count {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
}

.view-all-btn {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    transform: translateX(2px);
}

/* ==================== SWIPER CAROUSEL FOR SIGNALS ==================== */

.signals-swiper {
    width: 100%;
    padding: 8px 0 40px 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.signals-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
}

.signals-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    width: 85%;
}

.signals-swiper .swiper-slide > .dashboard-opportunity-card {
    width: 100%;
    margin: 0;
}

/* Swiper CSS Fallback - when JS library not loaded */
.signals-swiper.swiper-fallback {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.signals-swiper.swiper-fallback::-webkit-scrollbar {
    display: none;
}

.signals-swiper.swiper-fallback .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px;
}

.signals-swiper.swiper-fallback .swiper-slide {
    scroll-snap-align: start;
    min-width: 85%;
    flex: 0 0 85%;
}

/* Swiper Pagination Dots */
.signals-swiper .swiper-pagination {
    bottom: 10px !important;
}

.signals-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.signals-swiper .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
}

/* Elite Swiper - Gold Pagination */
.elite-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Scalping Swiper - Orange Pagination */
.scalping-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #FF6B35, #FF5722);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Swing Swiper - Green Pagination */
.swing-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #4CAF50, #43A047);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

/* ==================== HORIZONTAL SCROLLABLE OPPORTUNITIES (FALLBACK) ==================== */

.opportunities-horizontal-scroll {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px 0;
    margin: 0 -20px; /* Extend to section edges */
}

.opportunities-scroll-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-scroll-behavior: smooth;
    padding: 8px 20px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none; /* Firefox */
}

.opportunities-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
    height: 0;
}

/* Scroll Shadows (Left/Right Indicators) */
.opportunities-horizontal-scroll::before,
.opportunities-horizontal-scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.opportunities-horizontal-scroll::before {
    left: 0;
    background: linear-gradient(to right, var(--card-bg) 0%, transparent 100%);
    opacity: 0;
}

.opportunities-horizontal-scroll::after {
    right: 0;
    background: linear-gradient(to left, var(--card-bg) 0%, transparent 100%);
}

.opportunities-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==================== DASHBOARD OPPORTUNITY CARDS ==================== */

.dashboard-opportunity-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    /* For carousel - full width in swiper slide */
    width: 100%;
    /* For horizontal scroll fallback */
    min-width: 280px;
    flex-shrink: 0;
}

/* Elite Card - Gold Border */
.dashboard-opportunity-card[data-mode="elite"] {
    border-left-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03), rgba(255, 165, 0, 0.03));
}

/* Scalping Card - Orange Border */
.dashboard-opportunity-card[data-mode="scalping"] {
    border-left-color: #FF6B35;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03), rgba(255, 87, 34, 0.03));
}

/* Swing Card - Green Border */
.dashboard-opportunity-card[data-mode="swing"] {
    border-left-color: #4CAF50;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.03), rgba(67, 160, 71, 0.03));
}

.dashboard-opportunity-card:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.dashboard-opportunity-card.buy {
    border-left-color: #4caf50;
}

.dashboard-opportunity-card.sell {
    border-left-color: #f44336;
}

.opportunity-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.symbol-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.symbol-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.symbol-direction {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
}

.symbol-direction.buy {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.symbol-direction.sell {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.confidence-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.opportunity-preview-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
}

.preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.preview-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.preview-value {
    font-weight: 700;
    color: var(--text-primary);
}

.preview-value.tp {
    color: #4caf50;
}

.preview-value.sl {
    color: #f44336;
}

.opportunity-preview-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.timeframe-badge,
.exchange-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 107, 53, 0.1);
    color: var(--text-secondary);
}

.view-details-btn {
    margin-left: auto;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Mode-specific mini badges */
.dashboard-opportunity-card[data-mode="elite"] .mode-mini-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
}

.dashboard-opportunity-card[data-mode="scalping"] .mode-mini-badge {
    background: linear-gradient(135deg, #FF6B35, #FF5722) !important;
}

.dashboard-opportunity-card[data-mode="swing"] .mode-mini-badge {
    background: linear-gradient(135deg, #4CAF50, #43A047) !important;
}

/* ==================== OPPORTUNITY DETAIL MODAL ==================== */

.opportunity-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.opportunity-detail-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.opportunity-detail-modal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

.opportunity-detail-modal .modal-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100vh;
    background: var(--card-bg);
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.opportunity-detail-modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.modal-header.buy {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
}

.modal-header.sell {
    background: linear-gradient(135deg, #f44336, #ef5350);
}

.modal-title h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
}

.modal-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-meta .timeframe-badge,
.modal-meta .exchange-badge,
.modal-meta .confidence-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    max-height: none;
    overflow-y: auto;
    padding-bottom: 80px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.detail-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-zone-box {
    background: rgba(255, 107, 53, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.zone-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 15px;
}

.zone-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.zone-value {
    color: var(--text-primary);
    font-weight: 700;
}

.zone-separator {
    color: var(--text-secondary);
}

.current-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(255, 107, 53, 0.08);
    border-radius: 6px;
    font-size: 14px;
}

.current-entry .label {
    color: var(--text-secondary);
}

.current-entry .value {
    font-weight: 700;
    color: var(--text-primary);
}

.targets-box {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 12px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.target-item {
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.target-item.tp {
    background: rgba(76, 175, 80, 0.1);
}

.target-item.sl {
    background: rgba(244, 67, 54, 0.1);
}

.target-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.target-value {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.target-item.tp .target-value {
    color: #4caf50;
}

.target-item.sl .target-value {
    color: #f44336;
}

.target-percent {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.indicators-box {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.indicator-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    font-size: 13px;
}

.indicator-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.indicator-value {
    font-weight: 700;
    color: var(--text-primary);
}

.ai-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-decision-badge {
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 142, 102, 0.1));
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.ai-score-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.ai-score-bar .label {
    color: var(--text-secondary);
    font-weight: 600;
}

.score-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.ai-score-bar .value {
    font-weight: 700;
    color: var(--text-primary);
}

.ai-reason,
.ai-note {
    padding: 12px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-primary);
}

.risk-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.risk-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 6px;
    font-size: 13px;
}

.risk-row.risk {
    background: rgba(244, 67, 54, 0.1);
}

.risk-row.reward {
    background: rgba(76, 175, 80, 0.1);
}

.risk-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.risk-value {
    font-weight: 700;
    color: var(--text-primary);
}

.risk-row.risk .risk-value {
    color: #f44336;
}

.risk-row.reward .risk-value {
    color: #4caf50;
}

.detail-section.timing {
    text-align: center;
}

.time-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 480px) {
    .watchlist-opportunities-section {
        padding: 16px;
    }

    .section-title h2 {
        font-size: 16px;
    }

    .view-all-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .symbol-name {
        font-size: 16px;
    }

    .opportunity-detail-modal .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-title h2 {
        font-size: 20px;
    }

    .targets-box,
    .indicators-box {
        grid-template-columns: 1fr;
    }

    /* Swiper adjustments for mobile */
    .signals-swiper {
        padding: 8px 0 35px 0 !important;
    }

    .signals-swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    .signals-swiper .swiper-pagination-bullet-active {
        width: 18px;
    }
}

/* Chart Show Button */
.btn-chart-show {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(33, 150, 243, 0.2));
    border: 2px solid rgba(76, 175, 80, 0.4);
    border-radius: 12px;
    color: #4CAF50;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-chart-show:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(33, 150, 243, 0.3));
    border-color: rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-chart-show:active {
    transform: translateY(0);
}

.btn-chart-show i {
    font-size: 18px;
}

/* ==================== MINIMAL STATS WIDGET ==================== */

.minimal-stats-widget {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
}

.minimal-stats-widget::-webkit-scrollbar {
    display: none;
}

.stat-pill {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(247, 147, 30, 0.08));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    min-width: 90px;
    position: relative;
    transition: all 0.3s ease;
}

.stat-pill:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(247, 147, 30, 0.12));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.stat-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.6);
}

.stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 480px) {
    .minimal-stats-widget {
        gap: 6px;
        margin-bottom: 16px;
    }

    .stat-pill {
        min-width: 80px;
        padding: 8px 12px;
    }

    .stat-label {
        font-size: 9px;
    }

    .stat-value {
        font-size: 12px;
    }
}

/* ==================== DARK FUNNEL ALERTS SECTION ==================== */

.dark-funnel-alerts-section {
    margin-bottom: 24px;
    background: linear-gradient(135deg,
        rgba(147, 51, 234, 0.12) 0%,
        rgba(124, 58, 237, 0.12) 50%,
        rgba(99, 102, 241, 0.12) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.25);
    position: relative;
    overflow: hidden;
}

/* Dark Funnel glow effect - animations removed */
.dark-funnel-alerts-section::before {
    display: none;
}

.dark-funnel-alerts-section .section-title h2 {
    color: #C084FC;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

.dark-funnel-btn {
    background: rgba(147, 51, 234, 0.15) !important;
    border-color: rgba(147, 51, 234, 0.4) !important;
    color: #C084FC !important;
}

.dark-funnel-btn:hover {
    background: rgba(147, 51, 234, 0.25) !important;
    border-color: rgba(147, 51, 234, 0.6) !important;
}

/* Dark Funnel Alert Card */
.dark-funnel-alert-card {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg,
        rgba(30, 27, 75, 0.6) 0%,
        rgba(88, 28, 135, 0.4) 100%);
    border-radius: 12px;
    border: 1px solid rgba(192, 132, 252, 0.2);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-funnel-alert-card::before {
    display: none;
}

.dark-funnel-alert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
    border-color: rgba(192, 132, 252, 0.5);
}

/* Alert Icon Wrapper */
.alert-icon-wrapper {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(124, 58, 237, 0.3));
    border-radius: 12px;
    border: 2px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.4);
    position: relative;
}

.alert-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #9333EA, #7C3AED, #6366F1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark-funnel-alert-card:hover .alert-icon-wrapper::before {
    opacity: 1;
}

.alert-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.6));
}

/* Alert Content */
.alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.alert-symbol {
    font-size: 16px;
    font-weight: 700;
    color: #E9D5FF;
    text-shadow: 0 0 10px rgba(233, 213, 255, 0.3);
}

.alert-priority-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.alert-priority-badge.critical {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: #FEE2E2;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.alert-priority-badge.high {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #FEF3C7;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.alert-priority-badge.normal {
    background: rgba(147, 51, 234, 0.3);
    color: #E9D5FF;
    border: 1px solid rgba(192, 132, 252, 0.3);
}

.alert-title {
    font-size: 15px;
    font-weight: 600;
    color: #F3E8FF;
    line-height: 1.4;
}

.alert-preview {
    font-size: 13px;
    color: rgba(233, 213, 255, 0.8);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.alert-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.alert-time {
    font-size: 11px;
    color: rgba(192, 132, 252, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.alert-time i {
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 480px) {
    .dark-funnel-alert-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .alert-icon-wrapper {
        width: 48px;
        height: 48px;
    }

    .alert-icon {
        font-size: 24px;
    }
}

/* ==================== ELITE SIGNAL CARD STYLES ==================== */

.elite-signal-card .opportunity-preview-header {
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.elite-signal-card .opportunity-preview-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* TP/SL Section Styling */
.elite-signal-card .tp-sl-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.elite-signal-card .tp-row,
.elite-signal-card .sl-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    line-height: 1.4;
    padding: 2px 0;
}

.elite-signal-card .tp-row {
    color: #4CAF50;
}

.elite-signal-card .sl-row {
    color: #f44336;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.elite-signal-card .tp-label,
.elite-signal-card .sl-label {
    font-weight: 600;
}

.elite-signal-card .tp-percent,
.elite-signal-card .sl-percent {
    font-weight: 600;
    font-size: 11px;
}

/* Leverage and RR section */
.elite-signal-card .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-top: 4px;
}

.elite-signal-card .info-label {
    opacity: 0.7;
    font-size: 11px;
}

.elite-signal-card .info-value {
    font-weight: 600;
    font-size: 12px;
}

/* ==================== CROSS-EXCHANGE ALERTS ==================== */

/* Elite Cross-Exchange Alert */
.cross-exchange-alert {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    animation: slideInDown 0.3s ease-out;
}

.cross-exchange-alert-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cross-exchange-alert-icon {
    font-size: 24px;
}

.cross-exchange-alert-title {
    flex: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.cross-exchange-alert-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cross-exchange-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.cross-exchange-item {
    background: rgba(255, 255, 255, 0.1);
    /* backdrop-filter removed */
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cross-exchange-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.cross-exchange-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.cross-exchange-alert-button {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    /* backdrop-filter removed */
}

.cross-exchange-alert-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Swing Watchlist Discovery Alert */
.swing-watchlist-alert {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.15);
    animation: slideInDown 0.3s ease-out;
}

.swing-watchlist-coins {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.swing-coin-chip {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    /* backdrop-filter removed */
}

/* Scalping Live Stats */
.scalping-live-stats {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.15);
}

.scalping-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.scalping-stats-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.scalping-total-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    /* backdrop-filter removed */
}

.scalping-exchange-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.scalping-exchange-item {
    background: rgba(255, 255, 255, 0.1);
    /* backdrop-filter removed */
    border-radius: 8px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scalping-exchange-item.user-exchange {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.scalping-exchange-name {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scalping-status-indicator {
    font-size: 10px;
}

.scalping-status-indicator.status-none {
    color: #ff4444;
}

.scalping-status-indicator.status-low {
    color: #ffaa00;
}

.scalping-status-indicator.status-active {
    color: #00ff88;
}

.scalping-exchange-count {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* Animations - removed for performance */

/* ==================== SIGNAL DETAIL MODAL ENHANCEMENTS ==================== */

.signal-detail-modal {
    max-width: 480px;
    width: 90%;
}

.signal-detail-modal .modal-body {
    background: var(--bg-color);
}

/* Gradient text effect for AI Score */
@supports (-webkit-background-clip: text) {
    .ai-score-gradient {
        background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Glassmorphism effect for cards - blur removed for performance */
.glass-card {
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced hover effects for metric cards */
.metric-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Modal animations removed for performance */
.signal-detail-modal .modal-body > div {
}

/* Progress bar animations removed */

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .signal-detail-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    .signal-detail-modal .modal-body {
        padding: 16px;
    }

    /* Reduce font sizes on mobile */
    .signal-detail-modal .modal-body div[style*="font-size: 32px"] {
        font-size: 28px !important;
    }

    .signal-detail-modal .modal-body div[style*="font-size: 24px"] {
        font-size: 20px !important;
    }
}

/* Smooth scrollbar for modal body */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
}

/* Badge animations removed */

/* TP/SL Card enhancements - no hover animations */
.tp-card-item {
    transition: none;
}

.tp-card-item:hover {
    transform: none;
}

/* ==================== MANUAL ANALYSIS PROMO CARD ==================== */
.manual-analysis-promo-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.manual-analysis-promo-card::before {
    display: none;
}

.manual-analysis-promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

.promo-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.promo-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}

.promo-card-header h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-card-body {
    position: relative;
    z-index: 1;
}

.promo-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.promo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    border-left: 3px solid #6366f1;
    transition: all 0.2s ease;
}

.promo-features li:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 16px;
    filter: drop-shadow(0 1px 4px rgba(34, 197, 94, 0.4));
}

.promo-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.promo-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.promo-cta-btn:hover::before {
    left: 100%;
}

.promo-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.promo-cta-btn:active {
    transform: translateY(0);
}

.promo-cta-btn i {
    transition: transform 0.3s ease;
}

.promo-cta-btn:hover i {
    transform: translateX(4px);
}

/* Mobile responsive */
@media (max-width: 480px) {
    .manual-analysis-promo-card {
        padding: 16px;
        margin: 16px 0;
    }

    .promo-card-header h3 {
        font-size: 18px;
    }

    .promo-icon {
        font-size: 28px;
    }

    .promo-description {
        font-size: 13px;
    }

    .promo-features li {
        font-size: 12px;
        padding: 6px 10px;
    }

    .promo-cta-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Status Badge Styles for Elite Signals */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.status-badge.status-predicted {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(75, 0, 130, 0.2));
    color: #e0b0ff;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.status-badge.status-open {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.3), rgba(0, 200, 83, 0.2));
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.4);
}

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.3);
}

/* ==================== CRYPTO TEK AI TV ==================== */

.crypto-tek-ai-tv-section {
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    box-shadow: 0 4px 24px rgba(255, 107, 53, 0.15);
}

.tv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tv-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tv-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 53, 0.4));
}

.tv-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tv-subtitle {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tv-live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
}

.tv-live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff0000;
}

.tv-live-text {
    font-size: 11px;
    font-weight: 700;
    color: #ff0000;
    letter-spacing: 1px;
}

.tv-coins-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.tv-coin-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* backdrop-filter removed */
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tv-coin-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.tv-coin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tv-symbol-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-symbol {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.tv-exchange {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.tv-mode-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tv-price {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.tv-change {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.tv-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.tv-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

.tv-sparkline-container {
    margin: 20px 0;
    min-height: 120px;
    height: 120px;
}

.tv-sparkline {
    width: 100%;
    height: 100%;
    display: block;
}

.tv-metrics {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.tv-metric {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-align: center;
}

.tv-metric-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 4px;
}

.tv-metric-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.tv-risk-section {
    margin-top: 16px;
    margin-bottom: 16px;
}

.tv-risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.tv-risk-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.tv-risk-score {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.tv-risk-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.tv-risk-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-sentiment-badge {
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 16px;
}

/* ❌ PnL styles removed - no real trading system */

.tv-footer {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
}

.tv-info-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tv-info-text i {
    font-size: 14px;
    color: rgba(255, 107, 53, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .tv-coins-grid {
        grid-template-columns: 1fr;
    }

    .crypto-tek-ai-tv-section {
        padding: 16px;
    }

    .tv-title {
        font-size: 18px;
    }
}

/* ==================== TV WATCHLIST POPUP ==================== */

.tv-watchlist-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tv-watchlist-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.tv-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1;
}

.tv-popup-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    background: linear-gradient(135deg, rgba(30, 30, 60, 0.98), rgba(40, 40, 80, 0.98));
    border-radius: 16px;
    border: 2px solid rgba(255, 107, 53, 0.3);
    box-shadow: 0 12px 48px rgba(255, 107, 53, 0.4);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.tv-watchlist-popup.active .tv-popup-content {
    transform: scale(1);
}

.tv-popup-header {
    padding: 20px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tv-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.tv-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.tv-popup-body {
    padding: 20px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.tv-popup-body::-webkit-scrollbar {
    width: 6px;
}

.tv-popup-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.tv-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border-radius: 3px;
}

.tv-popup-section {
    margin-bottom: 24px;
}

.tv-popup-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-popup-section h4 i {
    color: #FF6B35;
}

.tv-form-group {
    margin-bottom: 16px;
}

.tv-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.tv-select,
.tv-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.tv-select:focus,
.tv-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.tv-select option {
    background: #1a1a2e;
    color: white;
    padding: 10px;
}

.tv-search-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tv-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.tv-search-btn:active {
    transform: translateY(0);
}

.tv-search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.tv-search-results {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 12px;
}

.tv-search-results::-webkit-scrollbar {
    width: 5px;
}

.tv-search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.tv-search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 3px;
}

.tv-search-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tv-search-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.tv-search-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tv-search-item-symbol {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.tv-search-item-exchange {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Minimal Add Button */
.tv-mini-add-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #10B981;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tv-mini-add-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.5);
    transform: scale(1.08);
}

.tv-mini-add-btn:active {
    transform: scale(0.95);
}

/* Legacy Add Button (for backwards compatibility) */
.tv-add-btn {
    padding: 6px 14px;
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 6px;
    color: #00ff88;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tv-add-btn:hover {
    background: rgba(0, 255, 136, 0.3);
    border-color: rgba(0, 255, 136, 0.6);
    transform: scale(1.05);
}

.tv-add-btn:active {
    transform: scale(0.95);
}

.tv-current-watchlist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tv-watchlist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tv-watchlist-item:hover {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

.tv-watchlist-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-watchlist-item-symbol {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.tv-watchlist-item-exchange {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.tv-remove-btn {
    padding: 6px 12px;
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.4);
    border-radius: 6px;
    color: #ff4757;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tv-remove-btn:hover {
    background: rgba(255, 71, 87, 0.3);
    border-color: rgba(255, 71, 87, 0.6);
    transform: scale(1.05);
}

.tv-remove-btn:active {
    transform: scale(0.95);
}

.tv-manage-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 12px;
    color: #FF6B35;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.tv-manage-btn:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.3));
    border-color: rgba(255, 107, 53, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.tv-manage-btn:active {
    transform: translateY(0);
}

.tv-manage-btn i {
    font-size: 18px;
}

/* Empty State Styles */
.tv-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.tv-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.3));
}

.tv-empty-state h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.tv-empty-state p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Loading State */
.tv-loading-state {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.tv-loading-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 107, 53, 0.2);
    border-top-color: #FF6B35;
    border-radius: 50%;
    margin-bottom: 12px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error State */
.tv-error-state {
    padding: 16px;
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 8px;
    color: #ff4757;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}

/* No Results State */
.tv-no-results {
    text-align: center;
    padding: 32px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.tv-no-results i {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.tv-no-results p {
    margin: 0;
    font-size: 14px;
}

/* Watchlist Limit Warning */
.tv-limit-warning {
    padding: 12px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    color: #ffc107;
    font-size: 12px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-limit-warning i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 480px) {
    .tv-popup-content {
        width: 95%;
        max-height: 90vh;
    }

    .tv-popup-header {
        padding: 16px;
    }

    .tv-popup-header h3 {
        font-size: 18px;
    }

    .tv-popup-body {
        padding: 16px;
    }

    .tv-popup-section {
        margin-bottom: 20px;
    }

    .tv-search-results {
        max-height: 200px;
    }

    .tv-empty-icon {
        font-size: 48px;
    }

    .tv-empty-state h3 {
        font-size: 16px;
    }

    .tv-empty-state p {
        font-size: 13px;
    }
}

/* Animation for card removal - removed */
.tv-coin-card.removing {
    opacity: 0;
}

/* Pulse animation for new items - removed */
.tv-coin-card.new-item {
}

/* Position remove button on card */
.tv-coin-card {
    position: relative;
}

.tv-coin-card .tv-remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    min-width: auto;
}

.tv-coin-card .tv-remove-btn i {
    margin: 0;
}

/* ==================== END TV WATCHLIST POPUP ==================== */

/* ==================== NEW TV DESIGN (test-sparkline.html style) ==================== */

/* Section Container */
.tv-section {
    margin-bottom: 24px;
}

/* Section Header */
.tv-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 4px;
}

.tv-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-header-icon {
    font-size: 24px;
}

.tv-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tv-header-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.tv-header-subtitle {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.tv-add-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tv-add-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

/* Cards Container */
.tv-cards-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual Card - Matching test-sparkline.html exactly */
.tv-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* backdrop-filter removed */
    cursor: pointer;
    transition: all 0.3s ease;
}

.tv-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tv-card:active {
    transform: scale(0.99);
}

/* Symbol */
.tv-card-symbol {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

/* Exchange */
.tv-card-exchange {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* Price */
.tv-card-price {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-feature-settings: "tnum";
}

/* Change Badge */
.tv-card-change {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

.tv-card-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
}

.tv-card-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
}

/* Chart Container */
.tv-card-chart {
    margin: 20px 0;
    min-height: 100px;
    height: 100px;
}

/* Stats Row */
.tv-card-stats {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* Stat Box */
.tv-stat-box {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
}

.tv-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* Loading State */
.tv-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.tv-loader {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #10B981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty State */
.tv-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tv-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.tv-empty h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.tv-empty p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    max-width: 280px;
}

.tv-empty-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #10B981, #059669);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.tv-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

/* Responsive */
@media (max-width: 480px) {
    .tv-card {
        padding: 20px;
        border-radius: 16px;
    }

    .tv-card-symbol {
        font-size: 20px;
    }

    .tv-card-price {
        font-size: 28px;
    }

    .tv-card-change {
        font-size: 14px;
        padding: 5px 10px;
    }

    .tv-card-chart {
        min-height: 80px;
        height: 80px;
    }

    .tv-stat-box {
        padding: 10px 8px;
    }

    .tv-stat-label {
        font-size: 10px;
    }

    .tv-stat-value {
        font-size: 14px;
    }
}

/* ==================== LEGACY CLEAN TV CARD (for backwards compatibility) ==================== */

.tv-coin-card-clean {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* backdrop-filter removed */
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tv-coin-card-clean:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.tv-clean-symbol {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.tv-clean-exchange {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.tv-clean-price {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.tv-clean-change {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    padding: 4px 0;
    margin-bottom: 12px;
}

.tv-clean-change.positive {
    color: #10B981;
}

.tv-clean-change.negative {
    color: #EF4444;
}

.tv-clean-sparkline {
    width: 100%;
    height: 100px;
    margin: 16px 0;
    display: block;
    padding: 0 8px;
}

.tv-clean-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.tv-clean-metric-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    text-align: center;
}

.tv-clean-metric-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-clean-metric-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* ==================== END TV CARD DESIGNS ==================== */

/* ==================== SETUP WIZARD PANEL ==================== */

.setup-wizard-container {
    padding: 0;
    min-height: 100vh;
}

.setup-wizard-panel {
    background: linear-gradient(180deg, rgba(15, 20, 35, 0.98) 0%, rgba(10, 14, 26, 0.98) 100%);
    border-radius: 0;
    padding: 24px 20px 40px;
    min-height: 100vh;
}

.setup-header {
    text-align: center;
    margin-bottom: 24px;
}

.setup-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.setup-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.setup-description {
    text-align: center;
    margin-bottom: 28px;
    padding: 0 8px;
}

.setup-description p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
}

.setup-description .setup-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.setup-section {
    margin-bottom: 24px;
}

.setup-section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setup-section-title i {
    color: #FF6B35;
    font-size: 16px;
}

.setup-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.setup-label i {
    color: #FF6B35;
}

/* Exchange Grid */
.setup-exchange-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.setup-exchange-grid .exchange-option {
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.setup-exchange-grid .exchange-option .name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.setup-exchange-grid .exchange-option:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.setup-exchange-grid .exchange-option.selected {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(247, 147, 30, 0.2));
    border-color: #FF6B35;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.setup-exchange-grid .exchange-option.selected .name {
    color: #FF6B35;
}

/* Input Group */
.setup-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.setup-input-group:focus-within {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.setup-input {
    flex: 1;
    padding: 14px 16px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.setup-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.setup-input-suffix {
    padding: 14px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    font-size: 14px;
    font-weight: 600;
}

.setup-input-small {
    width: 80px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.setup-input-small:focus {
    border-color: #FF6B35;
    outline: none;
}

/* Options Row (Leverage, Position) */
.setup-options-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.setup-preset-option {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 50px;
    text-align: center;
}

.setup-preset-option:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.setup-preset-option.selected {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(247, 147, 30, 0.2));
    border-color: #FF6B35;
    color: #FF6B35;
}

.setup-custom-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* Risk Modes */
.setup-risk-modes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.setup-risk-mode-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.setup-risk-mode-option:hover {
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.2);
}

.setup-risk-mode-option.selected {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(247, 147, 30, 0.1));
    border-color: #FF6B35;
}

.setup-risk-mode-option.recommended {
    border-color: rgba(0, 255, 136, 0.3);
}

.setup-risk-mode-option .risk-mode-icon {
    font-size: 28px;
}

.setup-risk-mode-option .risk-mode-info {
    flex: 1;
}

.setup-risk-mode-option .risk-mode-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.setup-risk-mode-option .risk-mode-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.setup-risk-mode-option .risk-mode-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #00ff88, #00c853);
    color: #000;
    font-size: 10px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Compact Risk Modes (Modal) */
.setup-risk-modes-compact {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.setup-risk-mode-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.setup-risk-mode-compact:hover {
    border-color: rgba(255, 107, 53, 0.3);
}

.setup-risk-mode-compact.selected {
    background: rgba(255, 107, 53, 0.15);
    border-color: #FF6B35;
}

.setup-risk-mode-compact .mode-icon {
    font-size: 18px;
}

.setup-risk-mode-compact .mode-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Complete Button */
.setup-actions {
    margin-top: 32px;
}

.btn-setup-complete {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    border: none;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.btn-setup-complete:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5);
}

.btn-setup-complete:active:not(:disabled) {
    transform: translateY(0);
}

.btn-setup-complete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Exchange Setup Warning Card */
.exchange-setup-warning {
    margin-bottom: 20px;
}

.exchange-setup-warning .btn-setup-exchange-risk:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.exchange-setup-warning .btn-setup-exchange-risk:active {
    transform: translateY(0);
}

/* Exchange Setup Modal */
.exchange-setup-modal-content {
    padding: 8px 0;
}

.exchange-setup-modal-content .modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    text-align: center;
}

.exchange-setup-modal-content .modal-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px;
    text-align: center;
}

.exchange-setup-modal-content .setup-section {
    margin-bottom: 18px;
}

/* ==================== END SETUP WIZARD PANEL ==================== */

/* ==================== DIAMOND DETECTOR ALERT CARD ==================== */

.diamond-detector-card {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.12), rgba(75, 0, 130, 0.15));
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.25),
                0 0 40px rgba(138, 43, 226, 0.1);
    position: relative;
    overflow: hidden;
}

.diamond-detector-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 60%);
    animation: diamondGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes diamondGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.diamond-detector-card.diamond-detector-alert.buy {
    border-color: rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(76, 175, 80, 0.08));
}

.diamond-detector-card.diamond-detector-alert.sell {
    border-color: rgba(244, 67, 54, 0.5);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(244, 67, 54, 0.08));
}

/* Header */
.diamond-detector-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.diamond-detector-icon-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-detector-icon {
    font-size: 32px;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.6));
}

.diamond-detector-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(138, 43, 226, 0.3);
    animation: diamondPulse 2s ease-in-out infinite;
}

.diamond-detector-pulse.active {
    background: rgba(76, 175, 80, 0.4);
    animation: diamondPulseActive 1.5s ease-in-out infinite;
}

@keyframes diamondPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes diamondPulseActive {
    0%, 100% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 0.3; }
}

.diamond-detector-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.diamond-detector-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
}

.diamond-detector-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    padding: 4px 10px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    width: fit-content;
}

.diamond-detector-status.active .status-dot {
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.diamond-detector-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.diamond-detector-badge.scalping {
    background: linear-gradient(135deg, #FF6B35, #FF5722);
    color: #fff;
}

.diamond-detector-badge.swing {
    background: linear-gradient(135deg, #4CAF50, #43A047);
    color: #fff;
}

/* Body - Waiting State */
.diamond-detector-body.waiting {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.diamond-detector-scanning {
    text-align: center;
}

.scanning-animation {
    width: 100%;
    height: 4px;
    background: rgba(138, 43, 226, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.scan-line {
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #8B2BE2, transparent);
    animation: scanMove 2s ease-in-out infinite;
}

@keyframes scanMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.scanning-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Body - Alert Content */
.diamond-detector-body.alert-content {
    position: relative;
    z-index: 1;
}

.diamond-alert-main {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.diamond-alert-symbol-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.diamond-alert-symbol {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.diamond-alert-symbol .symbol-name {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.diamond-alert-symbol .symbol-exchange {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.diamond-alert-meta {
    display: flex;
    gap: 8px;
    align-items: center;
}

.diamond-alert-meta .timeframe-badge {
    background: rgba(138, 43, 226, 0.3);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.diamond-alert-meta .confidence-badge {
    background: linear-gradient(135deg, #8B2BE2, #6B21A8);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.4);
}

.diamond-alert-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
}

.diamond-alert-direction.buy {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.diamond-alert-direction.sell {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.diamond-alert-direction .direction-icon {
    font-size: 20px;
}

.diamond-alert-direction .direction-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.diamond-alert-direction.buy .direction-text {
    color: #4CAF50;
}

.diamond-alert-direction.sell .direction-text {
    color: #f44336;
}

/* Price Levels */
.diamond-alert-levels {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diamond-alert-levels .level-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.diamond-alert-levels .level-item.entry {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
}

.diamond-alert-levels .level-item.tp {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4CAF50;
}

.diamond-alert-levels .level-item.sl {
    background: rgba(244, 67, 54, 0.1);
    border-left: 3px solid #f44336;
}

.diamond-alert-levels .level-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.diamond-alert-levels .level-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.diamond-alert-time {
    text-align: right;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

/* Footer */
.diamond-detector-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    z-index: 1;
}

.diamond-disclaimer {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 12px;
    text-align: center;
}

.diamond-view-detail-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8B2BE2, #6B21A8);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.4);
}

.diamond-view-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(138, 43, 226, 0.5);
}

.diamond-view-detail-btn:active {
    transform: translateY(0);
}

/* ==================== END DIAMOND DETECTOR ALERT CARD ==================== */

/* ==================== DIAMOND DETAIL POPUP MODAL ==================== */

/* Modal Overlay - Full Screen */
/* ═══════════════════════════════════════════════════════════════
   💎 DIAMOND DETAIL FULL-SCREEN MODAL
   ═══════════════════════════════════════════════════════════════ */

.diamond-detail-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diamond-detail-modal-overlay.visible {
    opacity: 1;
}

/* Modal Container - Full Screen */
.diamond-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.diamond-detail-modal-overlay.visible .diamond-detail-modal {
    transform: translateY(0);
}

/* Close Button - Top Right */
.diamond-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    border: none;
}

.diamond-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.diamond-modal-close-btn span {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.diamond-detail-popup {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Diamond Popup Header - Compact header with symbol info */
.diamond-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-right: 60px; /* Space for close button */
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(99, 102, 241, 0.1));
    border-bottom: 1px solid rgba(138, 43, 226, 0.15);
    flex-shrink: 0;
}

.diamond-popup-header .popup-header-left {
    display: flex;
    align-items: center;
}

.diamond-popup-header .popup-symbol {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.diamond-popup-header.buy {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
    border-bottom-color: rgba(76, 175, 80, 0.2);
}

.diamond-popup-header.sell {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(244, 67, 54, 0.08));
    border-bottom-color: rgba(244, 67, 54, 0.2);
}

.popup-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.direction-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.direction-dot.buy {
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.direction-dot.sell {
    background: #F44336;
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

.popup-header-left .direction-icon {
    font-size: 18px;
}

.popup-symbol {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.popup-timeframe {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.popup-age {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.popup-header-right {
    display: flex;
    gap: 8px;
}

.popup-ai-btn,
.popup-watch-btn {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.popup-ai-btn {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(138, 43, 226, 0.2));
    color: #fff;
    border: 1px solid rgba(138, 43, 226, 0.5);
}

.popup-watch-btn {
    background: linear-gradient(135deg, #8B2BE2, #6B21A8);
    color: #fff;
}

.popup-ai-btn:hover,
.popup-watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

/* Popup Body - Scrollable Content Area */
.diamond-popup-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 20px));
    -webkit-overflow-scrolling: touch;
}

/* Diamond Market Direction Banner - Large Visual */
.diamond-market-direction {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.diamond-market-direction.buy {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.3);
}

.diamond-market-direction.sell {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    border-color: rgba(239, 68, 68, 0.3);
}

.diamond-direction-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.diamond-direction-main .direction-icon {
    font-size: 42px;
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.5));
}

.diamond-direction-main .direction-text {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diamond-market-direction.buy .direction-text {
    color: #22c55e;
}

.diamond-market-direction.sell .direction-text {
    color: #ef4444;
}

.diamond-direction-confidence {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.diamond-direction-confidence span {
    font-weight: 700;
    color: #fff;
}

/* Old popup-direction-row - keeping for compatibility */
.popup-direction-row {
    display: none; /* Hidden - replaced by diamond-market-direction */
}

.popup-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.popup-value {
    font-size: 16px;
    font-weight: 700;
}

.popup-value.buy {
    color: #4CAF50;
}

.popup-value.sell {
    color: #F44336;
}

/* Popup Levels Section - Entry/TP/SL display */
.popup-levels-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 20px;
}

.popup-level-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-left: 4px solid transparent;
    border-radius: 10px;
    margin: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.popup-level-row:not(:last-child) {
    border-bottom: none;
}

.popup-level-row.target {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
}

.popup-level-row.sl {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.popup-level-row .level-icon {
    font-size: 18px;
    margin-right: 14px;
}

.popup-level-row .level-label {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.popup-level-row .level-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.popup-level-row .level-value.target {
    color: #22c55e;
}

.popup-level-row .level-value.sl {
    color: #ef4444;
}

/* Popup Scores Row - AI Score & Confidence */
.popup-scores-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.popup-scores-row .score-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

.popup-scores-row .score-icon {
    font-size: 18px;
}

.popup-scores-row .score-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.popup-scores-row .score-value {
    font-size: 16px;
    font-weight: 700;
    color: #4CAF50;
    margin-left: auto;
}

/* Popup Sections */
.diamond-popup-section {
    background: rgba(138, 43, 226, 0.08);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.diamond-popup-section .section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.diamond-popup-section .section-icon {
    font-size: 18px;
}

.diamond-popup-section .section-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

/* AI Assessment Section */
.ai-assessment-content {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.assessment-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.assessment-badge.strong {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.assessment-badge.moderate {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.assessment-badge.weak {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2), rgba(244, 67, 54, 0.1));
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.assessment-badge .badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.assessment-badge.strong .badge-dot {
    background: #4CAF50;
}

.assessment-badge.moderate .badge-dot {
    background: #FFC107;
}

.assessment-badge.weak .badge-dot {
    background: #F44336;
}

.assessment-badge .badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #4CAF50;
}

.assessment-badge.moderate .badge-text {
    color: #FFC107;
}

.assessment-badge.weak .badge-text {
    color: #F44336;
}

.assessment-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

/* Target Zone Section */
.target-zone-section {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(138, 43, 226, 0.08));
}

.target-range {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

/* Multi Targets Section */
.targets-list {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.target-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.target-item:last-child {
    border-bottom: none;
}

.target-item.highlighted {
    background: rgba(138, 43, 226, 0.15);
}

.target-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.target-value {
    font-size: 14px;
    font-weight: 600;
    color: #4CAF50;
}

.invalidation-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.2);
    border-radius: 10px;
}

.invalidation-icon {
    font-size: 16px;
}

.invalidation-label {
    flex: 1;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.invalidation-value {
    font-size: 14px;
    font-weight: 600;
    color: #F44336;
}

/* Risk Section */
.risk-section {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(138, 43, 226, 0.08));
}

.risk-section .section-header {
    flex-wrap: wrap;
    gap: 8px;
}

.risk-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-badge.configured {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.exchange-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    margin-left: auto;
}

.risk-mode-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: rgba(138, 43, 226, 0.15);
    border-radius: 10px;
    margin-bottom: 14px;
}

.risk-mode-info .mode-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.risk-mode-info .mode-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.risk-mode-info .mode-text strong {
    color: #fff;
}

.risk-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.risk-stat {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 10px;
}

.risk-stat .stat-label {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.risk-stat .stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.risk-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

.risk-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.risk-detail-item .detail-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.risk-detail-item .detail-value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

/* Scenario Plan */
.scenario-plan {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.scenario-icon {
    font-size: 16px;
}

.scenario-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.scenario-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scenario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scenario-item:last-child {
    border-bottom: none;
}

.scenario-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.scenario-value {
    font-size: 13px;
    font-weight: 600;
}

.scenario-value.positive {
    color: #4CAF50;
}

.scenario-value.negative {
    color: #F44336;
}

/* Potential Section */
.potential-section {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(138, 43, 226, 0.1));
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.potential-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.potential-value {
    font-size: 28px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 4px;
}

.potential-roi {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Indicators Section */
.indicators-section {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.indicators-row {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
}

/* Show Chart Button */
.show-chart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #8B2BE2, #6B21A8);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.show-chart-btn .chart-icon {
    font-size: 18px;
}

.show-chart-btn .chart-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.show-chart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.show-chart-btn:active {
    transform: translateY(0);
}

/* ==================== END DIAMOND DETAIL POPUP MODAL ==================== */

/* ==================== DASHBOARD NEWS FEED SECTION ==================== */

.dashboard-news-section {
    margin-bottom: 24px;
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 165, 0, 0.08));
    border: 2px solid rgba(255, 140, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.15);
}

.dashboard-news-section .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dashboard-news-section .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-news-section .section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #FF8C00;
}

/* News Feed Carousel Container */
.news-feed-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Loading State */
.news-feed-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.news-feed-loading .loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 140, 0, 0.2);
    border-top-color: #FF8C00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty State */
.news-feed-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    gap: 12px;
}

.news-feed-empty i {
    font-size: 32px;
    opacity: 0.5;
}

/* News Feed Track - Horizontal Scrolling */
.news-feed-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-feed-track::-webkit-scrollbar {
    display: none;
}

/* Individual News Card */
.news-feed-card {
    flex: 0 0 280px;
    min-width: 280px;
    background: var(--card-bg, rgba(30, 30, 40, 0.9));
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: newsCardSlideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateX(20px);
}

.news-feed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 140, 0, 0.4);
}

@keyframes newsCardSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* News Card Source */
.news-card-source {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #FF8C00;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-source i {
    font-size: 10px;
}

/* News Card Title */
.news-card-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

/* News Card Description */
.news-card-desc {
    margin: 0 0 12px 0;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Card Footer */
.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.news-card-time i {
    font-size: 10px;
    color: #FF8C00;
}

/* News Card Link */
.news-card-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #FF8C00;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-card-link:hover {
    color: #FFA500;
}

.news-card-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.news-card-link:hover i {
    transform: translateX(2px);
}

/* Auto-scroll animation for continuous marquee effect (optional) */
@keyframes newsMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px - 16px));
    }
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .news-feed-card {
        flex: 0 0 250px;
        min-width: 250px;
    }

    .news-card-title {
        font-size: 13px;
    }
}

/* ==================== END DASHBOARD NEWS FEED SECTION ==================== */

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD HEADER - FULL WIDTH HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.dashboard-header {
    background: linear-gradient(135deg, rgba(33,150,243,0.15) 0%, rgba(156,39,176,0.1) 50%, rgba(255,107,53,0.15) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 0 0 24px 24px;
    padding: 24px 20px;
    margin-bottom: 20px;
    text-align: center;
}

.dashboard-header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.dashboard-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.dashboard-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD GRID LAYOUT
   ═══════════════════════════════════════════════════════════════ */

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.dashboard-card {
    background: var(--bg-secondary, #1a1a2e);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    border-color: rgba(255, 107, 53, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dashboard-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP RESPONSIVE - PROFESSIONAL DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Tablet Layout (768px+) */
@media (min-width: 768px) {
    .dashboard-header {
        padding: 32px 24px;
        border-radius: 24px;
        margin: 0 0 24px;
    }

    .dashboard-logo {
        width: 48px;
        height: 48px;
    }

    .dashboard-header h1 {
        font-size: 32px;
    }

    .dashboard-header p {
        font-size: 15px;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dashboard-card {
        padding: 24px;
    }
}

/* Desktop Layout (1024px+) */
@media (min-width: 1024px) {
    /* Dashboard Container */
    .dashboard-container {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* Dashboard Header - Full Width Hero */
    .dashboard-header {
        padding: 40px 40px;
        margin: 0 0 28px;
        text-align: center;
    }

    .dashboard-logo {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .dashboard-header-brand {
        gap: 16px;
    }

    .dashboard-header h1 {
        font-size: 36px;
    }

    .dashboard-header p {
        font-size: 16px;
        margin-bottom: 0;
    }

    /* Dashboard Grid */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Full width sections */
    .dashboard-card.full-width,
    .page-header,
    #dashboard-upgrade-banner,
    #watchlist-limit-warning,
    .exchange-setup-warning,
    .alert-hub,
    .watchlist-opportunities-section,
    .market-weather-widget,
    .locked-feature-card.market-weather,
    .crypto-tekai-tv-card,
    .locked-feature-card.crypto-tv,
    .dark-funnel-alerts-section,
    .news-feed-section,
    .top-diamond-elite-alert {
        grid-column: 1 / -1;
    }

    /* Page Header - Full Width Hero */
    .page-header {
        background: linear-gradient(135deg, rgba(33,150,243,0.15) 0%, rgba(156,39,176,0.1) 50%, rgba(255,107,53,0.15) 100%);
        border: 1px solid rgba(255, 107, 53, 0.2);
        border-radius: 24px;
        padding: 40px;
        margin-bottom: 28px;
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .page-header h1 {
        font-size: 36px;
        font-weight: 800;
        background: linear-gradient(135deg, #FF6B35, #F7931E);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0 0 8px;
    }

    .page-header p {
        margin: 0;
        font-size: 16px;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Side by side cards */
    .minimal-stats-widget {
        grid-column: 1;
    }

    .diamond-detector-alert-card,
    .locked-feature-card.diamond-detector {
        grid-column: 2;
    }

    /* Watchlist section */
    .watchlist-section {
        grid-column: 1;
    }

    .cross-exchange-alerts-section {
        grid-column: 2;
    }

    /* Cards */
    .dashboard-card,
    .card,
    .setup-panel {
        border-radius: 20px;
        padding: 28px;
    }

    /* Watchlist Opportunities */
    .watchlist-opportunities-section {
        padding: 28px;
        border-radius: 20px;
    }

    .signals-swiper .swiper-slide {
        width: 45%;
    }

    .signals-swiper.swiper-fallback .swiper-slide {
        min-width: 45%;
        flex: 0 0 45%;
    }

    .dashboard-opportunity-card {
        min-width: 350px;
        padding: 20px;
    }

    /* Market Weather */
    .market-weather-widget,
    .market-weather-section {
        padding: 28px;
        border-radius: 20px;
    }

    /* TV Dashboard */
    .crypto-tekai-tv-card,
    .tv-dashboard-section {
        padding: 28px;
        border-radius: 20px;
    }

    /* News Feed */
    .news-feed-section {
        padding: 28px;
        border-radius: 20px;
    }

    .news-feed-card {
        flex: 0 0 320px;
        min-width: 320px;
    }

    /* Diamond Detector Card */
    .diamond-detector-alert-card {
        height: fit-content;
    }
}

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    /* Dashboard Container */
    .dashboard-container {
        max-width: 1600px;
    }

    .dashboard-header {
        padding: 48px;
        border-radius: 28px;
    }

    .dashboard-logo {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .dashboard-header-brand {
        gap: 18px;
    }

    .dashboard-header h1 {
        font-size: 40px;
    }

    .page-header {
        padding: 48px;
        border-radius: 28px;
    }

    .page-header h1 {
        font-size: 40px;
    }

    /* Dashboard Grid - 3 columns where applicable */
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    /* Cards */
    .dashboard-card,
    .card,
    .setup-panel {
        padding: 32px;
    }

    /* Swiper slides */
    .signals-swiper .swiper-slide {
        width: 32%;
    }

    .signals-swiper.swiper-fallback .swiper-slide {
        min-width: 32%;
        flex: 0 0 32%;
    }

    .dashboard-opportunity-card {
        min-width: 380px;
    }

    .news-feed-card {
        flex: 0 0 350px;
        min-width: 350px;
    }

    /* Minimal stats - spans 2 columns */
    .minimal-stats-widget {
        grid-column: span 2;
    }

    /* Cross exchange alerts - full height */
    .cross-exchange-alerts-section {
        grid-column: 3;
        grid-row: span 2;
    }

    /* Watchlist section */
    .watchlist-section {
        grid-column: span 2;
    }
}

/* Ultra Wide (1920px+) */
@media (min-width: 1920px) {
    /* Dashboard Container */
    .dashboard-container {
        gap: 0;
        max-width: 1800px;
        margin: 0 auto;
    }

    .dashboard-header {
        padding: 56px;
    }

    .dashboard-logo {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .dashboard-header-brand {
        gap: 20px;
    }

    .dashboard-header h1 {
        font-size: 44px;
    }

    .page-header {
        padding: 56px;
    }

    .page-header h1 {
        font-size: 44px;
    }

    /* Dashboard Grid */
    .dashboard-grid {
        gap: 32px;
    }

    /* Cards */
    .dashboard-card,
    .card,
    .setup-panel {
        padding: 36px;
    }

    /* Swiper slides */
    .signals-swiper .swiper-slide {
        width: 24%;
    }

    .signals-swiper.swiper-fallback .swiper-slide {
        min-width: 24%;
        flex: 0 0 24%;
    }

    .dashboard-opportunity-card {
        min-width: 400px;
        padding: 24px;
    }

    .news-feed-card {
        flex: 0 0 380px;
        min-width: 380px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME SUPPORT
   ═══════════════════════════════════════════════════════════════ */

body.light-theme .dashboard-header {
    background: linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(156,39,176,0.08) 50%, rgba(255,107,53,0.1) 100%);
    border-color: rgba(255, 107, 53, 0.15);
}

body.light-theme .dashboard-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .dashboard-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
}

body.light-theme .page-header {
    background: linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(156,39,176,0.08) 50%, rgba(255,107,53,0.1) 100%);
    border-color: rgba(255, 107, 53, 0.15);
}

body.light-theme .page-header p {
    color: #6b7280;
}
