/* Hot Matches Widget Styles - Slider Dark Theme */
* {
    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;
    background: #1a1a2e;
}

.hot-matches-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: 16px 0;
}

/* Header */
.hot-matches-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px 16px 16px;
}

.hot-matches-header-bar {
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border-radius: 2px;
}

.hot-matches-header-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.hot-matches-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.hot-matches-spinner::before {
    content: '\26BD';
}

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

.hot-matches-loading-text {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
}

/* Empty State */
.hot-matches-empty {
    padding: 48px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* ========== SLIDER STYLES ========== */
.hot-matches-slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 8px;
}

.hot-matches-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.hot-matches-slider-track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
    padding: 4px 0;
}

/* Slider Arrows */
.hot-matches-slider-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    margin: 0;
    line-height: normal;
    padding: 0 10px;
    min-height: auto;
}

.hot-matches-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hot-matches-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.hot-matches-slider-arrow-left {
    margin-right: 8px;
}

.hot-matches-slider-arrow-right {
    margin-left: 8px;
}

/* Alternative Arrow Class (for WordPress) */
.hot-matches-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    margin: 0;
    line-height: normal;
    padding: 0;
    font-size: 18px;
    min-height: auto;
}

.hot-matches-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.hot-matches-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.hot-matches-arrow-left {
    margin-right: 8px;
}

.hot-matches-arrow-right {
    margin-left: 8px;
}

/* ========== MATCH CARD STYLES ========== */
.hot-matches-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    flex-shrink: 0;
    width: 200px;
}

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

.hot-matches-card {
    background: #252540;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.hot-matches-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Hover Overlay */
.hot-matches-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.85);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 12px;
}

.hot-matches-card:hover .hot-matches-card-overlay {
    opacity: 1;
    visibility: visible;
}

.hot-matches-overlay-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.2s ease;
}

.hot-matches-card:hover .hot-matches-overlay-btn {
    transform: translateY(0);
}

.hot-matches-overlay-btn:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Card Header - League & Time */
.hot-matches-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hot-matches-league-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.hot-matches-league-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    border-radius: 5px;
}

.hot-matches-match-time {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

/* Teams Section */
.hot-matches-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    gap: 8px;
}

.hot-matches-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.hot-matches-team-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a2e;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hot-matches-team-name {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
}

/* VS Indicator */
.hot-matches-vs {
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}

/* Live Badge */
.hot-matches-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.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 4px rgba(255, 255, 255, 0); }
}

/* Score Display */
.hot-matches-score-display {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
}

.hot-matches-score-separator {
    color: #64748b;
}

/* Odds Section */
.hot-matches-odds-section {
    padding: 6px 8px 8px 8px;
}

.hot-matches-odds-row {
    display: grid;
    grid-template-columns: 32px 1fr 1fr 1fr;
    gap: 4px;
    margin-bottom: 4px;
    align-items: center;
}

.hot-matches-odds-row:last-child {
    margin-bottom: 0;
}

.hot-matches-odds-label {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    text-align: center;
}

.hot-matches-odds-cell {
    background: #1a1a2e;
    border-radius: 4px;
    padding: 5px 4px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s ease;
}

.hot-matches-odds-cell.has-value {
    color: #10b981;
}

