/* Uniform Menu Buttons CSS
   This file ensures all menu buttons have identical appearance regardless of container */

/* Gray buttons in the menu bar - ALL PAGES */
.grade-tab, .schedule-tab, 
button[data-grade], button[data-target],
.tabs-container button {
    background-color: #888888 !important;
    color: white !important;
    height: 44px !important;
    width: 120px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    margin: 0 6px 6px 0 !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.95em !important;
    cursor: pointer !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: normal !important;
    padding: 0 !important;
    position: static !important;
    float: none !important;
    transform: none !important;
    transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

/* Hover state */
.grade-tab:hover, .schedule-tab:hover,
button[data-grade]:hover, button[data-target]:hover,
.tabs-container button:hover {
    background-color: #E63946 !important;
    border-color: #ffffff !important;
}

/* Active state */
.grade-tab.active, .schedule-tab.active,
button[data-grade].active, button[data-target].active,
.tabs-container button.active {
    background-color: #E63946 !important;
    border-color: #ffffff !important;
}

/* Red gradient background for button containers */
.grade-tabs, .schedule-tabs, .tabs-container {
    background: linear-gradient(135deg, #000000, #E63946) !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3) !important;
    margin-bottom: 30px !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Center the buttons within the container */
.grade-tabs-scroll, .tabs-container-scroll, .button-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px !important;
}

/* Eliminate any special treatment of "ALL TEAMS" buttons */
.grade-tab[data-grade="all"], button[data-target="full-schedule"] {
    width: 120px !important;
    height: 44px !important;
    background-color: #888888 !important;
    margin-bottom: 6px !important;
    position: static !important;
    font-size: 0.95em !important;
    font-weight: bold !important;
}

/* ALL TEAMS button is active by default */
.grade-tab[data-grade="all"].active, button[data-target="full-schedule"].active {
    background-color: #E63946 !important;
    border-color: #ffffff !important;
}