/* World Cup Over 2.5 AI — front-end styles */

.over25-predictions {
    display: grid;
    gap: 18px;
    margin: 20px 0;
}
.over25-heading {
    font-size: 1.4em;
    margin-bottom: 10px;
    text-align: center;
}
.over25-predictions .prediction-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid #d6e4f5;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.over25-predictions .prediction-card.rank-1 { border-left: 6px solid #ffb300; }
.over25-predictions .prediction-card.rank-2 { border-left: 6px solid #9e9e9e; }
.over25-predictions .prediction-card.rank-3 { border-left: 6px solid #b87333; }
.over25-predictions .rank-badge {
    position: absolute; top: 12px; right: 14px;
    background: #1976d2; color: #fff;
    border-radius: 20px; padding: 2px 10px;
    font-size: 0.8em; font-weight: bold;
}
.over25-predictions h3 {
    margin: 0 0 6px 0; font-size: 1.15em;
}
.over25-predictions .vs {
    color: #d32f2f; font-weight: bold; margin: 0 4px;
}
.over25-predictions .match-meta {
    color: #555; font-size: 0.9em; margin: 4px 0 10px 0;
}
.over25-predictions .metrics {
    display: flex; gap: 18px; flex-wrap: wrap;
    margin: 10px 0;
}
.over25-predictions .metric {
    background: #1976d2; color: #fff;
    border-radius: 8px; padding: 8px 12px;
    min-width: 120px;
}
.over25-predictions .metric .label {
    display: block; font-size: 0.75em; opacity: 0.85;
}
.over25-predictions .metric .value {
    display: block; font-size: 1.2em; font-weight: bold;
}
.over25-predictions .explanation {
    font-style: italic; color: #444; margin-top: 8px;
}

.over25-empty, .over25-history-empty {
    padding: 20px; background: #fff3cd; border: 1px solid #ffe69c;
    border-radius: 8px; text-align: center;
}
.over25-perf {
    padding: 14px; background: #e8f5e9; border-left: 4px solid #2e7d32;
    border-radius: 6px;
}

table.over25-history {
    width: 100%; border-collapse: collapse; margin: 16px 0;
}
table.over25-history th, table.over25-history td {
    padding: 8px 10px; border-bottom: 1px solid #eee; text-align: left;
}
table.over25-history thead { background: #1976d2; color: #fff; }
table.over25-history tr.hit  td { background: #f1f8e9; }
table.over25-history tr.miss td { background: #ffebee; }
