/* WCO Tỷ Lệ Kèo — Gray/White Zebra Theme v3.3 */

/* === WRAPPER === */
.wco-wrap {
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 17px;
}

.wco-league-title {
    padding: 12px 15px;
    background: #8B0000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 17px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* === TABLE === */
.wco-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    table-layout: fixed;
    font-size: 17px;
}

.wco-table colgroup .col-time { width: 12%; }
.wco-table colgroup .col-match { width: 28%; }
.wco-table colgroup .col-asian { width: 20%; }
.wco-table colgroup .col-ou { width: 20%; }
.wco-table colgroup .col-eu { width: 20%; }

/* === HEADER - Đỏ đậm === */
.wco-table thead tr {
    background: #8B0000;
}

.wco-table th {
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 12px 8px;
    font-size: 17px;
    border-bottom: 2px solid #6B0000;
}

.wco-table .th-match {
    text-align: left;
    padding-left: 12px;
}

/* === ROWS - Xám trắng xen kẽ === */
.wco-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.wco-table .wco-even td { background: #ffffff; }
.wco-table .wco-odd td { background: #f0f0f0; }
.wco-table tr:hover td { background: #e8e8e8; }

.wco-table td {
    padding: 10px 8px;
    vertical-align: top;
    color: #333;
    font-size: 17px;
}

/* === TIME COLUMN === */
.wco-time {
    text-align: center;
    white-space: nowrap;
}

.wco-time .match-date {
    display: block;
    font-size: 17px;
    color: #333;
    font-weight: 600;
}

.wco-time .match-hour {
    display: block;
    font-size: 17px;
    color: #666;
}

/* === MATCH COLUMN === */
.wco-match {
    text-align: left !important;
    padding-left: 10px !important;
}

.wco-match .team {
    display: block;
    line-height: 1.6;
    font-size: 17px;
}

.wco-match .team1 {
    color: #c0392b;
    font-weight: 500;
}

.wco-match .team2 {
    color: #333;
}

.wco-match .team-strong {
    font-weight: 700 !important;
}

.wco-match .draw {
    color: #999;
    font-size: 15px;
}

/* === ASIAN HANDICAP COLUMN === */
.wco-asian {
    text-align: center;
}

.wco-asian .handicap {
    display: block;
    color: #27ae60;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 2px;
}

.wco-asian .odds-row {
    display: block;
    line-height: 1.6;
    color: #333;
    font-size: 17px;
}

/* === OVER/UNDER COLUMN === */
.wco-ou {
    text-align: center;
}

.wco-ou .ou-line {
    display: block;
    color: #27ae60;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 2px;
}

.wco-ou .odds-row {
    display: block;
    line-height: 1.6;
    color: #333;
    font-size: 17px;
}

/* === EUROPEAN ODDS COLUMN === */
.wco-eu {
    text-align: right;
    padding-right: 12px !important;
}

.wco-eu .eu-odds {
    display: block;
    line-height: 1.6;
    color: #333;
    font-size: 17px;
}

/* === FALLBACK === */
.wco-fallback {
    text-align: center;
    padding: 50px 20px;
    background: #f5f5f5;
    color: #666;
}

.wco-fallback-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #8B0000;
}

.wco-fallback p {
    margin: 0 0 20px;
    font-size: 17px;
    color: #666;
}

.wco-fallback-cta {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #8B0000, #a00000);
    color: #fff !important;
    font-weight: 700;
    font-size: 17px;
    border-radius: 6px;
    text-decoration: none !important;
    pointer-events: auto !important;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(0,0,0,0.1);
}

.wco-fallback-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #a00000, #b00000);
}

/* === SKELETON LOADING === */
.wco-wrap:empty::before {
    content: '';
    display: block;
    width: 100%;
    min-height: 300px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: wco-shimmer 1.5s ease-in-out infinite;
}

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

/* === LINKS === */
.wco-wrap a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .wco-wrap {
        border-radius: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .wco-table {
        min-width: 550px;
    }
    
    .wco-table td,
    .wco-table th {
        padding: 8px 6px;
        font-size: 15px;
    }
    
    .wco-match .team,
    .wco-asian .handicap,
    .wco-asian .odds-row,
    .wco-ou .ou-line,
    .wco-ou .odds-row,
    .wco-eu .eu-odds,
    .wco-time .match-date,
    .wco-time .match-hour {
        font-size: 15px;
    }
}

/* === SCROLLBAR === */
.wco-wrap::-webkit-scrollbar {
    height: 6px;
}

.wco-wrap::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.wco-wrap::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 3px;
}
