/* Props Summary Page Specific Styles */

.page-header {
    text-align: center;
    margin: 40px 0;
}

.page-header h1 {
    font-size: 36px;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.page-header .subtitle {
    font-size: 16px;
    color: #94a3b8;
}

.section {
    margin: 60px 0;
}

.section h2 {
    font-size: 28px;
    color: #e2e8f0;
    margin-bottom: 24px;
}

/* Stats Grid for All-Time (4 cards) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Stat card green/red left border accent */
.stat-card.positive {
    border-left: 4px solid #10b981;
}

.stat-card.negative {
    border-left: 4px solid #ef4444;
}

.stat-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* Prop Type Cards Grid */
.prop-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Version/Comparison Cards (reused for prop types) */
.version-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s;
}

.version-card.best {
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3);
}

.version-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #334155;
}

.version-label {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
}

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

.version-stat {
    display: flex;
    flex-direction: column;
}

.version-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #e2e8f0;
}

.version-stat-value.text-green {
    color: #10b981;
}

.version-stat-value.text-red {
    color: #ef4444;
}

.version-stat-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.version-disclaimer {
    margin-top: 16px;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 6px;
    font-size: 12px;
    color: #f59e0b;
    text-align: center;
}

/* Crosstab row tints */
.crosstab-positive {
    background: rgba(16, 185, 129, 0.06) !important;
}

.crosstab-negative {
    background: rgba(239, 68, 68, 0.06) !important;
}

/* Tables */
.table-container {
    overflow-x: auto;
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead th {
    background: #0f172a;
    color: #94a3b8;
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #334155;
}

.data-table tbody td {
    padding: 12px 16px;
    color: #e2e8f0;
    border-bottom: 1px solid #334155;
}

.data-table tbody tr:hover {
    background: #334155;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table .roi-positive {
    color: #10b981;
    font-weight: 600;
}

.data-table .roi-negative {
    color: #ef4444;
    font-weight: 600;
}

/* Chart Container */
.chart-container {
    background: #1e293b;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.chart-container canvas {
    max-height: 400px;
}

/* Comparison Grid (Chart + Table side by side) */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* Two Column Layout for Best/Worst Days */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

.two-column h2 {
    font-size: 24px;
}

/* Tier badges in tables */
.tier-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.tier-badge.top-play {
    background: #10b981;
    color: #fff;
}

.tier-badge.solid {
    background: #3b82f6;
    color: #fff;
}

.tier-badge.avoid {
    background: #ef4444;
    color: #fff;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 80px 20px;
    font-size: 18px;
    color: #94a3b8;
}

/* Date links in tables */
.data-table .date-link {
    color: #10b981;
    text-decoration: none;
    transition: color 0.2s;
}

.data-table .date-link:hover {
    color: #059669;
    text-decoration: underline;
}

/* Record display */
.record {
    font-family: 'Courier New', monospace;
    font-weight: 600;
}
