/* AlphaTemp Dashboard — Shared Styles (Light Theme) */

body {
    font-family: var(--font-ui);
    background: #f0f1f3;
    color: #374151;
}

/* Card panels — white on light gray page */
.at-card {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Monospace for tabular data */
.at-mono {
    font-family: var(--font-data);
}

/* Status dot — green, pulsing */
.glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Flash animation */
@keyframes flash-new {
    0%   { background: rgba(59, 130, 246, 0.15); }
    100% { background: transparent; }
}

.flash-new {
    animation: flash-new 2s ease-out;
}

/* Active bet indicator */
.bet-active {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3),
                0 0 2px rgba(16, 185, 129, 0.2);
}

/* Severity bar */
.severity-bar {
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #10b981, #f59e0b, #ef4444);
}

/* Scrollable feed container */
.feed-scroll {
    overflow-y: auto;
}

.feed-scroll::-webkit-scrollbar {
    width: 4px;
}

.feed-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.feed-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 2px;
}

.feed-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.2);
}

.feed-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.12) transparent;
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #e5e7eb 25%, #d1d5db 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    height: 1em;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* DEPRECATED — mobile only */
/* Pill badges for Edge/EV values */
.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.4;
}

.pill-positive {
    background: #dcfce7;
    color: #16a34a;
}

.pill-negative {
    background: #fee2e2;
    color: #dc2626;
}

.pill-neutral {
    background: #f3f4f6;
    color: #6b7280;
}

/* Subtle border utilities (light theme) */
.at-border-subtle {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.at-border-faint {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Stale data banner */
.stale-banner {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    color: #92400e;
    border-radius: 8px;
}

/* Today/Tomorrow toggle pill */
.toggle-pill {
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2px;
}
.toggle-pill button {
    padding: 3px 12px;
    border-radius: 18px;
    font-size: 12px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    background: transparent;
    color: rgba(255,255,255,0.5);
}
.toggle-pill button.active {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* Liquidity progress bar */
.liq-bar {
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    overflow: hidden;
}
.liq-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: #374151;
}

/* Sortable column headers */
th.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}
th.sortable:hover {
    color: #1f2937;
}
th.sortable::after {
    content: ' \2195';
    font-size: 9px;
    opacity: 0.4;
}
th.sortable.sort-asc::after {
    content: ' \2191';
    opacity: 1;
}
th.sortable.sort-desc::after {
    content: ' \2193';
    opacity: 1;
}
