/* Props Odds Engine Styles */

.props-odds-container {
    margin: 20px 0;
    overflow-x: auto;
}

/* Market Filter Styles */
.props-market-filter {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007cba;
}

.props-market-filter label {
    font-weight: 600;
    margin-right: 10px;
    color: #2c3e50;
}

.props-market-filter select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
    background: white;
    transition: border-color 0.3s ease;
}

.props-market-filter select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3);
}

/* Market Page Layout */
.props-market-page h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
}

.props-stats {
    background: #e8f4f8;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.props-stats strong {
    color: #007cba;
}

/* Enhanced Table Styles for Comparison */
.props-odds-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.props-odds-table th {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #34495e;
}

.props-odds-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #ecf0f1;
    font-size: 14px;
}

.props-odds-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.props-odds-table tr:hover {
    background-color: #e3f2fd;
}

/* Column specific styles */
/* Player Name Styling */
.props-odds-table .player-name {
    font-weight: 600;
    color: #2c3e50;
    min-width: 120px;
}

/* Market Styling */
.props-odds-table .market {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    color: #007cba;
}

.line {
    text-align: center;
    font-weight: 600;
    color: #e67e22;
}

.over-odds, .under-odds {
    text-align: center;
    font-weight: 600;
    font-family: monospace;
    font-size: 13px;
}

.over-odds {
    color: #27ae60;
}

.under-odds {
    color: #e74c3c;
}

/* Sportsbook Styling */
.props-odds-table .sportsbook {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: #7f8c8d;
}

.updated-at {
    color: #95a5a6;
    font-size: 12px;
    text-align: center;
}

/* Footer */
.props-odds-footer {
    margin-top: 10px;
    text-align: center;
    color: #7f8c8d;
}

