/* Ticker Row Hover Effects */
.ticker-row:hover {
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
    cursor: pointer;
}

[data-theme="dark"] .ticker-row:hover {
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
    background-color: rgba(59, 130, 246, 0.15);
    border-color: #60a5fa;
}

/* Ticker Link Styling */
.ticker-link {
    color: #000000 !important;
    text-decoration: none !important;
    font-weight: bold;
    position: relative;
    transition: all 0.2s ease;
}

.ticker-link:hover {
    color: #000000 !important;
    text-decoration: none !important;
    transform: translateY(-1px); /* Subtle lift */
}

/* Animated underline effect on hover */
.ticker-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000; /* Black underline */
    transition: width 0.3s ease;
}

.ticker-link:hover::after {
    width: 100%;
}

.ticker-link:visited {
    color: #000000 !important;
    text-decoration: none !important;
}

[data-theme="dark"] .ticker-link {
    color: #ffffff !important;
}

[data-theme="dark"] .ticker-link:hover {
    color: #ffffff !important;
}

[data-theme="dark"] .ticker-link:visited {
    color: #ffffff !important;
}

/* Dark theme support for underline effect */
[data-theme="dark"] .ticker-link::after {
    background-color: #ffffff; /* White underline in dark mode */
}

/* Volume Comparison Styling */
.volume-increased {
    color: #10b981;
    font-weight: bold;
    position: relative;
}

.volume-increased::after {
    content: "↑";
    margin-left: 2px;
    font-size: 0.8em;
}

[data-theme="dark"] .volume-increased {
    color: #34d399;
}

/* High Relative Volume Styling */
.relvol-extreme {
    color: #ef4444;
    font-weight: bold;
    text-shadow: 0 0 1px rgba(239, 68, 68, 0.3);
}

.relvol-high {
    color: #f97316;
    font-weight: bold;
}

[data-theme="dark"] .relvol-extreme {
    color: #f87171;
    text-shadow: 0 0 1px rgba(248, 113, 113, 0.3);
}

[data-theme="dark"] .relvol-high {
    color: #fb923c;
}

/* Float Rotation Highlighting */
.float-rotation-high {
    color: #f97316;
    font-weight: bold;
}

[data-theme="dark"] .float-rotation-high {
    color: #fb923c;
}

/* Enhanced Score Visibility */
.score-badge {
    font-weight: bold;
    font-size: 1.1em;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.score-3-plus {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.score-2 {
    background-color: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.score-1 {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .score-3-plus {
    background-color: rgba(248, 113, 113, 0.2);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.4);
}

[data-theme="dark"] .score-2 {
    background-color: rgba(251, 146, 60, 0.2);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.4);
}

[data-theme="dark"] .score-1 {
    background-color: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.4);
}

/* Market Countdown Styles */
.market-countdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    font-family: 'Cousine', monospace;
}

.countdown-large {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.countdown-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
}

.countdown-time {
    font-size: 0.9em;
    color: var(--text-tertiary);
    font-weight: 400;
    opacity: 0.8;
}

/* Responsive adjustments for countdown */
@media (max-width: 768px) {
    .countdown-large {
        font-size: 2em;
    }
    
    .countdown-subtitle {
        font-size: 1em;
    }
    
    .countdown-time {
        font-size: 0.8em;
    }
}
