/* Hot Matches Widget Styles - Blue Theme Premium */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hot-matches-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(7, 110, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    position: relative;
}

.hot-matches-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #076eed 0%, #3b8ef5 40%, #076eed 60%, #0559c9 100%);
}

/* Header */
.hot-matches-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(145deg, #076eed 0%, #0559c9 50%, #0447a5 100%);
    position: relative;
    overflow: hidden;
}

.hot-matches-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 100%);
}

.hot-matches-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: hot-matches-shimmer 3s ease-in-out infinite;
}

@keyframes hot-matches-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.hot-matches-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.hot-matches-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
    animation: hot-matches-pulse 2s ease-in-out infinite;
}

@keyframes hot-matches-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.hot-matches-header-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hot-matches-header-fire {
    font-size: 16px;
    animation: hot-matches-float 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 100, 0, 0.8));
    position: relative;
    z-index: 1;
}

@keyframes hot-matches-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Loading */
.hot-matches-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    gap: 12px;
    background: transparent;
}

.hot-matches-spinner {
    font-size: 28px;
    animation: hot-matches-spin 1s linear infinite;
}

.hot-matches-spinner::before {
    content: '⚽';
}

@keyframes hot-matches-spin {
    to {
        transform: rotate(360deg);
    }
}

.hot-matches-loading-text {
    color: #076eed;
    font-size: 13px;
    font-weight: 500;
}

/* Empty State */
.hot-matches-empty {
    padding: 32px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* Match List */
.hot-matches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
}

/* Match Card Link */
.hot-matches-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.hot-matches-card-link:hover,
.hot-matches-card-link:focus,
.hot-matches-card-link:active {
    text-decoration: none;
    color: inherit;
}

/* Match Card */
.hot-matches-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-radius: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(7, 110, 237, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    animation: hot-matches-slideIn 0.4s ease forwards;
}

@keyframes hot-matches-slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hot-matches-card:hover {
    transform: translateY(-2px);
    border-color: #076eed;
    box-shadow:
        0 8px 24px rgba(7, 110, 237, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Shine Effect */
.hot-matches-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(7, 110, 237, 0.08), transparent);
    pointer-events: none;
    animation: hot-matches-shimmer 2s ease-in-out infinite;
}

/* Competition Header - League Row */
.hot-matches-competition-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, rgba(7, 110, 237, 0.08) 0%, rgba(7, 110, 237, 0.04) 100%);
    border-radius: 6px;
    border: 1px solid rgba(7, 110, 237, 0.1);
}

.hot-matches-competition-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.hot-matches-competition-name {
    font-size: 9px;
    font-weight: 600;
    color: #0559c9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    letter-spacing: 0.2px;
}

/* Match Content */
.hot-matches-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

/* Team */
.hot-matches-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex: 1;
}