.hot-matches-odds-cell.hdp-line,
.hot-matches-odds-cell.ou-line {
    color: #fbbf24;
    background: transparent;
    font-weight: 700;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 768px) {
    .hot-matches-card-link {
        width: 180px;
    }

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

    .hot-matches-team-name {
        font-size: 10px;
        max-width: 60px;
    }

    .hot-matches-slider-arrow,
    .hot-matches-arrow {
        width: 32px;
        height: 32px;
    }

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

@media (max-width: 480px) {
    .hot-matches-card-link {
        width: 160px;
    }

    .hot-matches-teams {
        padding: 12px 8px;
    }

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

    .hot-matches-odds-cell {
        padding: 6px 8px;
        font-size: 11px;
    }
}

/* Mobile: Show only 1 card at a time */
@media (max-width: 549px) {
    .hot-matches-container {
        margin: 10px 15px 20px;
    }

    .hot-matches-slider-wrapper {
        padding: 0 4px;
    }

    .hot-matches-slider-arrow,
    .hot-matches-arrow {
        width: 28px;
        height: 28px;
        margin: 0 2px;
    }

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

    .hot-matches-slider-arrow-left,
    .hot-matches-arrow-left {
        margin-right: 4px;
    }

    .hot-matches-slider-arrow-right,
    .hot-matches-arrow-right {
        margin-left: 4px;
    }

    .hot-matches-card-link {
        width: calc(100vw - 80px); /* Full width minus arrows and padding */
        min-width: 200px;
        max-width: 320px;
    }

    .hot-matches-slider-track {
        gap: 0;
    }

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

    .hot-matches-team-name {
        font-size: 11px;
        max-width: 80px;
    }

    .hot-matches-teams {
        padding: 14px 12px;
    }

    .hot-matches-card-header {
        padding: 10px 12px;
    }

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

    .hot-matches-odds-section {
        padding: 8px 10px 10px 10px;
    }

    .hot-matches-odds-cell {
        padding: 6px 6px;
        font-size: 12px;
    }
}

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

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

.hot-matches-popup {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    z-index: 2147483647 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: hot-matches-popupIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #e2e8f0;
}

@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: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    color: #64748b;
    font-size: 20px;
    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: #ef4444;
    color: #fff;
    transform: scale(1.1);
}

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

/* Popup Header - Light */
.popup-header {
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    padding: 12px;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.popup-league {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

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

.popup-league-name {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.popup-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

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

.popup-team-logo-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 3px;
    background: #f1f5f9;
}

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

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

.popup-team-name {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.popup-score-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.popup-score-digit {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
}

.popup-score-separator {
    font-size: 20px;
    font-weight: 700;
    color: #94a3b8;
}

.popup-time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.popup-time {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.popup-date {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

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

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

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

/* Popup Body - Light */
.popup-body {
    padding: 0;
    background: #ffffff;
}

/* Popup Tabs - Light */
.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.3px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.popup-tab:hover {
    color: #1e293b;
    background: #f1f5f9;
}

.popup-tab.active {
    color: #10b981;
    background: #f0fdf4;
}

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

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

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

/* Popup Odds Section - Light */
.popup-odds-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-bookmaker-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.popup-bookmaker-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    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: 4px;
    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: 26px;
}

.popup-bookmaker-select:hover {
    border-color: #10b981;
}

.popup-bookmaker-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

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

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

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

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

.popup-odds-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.popup-odds-card:hover {
    border-color: #10b981;
    background: #f0fdf4;
}

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

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

.popup-odds-value.home {
    color: #10b981;
}

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

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

.popup-odds-row {
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    gap: 6px;
    align-items: center;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-top: 4px;
}

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

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

.popup-odds-empty {
    text-align: center;
    padding: 20px 12px;
    color: #64748b;
}

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

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

/* Popup Prediction Section - Light */
.popup-prediction-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-prediction-empty {
    text-align: center;
    padding: 20px 12px;
    color: #64748b;
}

.popup-prediction-advice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
}

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

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

.popup-prediction-header {
    display: flex;
    align-items: center;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

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

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

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

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

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

.popup-prediction-prob.home .popup-prediction-prob-value {
    color: #10b981;
}

.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: 3px;
    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, #10b981, #059669);
}

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

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

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

.popup-prediction-form-team {
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    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 5px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 3px;
}

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

.popup-prediction-league-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popup-prediction-league-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    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);
}

.popup-prediction-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

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

.popup-prediction-stats-header {
    background: #f1f5f9;
    border-radius: 5px;
    font-weight: 600;
    color: #64748b;
    text-align: center;
}

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

.popup-prediction-stats-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
}

.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: #94a3b8;
}

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

/* Popup Match Info Section - Light */
.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: 8px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.popup-match-info-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    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: #94a3b8;
    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;
}

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

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

.popup-loading-text {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

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

    .popup-header {
        padding: 10px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .popup-prediction-prob {
        padding: 6px 4px;
    }

    .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-match-info {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
