/* Shared Components - Header, Date Picker, Buttons */

/* Header */
.herald-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
    position: relative;
}

.herald-header h1 {
    font-size: 2.5rem;
    font-weight: normal;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}

/* Hamburger Menu */
.hamburger-menu {
    position: absolute;
    bottom: 15px;
    right: 0;
}

.hamburger-btn {
    background: none;
    border: 1px solid #000;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    color: #000;
    border-radius: 3px;
}

.hamburger-btn:hover {
    background: #f0f0f0;
}

.menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #000;
    border-radius: 3px;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 9999;
    margin-top: 2px;
}

.menu-dropdown.show {
    display: block;
}

.menu-item {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #000;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.menu-item:hover {
    background: #f5f5f5;
}

.menu-item:last-child {
    border-bottom: none;
}

/* Date Picker Section */
.date-picker-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
}

.date-picker-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Current Date Display (Top Line) */
.current-date-display {
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    color: #000;
}

/* Date Navigation Container (Bottom Line) */
.date-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-nav-btn {
    background: none;
    border: none;
    font-size: 1rem;
    padding: 4px 8px;
    cursor: pointer;
    margin: 0 15px;
    color: #000 !important;
    -webkit-appearance: none;
    appearance: none;
}

.date-nav-btn:hover {
    background: #f0f0f0;
    color: #000 !important;
}

.date-nav-btn:focus {
    outline: none;
    color: #000 !important;
}

.date-picker-container {
    display: flex;
    gap: 8px;
}

.date-btn {
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    padding: 3px 8px;
    min-width: 50px;
    color: #000 !important;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 0.85rem;
}

.date-btn:hover {
    background: #f5f5f5;
    color: #000 !important;
}

.date-btn:focus {
    outline: none;
    color: #000 !important;
}

.date-btn.active {
    font-weight: bold !important;
    color: #000 !important;
}

.date-btn.active .date-compact {
    border-top: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
    padding-top: 2px;
    padding-bottom: 2px;
}

.date-btn.today {
    font-weight: normal !important;
    color: #000 !important;
}

.date-compact {
    font-size: 0.85rem;
    display: block;
    white-space: nowrap;
}

/* Responsive Design for Components */
@media (max-width: 768px) {
    .herald-header h1 {
        font-size: 2rem;
    }
    
    .current-date-display {
        font-size: 1rem;
    }
    
    .date-picker-container {
        gap: 6px;
    }
    
    .date-btn {
        min-width: 45px;
        padding: 3px 6px;
        font-size: 0.8rem;
    }
    
    .date-compact {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .current-date-display {
        font-size: 0.95rem;
    }
    
    .date-nav-btn {
        margin: 0 8px;
        padding: 3px 6px;
        font-size: 0.9rem;
    }
    
    .date-btn {
        min-width: 40px;
        padding: 2px 4px;
        font-size: 0.75rem;
    }
    
    .date-compact {
        font-size: 0.75rem;
    }
}

/* Team-Specific Date Picker */
.team-matchup-info {
    text-align: center;
}

.matchup-counter {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2px;
}

.matchup-teams {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 2px;
}

.matchup-date {
    font-size: 1rem;
    color: #000;
}

.game-indicator {
    background: none;
    border: 1px solid #ccc;
    cursor: pointer;
    text-align: center;
    padding: 4px 8px;
    min-width: 40px;
    color: #666;
    font-size: 0.85rem;
    border-radius: 3px;
    margin: 0 2px;
}

.game-indicator:hover {
    background: #f5f5f5;
    border-color: #999;
}

.game-indicator.active {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: bold;
}

.loading-matchups {
    padding: 10px;
    color: #666;
    font-style: italic;
}

/* Team Date Picker Responsive */
@media (max-width: 768px) {
    .matchup-counter {
        font-size: 0.8rem;
    }
    
    .matchup-teams {
        font-size: 1rem;
    }
    
    .matchup-date {
        font-size: 0.9rem;
    }
    
    .game-indicator {
        min-width: 35px;
        padding: 3px 6px;
        font-size: 0.8rem;
    }
}