.all-1x2-predictions-wrapper,
.all-over-under-predictions-wrapper {
    margin: 25px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333; /* βασικό χρώμα κειμένου */
    line-height: 1.5;
}

/* Πίνακες */
.all-predictions-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 14px;
}

.all-predictions-table thead {
    background: linear-gradient(135deg, #1D365A 0%, #152a45 100%);
    color: white;
}

.all-predictions-table th {
    padding: 14px 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.all-predictions-table th:last-child {
    border-right: none;
}

.all-predictions-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9eef2;
    text-align: center;
    vertical-align: middle;
    color: #333;
}

.all-predictions-table tbody tr {
    transition: background-color 0.2s ease;
}

.all-predictions-table tbody tr:hover {
    background-color: #f5f9ff;
}

/* Γραμμή επικεφαλίδας πρωταθλήματος (league header) */
.league-header-row td {
    background: #f0f4f8;
    padding: 12px 15px;
    border-bottom: 2px solid #FF9800;
    border-top: 2px solid #FF9800;
    font-weight: 700;
}

.league-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1D365A;
    font-size: 18px;
}

.league-flag {
    width: 42px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.league-flag-emoji {
    font-size: 36px;
    line-height: 1;
}

.league-name {
    font-weight: 800;
    letter-spacing: 0.3px;
}

/* Στοιχεία πρωταθλήματος μέσα σε κάθε γραμμή (μικρή σημαία + όνομα) */
.league-info-content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.league-flag-small {
    width: 26px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.league-flag-emoji-small {
    font-size: 22px;
}

.league-name-small {
    font-size: 13px;
    font-weight: 600;
    color: #1D365A;
    white-space: nowrap;
}

/* Μπάρες πιθανοτήτων για 1X2 */
.prediction-probability-bars-container {
    display: flex;
    height: 22px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.prediction-home-bar {
    background: #2E7D32; /* πιο σκούρο πράσινο */
}

.draw-bar {
    background: #F9A825; /* πορτοκαλί-χρυσό */
}

.away-bar {
    background: #C62828; /* σκούρο κόκκινο */
}

/* Μπάρες Over rating για Over/Under */
.stats-bars-container {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.stats-bar-wrapper {
    width: 65px;
    height: 18px;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.stats-bar-fill {
    height: 100%;
    border-radius: 20px;
    transition: width 0.3s ease;
}

.stats-bar-percentage {
    font-size: 12px;
    font-weight: 700;
    min-width: 40px;
    color: #333;
}

/* Δείκτες Value (αστέρι / κουκκίδα) */
.value-high {
    color: #FF9800;
    font-weight: 800;
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(255,152,0,0.3);
}

.value-medium {
    color: #FF9800;
    font-weight: 700;
    font-size: 16px;
}

/* Λουκέτα για premium */
.fa-lock {
    color: #9aa9b9;
    font-size: 15px;
    transition: color 0.2s;
}

.fa-lock:hover {
    color: #1D365A;
}

/* Σύνδεσμοι Analysis */
.all-predictions-table td a {
    color: #1D365A;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #eef2f6;
    display: inline-block;
    transition: all 0.2s;
    white-space: nowrap;
}

.all-predictions-table td a:hover {
    background: #1D365A;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(29,54,90,0.3);
}

/* Μήνυμα όταν δεν υπάρχουν αγώνες */
.no-matches {
    text-align: center;
    padding: 50px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #555;
    font-size: 16px;
    border: 1px dashed #ccc;
    margin: 20px 0;
}

/* Προσαρμογή για μικρές οθόνες */
@media screen and (max-width: 768px) {
    .all-predictions-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-radius: 8px;
    }

    .all-predictions-table th,
    .all-predictions-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .league-header-content {
        font-size: 16px;
        gap: 10px;
    }

    .league-flag {
        width: 32px;
    }

    .league-flag-emoji {
        font-size: 28px;
    }

    .stats-bar-wrapper {
        width: 50px;
    }

    .stats-bar-percentage {
        font-size: 10px;
        min-width: 30px;
    }

    .all-predictions-table td a {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* Προσαρμογή για πολύ μικρές οθόνες (π.χ. κινητά σε portrait) */
@media screen and (max-width: 480px) {
    .all-predictions-table th,
    .all-predictions-table td {
        padding: 8px 4px;
        font-size: 11px;
    }

    .league-name-small {
        font-size: 11px;
    }

    .league-flag-small {
        width: 20px;
    }

    .stats-bar-wrapper {
        width: 40px;
        height: 14px;
    }

    .value-high {
        font-size: 16px;
    }
    .value-medium {
        font-size: 14px;
    }
}