.hot-matches-team-logo-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #076eed 0%, #3b8ef5 40%, #076eed 60%, #0559c9 100%);
    box-shadow:
        0 4px 12px rgba(7, 110, 237, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.hot-matches-card:hover .hot-matches-team-logo-wrapper {
    transform: scale(1.08);
    box-shadow:
        0 6px 20px rgba(7, 110, 237, 0.4),
        0 0 0 2px rgba(255, 255, 255, 1);
}

.hot-matches-team-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.hot-matches-team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Names Ribbon */
.hot-matches-names-ribbon {
    display: flex;
    align-items: stretch;
    margin-top: 6px;
    position: relative;
}

.hot-matches-team-name-left {
    flex: 1;
    background: linear-gradient(135deg, #0559c9 0%, #076eed 50%, #0559c9 100%);
    padding: 5px 8px;
    border-radius: 4px 0 0 4px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}

.hot-matches-team-name-left span {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hot-matches-team-name-right {
    flex: 1;
    background: linear-gradient(135deg, #0559c9 0%, #076eed 50%, #0559c9 100%);
    padding: 5px 8px;
    border-radius: 0 4px 4px 0;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.hot-matches-team-name-right span {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Match Info (Center) */
.hot-matches-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 70px;
    flex-shrink: 0;
}

/* Time/Score Box */
.hot-matches-time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, #076eed 0%, #3b8ef5 40%, #076eed 60%, #0559c9 100%);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow:
        0 4px 12px rgba(7, 110, 237, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.hot-matches-time {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hot-matches-date {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Live indicator */
.hot-matches-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow:
        0 4px 12px rgba(239, 68, 68, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.hot-matches-live-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    animation: hot-matches-live-pulse 1.5s ease-in-out infinite;
}

@keyframes hot-matches-live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
}

/* Score */
.hot-matches-score {
    display: flex;
    align-items: center;
    gap: 2px;
    background: linear-gradient(135deg, #076eed 0%, #3b8ef5 40%, #076eed 60%, #0559c9 100%);
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow:
        0 4px 12px rgba(7, 110, 237, 0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 400px) {
    .hot-matches-header {
        padding: 8px 10px;
    }

    .hot-matches-header-title {
        font-size: 12px;
    }

    .hot-matches-header-icon {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .hot-matches-header-fire {
        font-size: 14px;
    }

    .hot-matches-list {
        padding: 6px;
        gap: 6px;
    }

    .hot-matches-card {
        padding: 6px 8px;
    }

    .hot-matches-team-logo-wrapper {
        width: 48px;
        height: 48px;
    }

    .hot-matches-team-name-left span,
    .hot-matches-team-name-right span {
        font-size: 9px;
    }

    .hot-matches-time {
        font-size: 16px;
    }

    .hot-matches-date {
        font-size: 9px;
    }

    .hot-matches-competition-name {
        font-size: 8px;
    }

    .hot-matches-competition-logo {
        width: 14px;
        height: 14px;
    }

    .hot-matches-info {
        min-width: 60px;
    }

    .hot-matches-time-box {
        padding: 4px 10px;
    }
}

@media (max-width: 340px) {
    .hot-matches-team-logo-wrapper {
        width: 42px;
        height: 42px;
    }

    .hot-matches-team-name-left span,
    .hot-matches-team-name-right span {
        font-size: 8px;
        padding: 4px 6px;
    }

    .hot-matches-time {
        font-size: 14px;
    }

    .hot-matches-info {
        min-width: 50px;
    }
}

/* ========== POPUP STYLES ========== */
.hot-matches-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2147483647 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: hot-matches-fadeIn 0.2s ease;
}

@keyframes hot-matches-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hot-matches-popup {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    z-index: 2147483647 !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(7, 110, 237, 0.2);
    animation: hot-matches-popupIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hot-matches-popupIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hot-matches-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    min-height: auto;
    padding: 0;
}

.hot-matches-popup-close:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
}

.hot-matches-popup-content {
    overflow-y: auto;
    max-height: 90vh;
}

/* Popup Header */
.popup-header {
    background: linear-gradient(145deg, #076eed 0%, #0559c9 50%, #0447a5 100%);
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
}

.popup-league {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.popup-league-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.popup-league-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.popup-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.popup-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.popup-team-logo-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup-team-logo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.popup-team-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popup-team-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-score-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.popup-score-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.popup-score-digit {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.popup-score-separator {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.popup-time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 10px;
}

.popup-time {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.popup-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.popup-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(145deg, #ef4444 0%, #dc2626 100%);
    padding: 4px 10px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.popup-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: hot-matches-live-pulse 1.5s ease-in-out infinite;
}

.popup-live-text {
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

/* Popup Body */
.popup-body {
    padding: 0;
}

.popup-section {
    margin-bottom: 10px;
}

.popup-section:last-child {
    margin-bottom: 0;
}

.popup-section-title {
    font-size: 11px;
    font-weight: 700;
    color: #0559c9;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-section-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(135deg, #076eed 0%, #0559c9 100%);
    border-radius: 2px;
}

/* Odds Table in Popup */
.popup-odds-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.popup-odds-table th {
    background: linear-gradient(135deg, rgba(7, 110, 237, 0.1) 0%, rgba(7, 110, 237, 0.05) 100%);
    padding: 8px 6px;
    text-align: center;
    font-weight: 700;
    color: #0559c9;
    border-bottom: 1px solid rgba(7, 110, 237, 0.1);
}

.popup-odds-table td {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(7, 110, 237, 0.08);
}

.popup-odds-table tr:last-child td {
    border-bottom: none;
}

.popup-bookmaker {
    font-weight: 600;
    color: #333;
    text-align: left !important;
}

.popup-odd-value {
    font-weight: 700;
    color: #076eed;
    background: rgba(7, 110, 237, 0.08);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Match Info Grid */
.popup-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.popup-info-item {
    background: linear-gradient(135deg, rgba(7, 110, 237, 0.08) 0%, rgba(7, 110, 237, 0.04) 100%);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(7, 110, 237, 0.1);
}

.popup-info-label {
    font-size: 10px;
    color: #666;
    margin-bottom: 4px;
}

.popup-info-value {
    font-size: 12px;
    font-weight: 700;
    color: #0559c9;
}

/* View Detail Button */
.popup-view-detail {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #076eed 0%, #0559c9 100%);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    margin-top: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(7, 110, 237, 0.3);
}

.popup-view-detail:hover {
    background: linear-gradient(135deg, #0559c9 0%, #0447a5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 110, 237, 0.4);
}

/* Loading in Popup */
.popup-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    gap: 8px;
}

.popup-loading-spinner {
    font-size: 24px;
    animation: hot-matches-spin 1s linear infinite;
}

.popup-loading-text {
    font-size: 13px;
    color: #076eed;
    font-weight: 500;
}

/* ========== POPUP TABS ========== */
.popup-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.popup-tab {
    flex: 1;
    min-width: 70px;
    padding: 10px 12px;
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.popup-tab:hover {
    color: #076eed;
    background: #f1f5f9;
}

.popup-tab.active {
    color: #076eed;
    background: #ffffff;
}

.popup-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #076eed, #3b8ef5);
}

.popup-tab-content {
    display: none;
    padding: 10px;
}

.popup-tab-content.active {
    display: block;
}

/* ========== POPUP ODDS SECTION ========== */
.popup-odds-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Bookmaker Selector */
.popup-bookmaker-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 8px;
    margin-bottom: 4px;
}

.popup-bookmaker-label {
    font-size: 11px;
    font-weight: 600;
    color: #0559c9;
    white-space: nowrap;
}

.popup-bookmaker-select {
    flex: 1;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 28px;
}

.popup-bookmaker-select:hover {
    border-color: #076eed;
    box-shadow: 0 2px 8px rgba(7, 110, 237, 0.15);
}

.popup-bookmaker-select:focus {
    border-color: #076eed;
    box-shadow: 0 0 0 3px rgba(7, 110, 237, 0.1);
}

.popup-odds-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.popup-odds-title {
    font-size: 11px;
    font-weight: 700;
    color: #0559c9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-odds-title::before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(135deg, #076eed 0%, #0559c9 100%);
    border-radius: 2px;
}

/* Odds Grid (1X2) */
.popup-odds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 6px;
}

.popup-odds-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.popup-odds-card:hover {
    border-color: #076eed;
    box-shadow: 0 4px 12px rgba(7, 110, 237, 0.15);
    transform: translateY(-2px);
}

.popup-odds-label {
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.popup-odds-value {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

.popup-odds-value.home {
    color: #076eed;
}

.popup-odds-value.draw {
    color: #64748b;
}

.popup-odds-value.away {
    color: #ef4444;
}

/* Odds Row (Asian Handicap, O/U) */
.popup-odds-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    gap: 6px;
    align-items: center;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 6px;
    margin-top: 4px;
}

.popup-odds-row-label {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
}

.popup-odds-row-value {
    font-size: 11px;
    font-weight: 700;
    color: #0559c9;
    text-align: center;
    padding: 4px 6px;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Odds Empty State */
.popup-odds-empty {
    text-align: center;
    padding: 20px 16px;
    color: #94a3b8;
}

.popup-odds-empty-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.popup-odds-empty-text {
    font-size: 12px;
    font-weight: 500;
}

/* ========== POPUP PREDICTION SECTION ========== */
.popup-prediction-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-prediction-empty {
    text-align: center;
    padding: 20px 16px;
    color: #94a3b8;
}

/* Prediction Advice */
.popup-prediction-advice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 8px;
}

.popup-prediction-advice-icon {
    font-size: 16px;
}

.popup-prediction-advice-text {
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.3;
}

/* Prediction Header */
.popup-prediction-header {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
    border-bottom: 1px solid #e2e8f0;
}

.popup-prediction-title {
    font-size: 11px;
    font-weight: 700;
    color: #0559c9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-prediction-title::before {
    content: '';
    width: 3px;
    height: 12px;
    background: linear-gradient(135deg, #076eed 0%, #0559c9 100%);
    border-radius: 2px;
}

/* Win Probability */
.popup-prediction-probs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.popup-prediction-prob {
    text-align: center;
    padding: 6px;
    background: #f8fafc;
    border-radius: 8px;
}

.popup-prediction-prob-value {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

.popup-prediction-prob.home .popup-prediction-prob-value {
    color: #076eed;
}

.popup-prediction-prob.draw .popup-prediction-prob-value {
    color: #64748b;
}

.popup-prediction-prob.away .popup-prediction-prob-value {
    color: #ef4444;
}

.popup-prediction-prob-label {
    font-size: 9px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.popup-prediction-prob-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.popup-prediction-prob-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.popup-prediction-prob-fill.home {
    background: linear-gradient(90deg, #076eed, #3b8ef5);
}

.popup-prediction-prob-fill.draw {
    background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.popup-prediction-prob-fill.away {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Team Form */
.popup-prediction-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.popup-prediction-form-team {
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 6px;
}

.popup-prediction-form-name {
    font-size: 10px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-prediction-form-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 3px;
}

.popup-prediction-form-stats .form-stat {
    font-size: 9px;
    color: #64748b;
    padding: 2px 4px;
    background: #e2e8f0;
    border-radius: 3px;
}

.popup-prediction-form-goals {
    font-size: 9px;
    font-weight: 600;
    color: #475569;
}

/* League Form String */
.popup-prediction-league-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-prediction-league-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: #f8fafc;
    border-radius: 5px;
}

.popup-prediction-league-team {
    min-width: 60px;
    font-size: 10px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-prediction-league-string {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.popup-prediction-league-string .form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 8px;
    font-weight: 700;
    border-radius: 3px;
    color: white;
}

.popup-prediction-league-string .form-badge.win {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.popup-prediction-league-string .form-badge.draw {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.popup-prediction-league-string .form-badge.lose {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Stats Grid */
.popup-prediction-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-prediction-stats-header,
.popup-prediction-stats-row {
    display: grid;
    grid-template-columns: 1fr repeat(4, 32px);
    gap: 3px;
    align-items: center;
    padding: 4px 6px;
    font-size: 9px;
}

.popup-prediction-stats-header {
    background: #e2e8f0;
    border-radius: 4px;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.popup-prediction-stats-header div:first-child {
    text-align: left;
}

.popup-prediction-stats-row {
    background: #f8fafc;
    border-radius: 4px;
}

.popup-prediction-stats-row .team-name {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popup-prediction-stats-row .stat-value {
    text-align: center;
    font-weight: 700;
    color: #1e293b;
}

.popup-prediction-stats-row .stat-value.win {
    color: #22c55e;
}

.popup-prediction-stats-row .stat-value.draw {
    color: #64748b;
}

.popup-prediction-stats-row .stat-value.lose {
    color: #ef4444;
}

/* ========== POPUP MATCH INFO SECTION ========== */
.popup-match-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.popup-match-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #f8fafc;
    border-radius: 6px;
}

.popup-match-info-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 5px;
    font-size: 12px;
}

.popup-match-info-text {
    flex: 1;
    min-width: 0;
}

.popup-match-info-label {
    font-size: 8px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.popup-match-info-value {
    font-size: 10px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== POPUP RESPONSIVE ========== */
@media (max-width: 400px) {
    .hot-matches-popup {
        max-width: 100%;
        margin: 6px;
        border-radius: 10px;
    }

    .popup-header {
        padding: 10px;
    }

    .popup-team-logo-wrapper {
        width: 44px;
        height: 44px;
    }

    .popup-score-digit {
        font-size: 20px;
    }

    .popup-time {
        font-size: 18px;
    }

    .popup-team-name {
        font-size: 10px;
        max-width: 70px;
    }

    .popup-body {
        padding: 0;
    }

    .popup-tabs {
        gap: 0;
    }

    .popup-tab {
        padding: 8px 6px;
        font-size: 9px;
        min-width: 55px;
    }

    .popup-tab-content {
        padding: 8px;
    }

    .popup-bookmaker-selector {
        padding: 5px 8px;
        gap: 6px;
    }

    .popup-bookmaker-label {
        font-size: 10px;
    }

    .popup-bookmaker-select {
        padding: 5px 8px;
        font-size: 10px;
        padding-right: 24px;
    }

    .popup-odds-grid {
        gap: 4px;
    }

    .popup-odds-card {
        padding: 5px;
    }

    .popup-odds-value {
        font-size: 13px;
    }

    .popup-odds-row {
        grid-template-columns: 60px 1fr 1fr;
        padding: 5px 6px;
    }

    .popup-prediction-probs {
        gap: 4px;
    }

    .popup-prediction-prob {
        padding: 5px;
    }

    .popup-prediction-prob-value {
        font-size: 14px;
    }

    .popup-prediction-form {
        grid-template-columns: 1fr;
    }

    .popup-prediction-league-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .popup-prediction-league-team {
        min-width: auto;
    }

    .popup-prediction-stats-header,
    .popup-prediction-stats-row {
        grid-template-columns: 1fr repeat(4, 28px);
        gap: 2px;
        padding: 4px 5px;
        font-size: 8px;
    }

    .popup-match-info {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .popup-match-info-item {
        padding: 5px 6px;
        gap: 6px;
    }

    .popup-match-info-icon {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
}
