/* Racebook now uses the same prop-style classes as futures/props games */
/* All styling is handled by the existing prop-section, prop-section-header, prop-section-content, etc. classes */
/* This ensures consistent look and feel across all game types */

/* Additional racebook-specific overrides if needed */
.prop-section[id^="RaceSection"] .prop-section-title {
    font-weight: 600;
}

.prop-section[id^="RaceSection"] .player-logo {
    font-weight: 700;
    font-size: 14px;
}

/* Race-specific styling for the detailed view - Light Theme */
.race-betting-types {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 11px;
    font-weight: 600;
    color: #6c757d;
}

.betting-types-left {
    color: #6c757d;
}

.betting-types-right {
    color: #495057;
}

/* Race entries styling - Light Theme */
.race-entries {
    padding: 0;
}

.race-entry {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.race-entry:nth-child(odd) {
    background: #ffffff;
}

.race-entry:nth-child(even) {
    background: #f8f9fa;
}

.race-entry:hover {
    background: #e9ecef;
    border-left: 3px solid #ffd700;
}

.entry-number {
    background: #ffd700;
    color: #000000;
    font-weight: 700;
    font-size: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.entry-details {
    flex: 1;
    min-width: 0;
}

.horse-name {
    color: #212529;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jockey-name {
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.ml-odds {
    background: #f8f9fa;
    color: #495057;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

/* MTP info styling - Light Theme */
.mtp-info {
    color: #495057;
    font-size: 11px;
    font-weight: 600;
    margin-left: 12px;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid #dee2e6;
}

/* Responsive design for race entries */
@media (max-width: 768px) {
    .race-entry {
        padding: 10px 12px;
    }
    
    .entry-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 12px;
    }
    
    .horse-name {
        font-size: 13px;
    }
    
    .jockey-name {
        font-size: 11px;
    }
    
    .ml-odds {
        font-size: 12px;
        padding: 4px 8px;
        min-width: 50px;
    }
    
    .race-betting-types {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .mtp-info {
        font-size: 10px;
        padding: 1px 4px;
    }
}

/* Bet Selection Template Styling - Dark Theme */
.bet-selection-item {
    background: var(--betmgm-gray);
    border: 1px solid var(--betmgm-light-gray);
    border-radius: 6px;
    margin-bottom: 8px;
    overflow: hidden;
}

.bet-confirm {
    background: var(--betmgm-light-gray);
    padding: 8px 12px;
    border-bottom: 1px solid var(--betmgm-light-gray);
    font-size: 11px;
    color: var(--betmgm-text);
    font-weight: 600;
}

.bet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--betmgm-gray);
}

.bet-number {
    color: var(--betmgm-text);
    font-size: 11px;
    font-weight: 600;
}

.bet-remove {
    color: var(--betmgm-red);
    text-decoration: none;
    font-size: 12px;
}

.bet-remove:hover {
    color: #c82333;
    text-decoration: underline;
}

.bet-details {
    padding: 8px 12px;
    background: var(--betmgm-light-gray);
    border-top: 1px solid var(--betmgm-light-gray);
}

.bet-line {
    color: var(--betmgm-white);
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.bet-line-detail {
    color: var(--betmgm-text);
    font-size: 10px;
    font-weight: 500;
}

/* Racebook Action Slip Styling */
.dRacebookActionSlip {
    background: var(--betmgm-gray);
    color: var(--betmgm-white);
}

.dRacebookActionSlip .LiBetList {
    background: var(--betmgm-gray) !important;
    border: 1px solid var(--betmgm-light-gray) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    margin-bottom: 6px !important;
    list-style: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.2s ease !important;
}

.dRacebookActionSlip .LiBetList:nth-child(odd) {
    background: linear-gradient(135deg, var(--betmgm-gray), var(--betmgm-light-gray)) !important;
    border-left: 3px solid var(--betmgm-gold) !important;
    position: relative !important;
}

.dRacebookActionSlip .LiBetList:nth-child(even) {
    background: linear-gradient(135deg, var(--betmgm-light-gray), var(--betmgm-gray)) !important;
    border-left: 3px solid var(--betmgm-orange) !important;
    position: relative !important;
}

.dRacebookActionSlip .LiBetList:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
    border-color: var(--betmgm-gold) !important;
}

.dRacebookActionSlip .team-name1 {
    color: var(--betmgm-white) !important;
    font-weight: 600 !important;
}

.dRacebookActionSlip .time {
    color: var(--betmgm-text) !important;
}

.dRacebookActionSlip .dropdown-menu {
    background: var(--betmgm-light-gray) !important;
    color: var(--betmgm-white) !important;
    border: 1px solid var(--betmgm-light-gray) !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.6);
    padding: 6px 0 !important;
}

.dRacebookActionSlip .dropdown-menu a {
    color: var(--betmgm-white) !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    margin: 1px 4px !important;
    transition: all 0.2s ease;
}

.dRacebookActionSlip .dropdown-menu a:hover {
    background: var(--betmgm-gray);
    color: var(--betmgm-gold) !important;
    font-weight: 600 !important;
}

.dRacebookActionSlip .dropdown-menu li {
    padding: 4px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
    margin: 1px 4px;
}

.dRacebookActionSlip .dropdown-menu li:hover {
    background: var(--betmgm-gray);
}

.dRacebookActionSlip .dropdown-menu li a {
    text-decoration: none;
    color: var(--betmgm-white);
    font-size: 11px;
}

.dRacebookActionSlip .dropdown-menu li:hover a {
    color: var(--betmgm-gold);
    font-weight: 600;
}

/* Horse link styling */
.horse-link {
    color: #212529;
    text-decoration: none;
    font-weight: 600;
}

.horse-link:hover {
    color: #007bff;
    text-decoration: underline;
}