/* Error and empty states */
.props-odds-error {
    background: #e74c3c;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

.props-odds-empty {
    background: #f39c12;
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    margin: 10px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .props-odds-table {
        font-size: 12px;
    }
    
    .props-odds-table th,
    .props-odds-table td {
        padding: 6px 4px;
    }
    
    .player-name {
        min-width: 80px;
    }

    .props-market-filter {
        text-align: center;
    }
    
    .props-market-filter label {
        display: block;
        margin-bottom: 8px;
    }
    
    .props-market-filter select {
        width: 100%;
        max-width: 300px;
    }
}

/* Loading state (optional for future enhancements) */
.props-odds-loading {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.props-odds-loading::after {
    content: "Loading odds data...";
} 

/* Enhanced Table Styles (UNABATED style) */
.props-odds-table.enhanced {
    font-size: 13px;
}

.props-odds-table.enhanced th {
    font-size: 11px;
    padding: 10px 6px;
}

.props-odds-table.enhanced td {
    padding: 8px 6px;
    vertical-align: top;
}

/* Player Info Column */
.player-info {
    min-width: 140px;
}

.player-info .player-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.player-info .player-details {
    font-size: 11px;
    color: #7f8c8d;
}

.player-info .position {
    background: #3498db;
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    margin-right: 4px;
    font-weight: 500;
}

.player-info .team {
    background: #95a5a6;
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    margin-right: 4px;
    font-weight: 500;
}

.player-info .jersey {
    color: #7f8c8d;
    font-weight: 500;
}

/* Game Info Column */
.game-info {
    min-width: 100px;
}

.game-info .matchup {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.game-info .game-time {
    font-size: 11px;
    color: #e74c3c;
    font-weight: 500;
}

/* Enhanced Market Column */
.props-odds-table.enhanced .market {
    font-size: 11px;
    max-width: 120px;
    word-wrap: break-word;
}

/* Enhanced Odds Styling */
.props-odds-table.enhanced .over-odds,
.props-odds-table.enhanced .under-odds {
    font-weight: 600;
    min-width: 50px;
    text-align: center;
}

.props-odds-table.enhanced .over-odds {
    color: #27ae60;
}

.props-odds-table.enhanced .under-odds {
    color: #e74c3c;
}

/* Game Row Grouping */
.props-odds-table.enhanced tr[data-game-id] {
    border-bottom: 1px solid #ecf0f1;
}

.props-odds-table.enhanced tr[data-game-id]:hover {
    background: #f8f9fa;
}

/* Enhanced Container */
.props-odds-container.enhanced {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .props-odds-table.enhanced {
        font-size: 11px;
    }
    
    .props-odds-table.enhanced th,
    .props-odds-table.enhanced td {
        padding: 4px 3px;
    }
    
    .player-info {
        min-width: 100px;
    }
    
    .game-info {
        min-width: 80px;
    }
    
    .player-info .player-details {
        font-size: 10px;
    }
    
    .game-info .game-time {
        font-size: 10px;
    }
} 

/* Multi-Sportsbook Comparison Table (UNABATED Style) */
.props-comparison-container {
    background: white;
    border-radius: 8px;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.props-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 1000px; /* Ensure horizontal scrolling on mobile */
}

.props-comparison-table thead th {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: white;
    padding: 10px 6px;
    text-align: center;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #34495e;
    position: sticky;
    top: 0;
    z-index: 10;
}

.props-comparison-table thead th:last-child {
    border-right: none;
}

.props-comparison-table tbody td {
    padding: 8px 6px;
    border-bottom: 1px solid #ecf0f1;
    border-right: 1px solid #ecf0f1;
    vertical-align: middle;
    background: white;
}

.props-comparison-table tbody td:last-child {
    border-right: none;
}

/* Fixed columns */
.player-col, .props-comparison-table .player-info {
    min-width: 140px;
    max-width: 140px;
    position: sticky;
    left: 0;
    background: white;
    z-index: 5;
    border-right: 2px solid #bdc3c7 !important;
}

.game-col, .props-comparison-table .game-info {
    min-width: 90px;
    max-width: 90px;
}

.market-col, .props-comparison-table .market {
    min-width: 120px;
    max-width: 120px;
    font-size: 10px;
    word-wrap: break-word;
    text-transform: uppercase;
}

.line-col, .props-comparison-table .line {
    min-width: 50px;
    max-width: 50px;
    text-align: center;
    font-weight: 600;
    color: #e67e22;
}

/* Sportsbook columns */
.sportsbook-col, .props-comparison-table .odds-cell {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    padding: 4px 2px;
}

/* Sportsbook header styling */
.sportsbook-col {
    font-size: 9px;
    font-weight: 700;
}

/* Odds pair styling */
.odds-pair {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
}

.odds-pair .over-odds,
.odds-pair .under-odds {
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
    font-family: monospace;
    display: block;
    width: 100%;
}

.odds-pair .over-odds {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.odds-pair .under-odds {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #f44336;
}

.no-odds {
    color: #95a5a6;
    font-size: 11px;
    text-align: center;
}

/* Player info in comparison table */
.props-comparison-table .player-info .player-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-size: 12px;
}

.props-comparison-table .player-info .player-details {
    font-size: 10px;
}

.props-comparison-table .player-details .position {
    background: #3498db;
    color: white;
    padding: 1px 3px;
    border-radius: 2px;
    margin-right: 2px;
    font-size: 9px;
}

.props-comparison-table .player-details .team {
    background: #95a5a6;
    color: white;
    padding: 1px 3px;
    border-radius: 2px;
    margin-right: 2px;
    font-size: 9px;
}

.props-comparison-table .player-details .jersey {
    color: #7f8c8d;
    font-size: 9px;
}

/* Game info in comparison table */
.props-comparison-table .game-info .matchup {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
    font-size: 11px;
}

.props-comparison-table .game-info .game-time {
    font-size: 10px;
    color: #e74c3c;
    font-weight: 500;
}

/* Row hover effect */
.props-comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.props-comparison-table tbody tr:hover .player-info {
    background: #f8f9fa;
}

/* Alternating row colors */
.props-comparison-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.props-comparison-table tbody tr:nth-child(even) .player-info {
    background: #fafbfc;
}

/* Comparison footer */
.props-comparison-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    border-top: 1px solid #ecf0f1;
    font-size: 11px;
    color: #7f8c8d;
    text-align: center;
}

/* Responsive design for comparison table */
@media (max-width: 768px) {
    .props-comparison-container {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .props-comparison-table {
        font-size: 10px;
    }
    
    .props-comparison-table thead th {
        padding: 8px 4px;
        font-size: 9px;
    }
    
    .props-comparison-table tbody td {
        padding: 6px 3px;
    }
    
    .player-col, .props-comparison-table .player-info {
        min-width: 120px;
        max-width: 120px;
    }
    
    .sportsbook-col, .props-comparison-table .odds-cell {
        min-width: 65px;
        max-width: 65px;
    }
    
    .odds-pair .over-odds,
    .odds-pair .under-odds {
        font-size: 10px;
        padding: 1px 3px;
        min-width: 35px;
    }
} 