/* File: public/css/pp-league-box.css */

/* --- Main Box Layout --- */
.predict-press-league-box {
    background-color: #0a2745;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    direction: rtl;
    text-align: right;
    margin: 20px 0;
}

.pp-box-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #00345e;
}

.league-logo {
    width: 50px;
    height: 50px;
    margin-left: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.league-title {
    margin: 0;
    color: white;
    font-size: 1.2em;
    flex-grow: 1;
}

/* --- Week Navigation --- */
.week-navigation {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding-top: 10px;
    justify-content: flex-start;
    overflow-x: auto;
}

.week-button {
    background-color: #00345e;
    color: white;
    border: 1px solid #0e4c81;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
    transition: background-color 0.2s, border-color 0.2s;
}

/* --- THE FIX: High-Specificity Hover/Focus for Week Buttons --- */
.predict-press-league-box .week-button:hover,
.predict-press-league-box .week-button:focus {
    background-color: #005a9e; /* Slightly lighter blue for feedback */
    border-color: #007cbe;
    outline: none; /* Removes browser default outline */
}


.week-button.active {
    background-color: #005a9e !important;
    border-color: #007cbe !important;
}

.week-button.loading {
    cursor: wait !important;
}

/* --- Matches Container --- */
.matches-container {
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* --- Message for no matches --- */
.no-matches-message {
    text-align: center;
    color: #ccc;
    font-size: 0.9em;
}