/* Color overrides for ty-le-keo to match all.html theme - GREEN */
/* This file makes ty-le-keo component use the same GREEN colors as the "all" component */

/* Main container background - match all-container */
.ty-le-keo-container {
    background: #f8f9fa;
    color: #1a1f36;
}

/* Filter container - match all-header */
.ty-le-keo-container .filter-container {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(219, 183, 97, 0.1);
}

/* Filter tabs - active state with blue gradient */
.ty-le-keo-container .filter-tab-active,
.ty-le-keo-container .filter-tab.filter-tab-active {
    background: #dbb761;
    color: white;
}

/* Filter tabs - hover state */
.ty-le-keo-container .filter-tab:hover {
    background: rgba(219, 183, 97, 0.1);
}

/* Sub filter bar */
.ty-le-keo-container .sub-filter-bar {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(219, 183, 97, 0.08);
}

/* Buttons - primary blue */
.ty-le-keo-container .refresh-btn,
.ty-le-keo-container .search-btn {
    background: #dbb761;
    color: white;
}

.ty-le-keo-container .refresh-btn:hover,
.ty-le-keo-container .search-btn:hover {
    background: #dbb761;
    box-shadow: 0 4px 12px rgba(219, 183, 97, 0.3);
}

/* Date picker and select */
.ty-le-keo-container .date-picker,
.ty-le-keo-container .bookmaker-select,
.ty-le-keo-container .competition-select,
.ty-le-keo-container .search-input {
    border: 2px solid rgba(219, 183, 97, 0.2);
    background: #ffffff;
    color: #1a1f36;
}

.ty-le-keo-container .date-picker:focus,
.ty-le-keo-container .bookmaker-select:focus,
.ty-le-keo-container .competition-select:focus,
.ty-le-keo-container .search-input:focus {
    border-color: #dbb761;
    box-shadow: 0 0 0 3px rgba(219, 183, 97, 0.1);
}

/* Stats section */
.ty-le-keo-container .stats-section {
    background: transparent;
}

.ty-le-keo-container .stat-item {
    background: rgba(219, 183, 97, 0.05);
    border: 1px solid rgba(219, 183, 97, 0.1);
}

.ty-le-keo-container .stat-number {
    color: #dbb761;
}

.ty-le-keo-container .stat-label {
    color: #64748b;
}

/* Competition section */
.ty-le-keo-container .competition-section {
    background: #ffffff;
    border: 1px solid rgba(219, 183, 97, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ty-le-keo-container .competition-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
    border-bottom: 2px solid rgba(219, 183, 97, 0.1);
}

/* Match rows */
.ty-le-keo-container .match-row {
    border-bottom: 1px solid rgba(219, 183, 97, 0.08);
}

/* Zebra striping - màu đậm nhạt xen kẽ cho các row */
/* Sử dụng class odd-row và even-row được thêm vào từ JavaScript */
.ty-le-keo-container .matches-table tbody tr.odd-row {
    background-color: rgba(219, 183, 97, 0.04);
}

.ty-le-keo-container .matches-table tbody tr.even-row {
    background-color: #ffffff;
}

/* Đảm bảo match-row-live vẫn giữ background riêng nhưng cũng có zebra striping */
.ty-le-keo-container .matches-table tbody tr.match-row-live.odd-row {
    background: linear-gradient(135deg, rgba(219, 183, 97, 0.04) 0%, rgba(219, 183, 97, 0.15) 100%);
}

.ty-le-keo-container .matches-table tbody tr.match-row-live.even-row {
    background: linear-gradient(135deg, #ffffff 0%, rgba(219, 183, 97, 0.1) 100%);
}

/* Loại trừ expandable-row khỏi zebra striping */
.ty-le-keo-container .matches-table tbody tr.expandable-row {
    background-color: transparent !important;
}

.ty-le-keo-container .matches-table tbody tr.odd-row:hover,
.ty-le-keo-container .matches-table tbody tr.even-row:hover {
    background: rgba(219, 183, 97, 0.08) !important;
}

/* Odds boxes */
.ty-le-keo-container .odds-box {
    background: #f8f9fa;
    border: 1px solid rgba(219, 183, 97, 0.12);
}

.ty-le-keo-container .odds-box:hover {
    background: rgba(219, 183, 97, 0.08);
    border-color: #dbb761;
}

/* Live indicator */
.ty-le-keo-container .live-icon,
.ty-le-keo-container .live-badge {
    color: #ef4444;
}

/* Badges */
.ty-le-keo-container .tab-badge {
    background: #dbb761;
    color: white;
}

/* Load more button */
.ty-le-keo-container .load-more-btn,
.ty-le-keo-container .all-load-more-btn {
    background: #dbb761;
    color: white;
    border: none;
}

.ty-le-keo-container .load-more-btn:hover,
.ty-le-keo-container .all-load-more-btn:hover {
    background: #dbb761;
    box-shadow: 0 4px 12px rgba(219, 183, 97, 0.3);
}

/* Loading spinner */
.ty-le-keo-container .spinner,
.ty-le-keo-container .all-spinner {
    border: 3px solid rgba(219, 183, 97, 0.1);
    border-top-color: #dbb761;
}

/* Empty state */
.ty-le-keo-container .empty-icon {
    color: #94a3b8;
}

.ty-le-keo-container .empty-text,
.ty-le-keo-container .all-empty-text {
    color: #64748b;
}

/* Auto refresh toggle */
.ty-le-keo-container .auto-refresh-toggle input[type="checkbox"]:checked + label {
    color: #dbb761;
}

/* Last update time */
.ty-le-keo-container .last-update {
    color: #64748b;
    display: none;
}

/* Match time */
.ty-le-keo-container .match-time {
    color: #dbb761;
    font-weight: 600;
}

/* Score */
.ty-le-keo-container .score {
    color: #1a1f36;
    font-weight: 700;
}

/* Team names */
.ty-le-keo-container .team-name {
    color: #1a1f36;
}

/* Match status */
.ty-le-keo-container .match-status-live {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Expandable content */
.ty-le-keo-container .expandable-content {
    background: #f8f9fa;
    border-top: 2px solid rgba(219, 183, 97, 0.1);
}

/* Table headers */
.ty-le-keo-container th {
    background: #dbb761;
    border-bottom: 2px solid rgba(219, 183, 97, 0.1);
    color: #fff;
}

/* Table cells */
.ty-le-keo-container td {
    border-bottom: 1px solid rgba(219, 183, 97, 0.08);
    color: #1a1f36;
}

/* Links */
.ty-le-keo-container a {
    color: #dbb761;
}

.ty-le-keo-container a:hover {
    color: #dbb761;
}
