/* Top Bar */
.top-bar {
    width: 90%;
    max-width: 900px;
    margin: 20px auto 0;
}

.back-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #e10600;
    transition: 0.3s ease;
}

.back-btn:hover {
    color: #b00000;
}

/* Container */
.match-detail-container {
    width: 90%;
    max-width: 900px;
    margin: 30px auto 60px;
    background: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Title */
.match-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
}

/* Score Section */
.match-score-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.team h3 {
    margin: 0;
    font-size: 20px;
}

.score {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-top: 8px;
    color: #111;
}

.vs {
    font-size: 22px;
    font-weight: bold;
    color: #999;
}

/* Match Info Grid */
.match-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 15px;
}

.info-box {
    flex: 1;
    background: #f8f8f8;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.info-box strong {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 5px;
}

/* Result Styling */
.final-result {
    text-align: center;
}

.result-status {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
}

.result-status.win {
    background: #e6f7ed;
    color: #1a7f37;
}

.result-status.loss {
    background: #fdecea;
    color: #d93025;
}

.result-status.draw {
    background: #fff4e5;
    color: #e37400;
}

.not-played {
    padding: 10px 20px;
    background: #f1f1f1;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    color: #555;
}

/* ========================= */
/* 📱 MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

    .match-score-section {
        flex-direction: column;
        gap: 15px;
    }

    .match-info {
        flex-direction: column;
    }

    .score {
        font-size: 30px;
    }

    .match-detail-container {
        padding: 20px;
    }
}