/* NFL Command Center - Navbar Styles */

/* Command Header */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Brand Section */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #9b9b7a 0%, #797b3a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(155, 155, 122, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* System Status */
.system-status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff41;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-text {
    font-size: 11px;
    color: #00ff41;
    text-transform: uppercase;
    font-weight: 600;
}

.system-time {
    font-size: 12px;
    color: #999;
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Slate Selector */
.slate-selector {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(155, 155, 122, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    min-width: 250px;
    transition: all 0.3s ease;
}

.slate-selector:hover {
    border-color: rgba(155, 155, 122, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.slate-selector:focus {
    outline: none;
    border-color: rgba(155, 155, 122, 0.6);
    box-shadow: 0 0 0 2px rgba(155, 155, 122, 0.1);
}

.slate-selector option {
    background: #1a1a1a;
    color: #fff;
    padding: 4px;
}

/* Site Toggle */
.site-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
}

.site-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-btn:hover:not(.active) {
    color: #999;
    background: rgba(255, 255, 255, 0.03);
}

.site-btn.active {
    background: linear-gradient(135deg, #9b9b7a 0%, #797b3a 100%);
    color: #000;
    font-weight: 700;
}

/* Command Header - Slightly taller for better game display */
.command-header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 155, 122, 0.2);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    z-index: 1000;
    min-height: 72px;
    top: 0px;
}

.command-header2 {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(155, 155, 122, 0.2);
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    z-index: 1000;
    min-height: 36px;
    top: 72px;
}

/* Games Ticker */
.games-ticker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    max-width: 1200px;
    overflow: hidden;
    margin: 0 20px;
}

.games-ticker-label {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    flex-shrink: 0;
}

.games-ticker-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(155, 155, 122, 0.3) transparent;
}

.games-ticker-scroll::-webkit-scrollbar {
    height: 4px;
}

.games-ticker-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 2px;
}

.games-ticker-scroll::-webkit-scrollbar-thumb {
    background: rgba(155, 155, 122, 0.3);
    border-radius: 2px;
}

/* Enhanced Game Pills with Diagonal Design - Stacked Layout */
.game-pill {
    display: flex;
    flex-direction: column; /* Stack vertically */
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    min-width: 120px;
    height: auto !important; /* Force auto height */
}

.game-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-color: rgba(155, 155, 122, 0.4);
}

.game-pill-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    position: relative !important; /* Force relative positioning */
}

.team-section {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    gap: 4px;
    border-radius: 3px;
    position: relative !important; /* Force relative, not absolute */
}

.team-logo-mini {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

.team-abbr {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.game-at {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin: 0 4px;
    position: relative !important; /* Force relative */
}

.game-pill-ou {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 22px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative !important; /* Force relative positioning */
    margin: 0 !important; /* Remove any margins */
    padding: 0 !important; /* Remove padding, we'll add it to the span */
}

.game-total {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    padding: 4px 8px;
}


/*****/

.subnav {
    display: flex;
    align-items: center;
    background-color: #1a1a1a;
    padding: 8px 16px;
    border-bottom: 1px solid #333;
    white-space: nowrap;
    overflow-x: auto;
    gap: 24px;
}

.subnav-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.subnav-title {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 14px;
    margin-right: 8px;
    flex-shrink: 0;
}

.subnav-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #2d2d2d;
    border: 1px solid #444;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 13px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    gap: 4px;
}

.subnav-item:hover {
    background-color: #3a3a3a;
    border-color: #666;
}

.subnav-item.active {
    background-color: #007bff;
    border-color: #007bff;
    color: #ffffff;
}

.subnav-label {
    white-space: nowrap;
}

.subnav-icon {
    font-size: 12px;
    line-height: 1;
}

/* Responsive behavior for smaller screens */
@media (max-width: 768px) {
    .subnav {
        padding: 6px 12px;
        gap: 16px;
    }
    
    .subnav-section {
        gap: 8px;
    }
    
    .subnav-item {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .subnav-title {
        font-size: 12px;
        margin-right: 6px;
    }
}
