/**
 * MLB Dashboard — MLB-Specific Overrides
 * Dark theme inherited from shamlock-dashboard.css
 * Only contains: tab navigation, props analytics panel, responsive
 * Task 374
 */

/* ============================================
   Tab Navigation (Task 374)
   Uses dark theme from shamlock-dashboard.css
   ============================================ */
.shamlock-dashboard-tabs {
    background: var(--dash-bg-light, #1a1a1a);
    border-bottom: 1px solid var(--dash-card-border, rgba(255,255,255,0.12));
    padding: 0;
}

.dashboard-tab-bar {
    display: flex;
    gap: 0;
    justify-content: center;
}

.dashboard-tab-btn {
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dash-text-muted, #7a8594);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.dashboard-tab-btn:hover {
    color: var(--dash-text-secondary, #b0b8c4);
}

.dashboard-tab-btn.active {
    color: var(--dash-accent-green, #3CB371);
    border-bottom-color: var(--dash-accent-green, #3CB371);
}

/* Tab panels */
.dashboard-tab-panel {
    display: none;
}

.dashboard-tab-panel.active {
    display: block;
}

/* ============================================
   Props Summary Cards (Task 374)
   ============================================ */
.shamlock-props-summary {
    padding: 30px 0 0;
}

.props-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.props-summary-card {
    background: var(--dash-card-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--dash-card-border, rgba(255,255,255,0.12));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.props-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.props-card-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.props-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dash-text-muted, #7a8594);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.props-card-record {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dash-text-primary, #ffffff);
    margin-bottom: 4px;
}

.props-card-pct {
    font-size: 1.125rem;
    font-weight: 700;
}

.props-pct-hot {
    color: var(--dash-accent-green, #3CB371);
}

.props-pct-warm {
    color: var(--dash-accent-amber, #F7931E);
}

.props-pct-cold {
    color: var(--dash-cold-red, #FF6B6B);
}

.props-pct-neutral {
    color: var(--dash-text-muted, #7a8594);
}

/* ============================================
   Props Breakdown Tables (Task 374)
   ============================================ */
.shamlock-props-badges,
.shamlock-props-types {
    padding: 30px 0 0;
}

.props-breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dash-card-bg, rgba(255,255,255,0.04));
    border: 1px solid var(--dash-card-border, rgba(255,255,255,0.12));
    border-radius: 12px;
    overflow: hidden;
}

.props-breakdown-table th {
    background: var(--dash-bg-light, #1a1a1a);
    padding: 12px 16px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dash-text-secondary, #b0b8c4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    border-bottom: 1px solid var(--dash-card-border, rgba(255,255,255,0.12));
}

.props-breakdown-table th:first-child {
    text-align: left;
}

.props-breakdown-table td {
    padding: 12px 16px;
    font-size: 0.875rem;
    text-align: center;
    color: var(--dash-text-secondary, #b0b8c4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.props-breakdown-table tr:last-child td {
    border-bottom: none;
}

.props-breakdown-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.props-type-label {
    text-align: left !important;
    font-weight: 600;
    color: var(--dash-text-primary, #ffffff);
}

/* Badge tier pills — dark theme */
.props-tier-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.props-tier-gold {
    background: rgba(255, 215, 0, 0.15);
    color: var(--dash-accent-gold, #FFD700);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.props-tier-silver {
    background: rgba(176, 184, 196, 0.15);
    color: #b0b8c4;
    border: 1px solid rgba(176, 184, 196, 0.3);
}

.props-tier-bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.props-tier-none {
    background: rgba(122, 133, 148, 0.15);
    color: var(--dash-text-muted, #7a8594);
    border: 1px solid rgba(122, 133, 148, 0.2);
}

/* ============================================
   Props Empty / Error / Skeleton States
   ============================================ */
.props-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--dash-text-muted, #7a8594);
    font-size: 0.875rem;
}

.props-skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.props-skeleton-card {
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer-dark 1.5s ease-in-out infinite;
}

.props-skeleton-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.props-skeleton-row {
    height: 40px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 200% 100%;
    animation: shimmer-dark 1.5s ease-in-out infinite;
}

@keyframes shimmer-dark {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   Responsive (Task 374)
   ============================================ */
@media (max-width: 1024px) {
    .props-summary-grid,
    .props-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-tab-btn {
        padding: 12px 20px;
        font-size: 0.875rem;
    }

    .props-summary-grid,
    .props-skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .props-card-record {
        font-size: 1.25rem;
    }

    .props-breakdown-table th,
    .props-breakdown-table td {
        padding: 8px 10px;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .props-summary-grid,
    .props-skeleton-grid {
        grid-template-columns: 1fr 1fr;
    }

    .props-summary-card {
        padding: 14px;
    }

    .props-card-record {
        font-size: 1.125rem;
    }

    .props-breakdown-table {
        font-size: 0.75rem;
    }
}
