/* Virtual Games Advanced Predictor - Στυλ */
.vgap-advanced-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.vgap-advanced-container h3 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.vgap-advanced-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.vgap-advanced-form label {
    font-weight: 600;
    color: #34495e;
}

.vgap-advanced-form input[type="text"] {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}

.vgap-advanced-form input[type="text"]:focus {
    border-color: #3498db;
    outline: none;
}

.vgap-advanced-button {
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.vgap-advanced-button:hover {
    background: #2980b9;
}

.vgap-advanced-error {
    background: #fdeded;
    color: #b30000;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #b30000;
    margin: 20px 0;
}

.vgap-advanced-results {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vgap-advanced-results h4 {
    color: #2c3e50;
    margin-top: 0;
}

.vgap-advanced-comparison {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.vgap-advanced-col {
    flex: 1 1 400px;
    overflow-x: auto;
}

.vgap-matrix-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9em;
}

.vgap-matrix-table th,
.vgap-matrix-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: center;
}

.vgap-matrix-table th {
    background: #3498db;
    color: white;
}

.vgap-matrix-table tbody th {
    background: #f39c12;
}

.vgap-matrix-table tfoot th,
.vgap-matrix-table tfoot td {
    background: #2ecc71;
    color: white;
    font-weight: bold;
}

.vgap-matrix-table .home-win {
    background-color: #d4edda;
}

.vgap-matrix-table .away-win {
    background-color: #f8d7da;
}

.vgap-matrix-table .draw {
    background-color: #fff3cd;
}

.vgap-matrix-table td small {
    display: block;
    font-size: 10px;
    color: #555;
}

.vgap-advanced-probs {
    margin: 20px 0;
    overflow-x: auto;
}

.vgap-probs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.vgap-probs-table th {
    background: #27ae60;
    color: white;
    padding: 10px;
}

.vgap-probs-table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.vgap-probs-table .vgap-composite {
    background: #e8f4fd;
    font-weight: 600;
}

.vgap-advanced-top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.vgap-advanced-top > div {
    flex: 1 1 250px;
}

.vgap-top-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.vgap-top-table th {
    background: #3498db;
    color: white;
    padding: 8px;
}

.vgap-top-table td {
    padding: 6px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.vgap-advanced-rare {
    margin: 20px 0;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
}

.vgap-rare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.vgap-rare-table th {
    background: #e67e22;
    color: white;
    padding: 8px;
}

.vgap-rare-table td {
    padding: 6px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.vgap-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* Προσομοίωση */
.vgap-advanced-simulation {
    margin: 25px 0;
    padding: 20px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 5px solid #9b59b6;
}

.vgap-advanced-simulation h5 {
    color: #8e44ad;
    margin-top: 0;
    margin-bottom: 15px;
}

.vgap-simulation-box {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vgap-sim-score {
    font-size: 3em;
    font-weight: 700;
    color: #2c3e50;
    background: #f1c40f;
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.vgap-sim-desc {
    font-size: 1em;
    color: #555;
    margin: 10px 0 0;
}

@media (min-width: 768px) {
    .vgap-advanced-form {
        flex-direction: row;
        align-items: flex-end;
    }
    .vgap-advanced-form label {
        flex: 0 0 120px;
    }
    .vgap-advanced-form input {
        flex: 1;
    }
    .vgap-advanced-button {
        width: auto;
        min-width: 160px;
    }
/* Πίνακας όλων των κωδικών */
.vgap-all-codes-table {
    margin-top: 40px;
    overflow-x: auto;
}
.vgap-all-codes-table h4 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}
.vgap-all-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9em;
}
.vgap-all-table th {
    background: #34495e;
    color: white;
    padding: 10px;
    text-align: center;
}
.vgap-all-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.vgap-all-table tr:nth-child(even) {
    background-color: #f2f2f2;
}