/* CryptoCrush Season System Styles */

/* Season Button - Match day/night button styling */
#nav-season-dropdown {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #6c757d;
    transition: all 0.2s ease;
}

#nav-season-dropdown:hover {
    border-color: #adb5bd;
    background-color: rgba(108, 117, 125, 0.1);
}

#nav-season-icon {
    margin-right: 0.25rem;
    font-size: 0.9rem;
    animation: season-pulse 2s infinite;
}

#nav-season-text {
    font-weight: 500;
    font-family: 'Courier New', monospace;
    transition: all 0.1s ease;
}

/* Live update animation */
#nav-season-text.updating {
    transform: scale(1.05);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes season-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Season Dropdown - Match day/night dropdown styling */
#nav-season-menu {
    min-width: 320px;
    max-width: 380px;
    padding: 0;
    border: 1px solid #444;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 1050;
}

.season-dropdown-content {
    padding: 0.75rem;
}

/* Season Header - Match day/night header styling */
.season-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #444;
}

.season-icon-large {
    font-size: 2rem;
    line-height: 1;
}

.season-info {
    flex: 1;
}

.season-name {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.season-description {
    color: #adb5bd;
    font-size: 0.8rem;
}

/* Season Progress - Match day/night progress styling */
.season-progress {
    margin-bottom: 0.75rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #adb5bd;
}

.season-progress .progress {
    height: 8px;
    background: #34495e;
    border-radius: 4px;
}

.season-progress-bar {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Time Information - Match day/night time styling */
.time-info {
    margin-bottom: 0.75rem;
}

.time-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.time-row:last-child {
    margin-bottom: 0;
}

.time-row i {
    width: 16px;
    color: #6c757d;
}

.time-row span {
    color: #adb5bd;
    min-width: 50px;
}

.time-row strong {
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
}

/* Admin-only rows */
.time-row.admin-only {
    border-top: 1px solid #444;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* Season Timeline */
.season-timeline {
    margin-bottom: 0.5rem;
}

.timeline-header {
    color: #bdc3c7;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-container {
    max-height: 120px;
}

.timeline-seasons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
}

.timeline-season {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.timeline-season:hover {
    background: #34495e;
}

.timeline-season-icon {
    font-size: 1rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin-bottom: 0.1rem;
}

.timeline-season-icon.current {
    opacity: 1;
    animation: current-season-glow 2s infinite;
}

.timeline-season-icon.past {
    opacity: 0.3;
}

@keyframes current-season-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timeline-season-name {
    color: #bdc3c7;
    font-size: 0.7rem;
    transition: color 0.3s ease;
    line-height: 1;
}

.timeline-season-name.current {
    color: #ecf0f1;
    font-weight: 600;
}

.timeline-season-name.past {
    color: #7f8c8d;
}

/* Admin Information */
.admin-info {
    padding: 0.75rem 1rem;
    background: #34495e;
    border-top: 1px solid #2c3e50;
}

.admin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.admin-row:last-child {
    margin-bottom: 0;
}

.admin-label {
    color: #bdc3c7;
    font-size: 0.85rem;
}

.admin-day, .admin-next {
    color: #ecf0f1;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Season Notifications */
.season-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    background: #2c3e50;
    border: 1px solid #3498db;
    color: #ecf0f1;
    animation: slide-in-right 0.5s ease;
}

@keyframes slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Season-specific navigation button styles */
#nav-season-dropdown.season-shishira {
    background: linear-gradient(45deg, #98FB98, #ADFF2F);
    color: #2F4F2F;
}

#nav-season-dropdown.season-shishira:hover {
    background: linear-gradient(45deg, #ADFF2F, #32CD32);
}

#nav-season-dropdown.season-nocturnal {
    background: linear-gradient(45deg, #2F2F4F, #191970);
    color: #E6E6FA;
}

#nav-season-dropdown.season-nocturnal:hover {
    background: linear-gradient(45deg, #191970, #4B0082);
}

#nav-season-dropdown.season-hibernal {
    background: linear-gradient(45deg, #87CEEB, #B0E0E6);
    color: #2F4F4F;
}

#nav-season-dropdown.season-hibernal:hover {
    background: linear-gradient(45deg, #B0E0E6, #87CEFA);
}

#nav-season-dropdown.season-autumnal {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: #FFF8DC;
}

#nav-season-dropdown.season-autumnal:hover {
    background: linear-gradient(45deg, #D2691E, #CD853F);
}

#nav-season-dropdown.season-serotinal {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    color: #8B4513;
}

#nav-season-dropdown.season-serotinal:hover {
    background: linear-gradient(45deg, #FF8C00, #FF7F50);
}

#nav-season-dropdown.season-estival {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B4513;
}

#nav-season-dropdown.season-estival:hover {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
}

#nav-season-dropdown.season-vernal {
    background: linear-gradient(45deg, #90EE90, #98FB98);
    color: #2F4F2F;
}

#nav-season-dropdown.season-vernal:hover {
    background: linear-gradient(45deg, #98FB98, #ADFF2F);
}

/* Season-specific progress bar colors */
.season-shishira .season-progress-bar {
    background: linear-gradient(90deg, #98FB98, #ADFF2F);
}

.season-nocturnal .season-progress-bar {
    background: linear-gradient(90deg, #2F2F4F, #191970);
}

.season-hibernal .season-progress-bar {
    background: linear-gradient(90deg, #87CEEB, #B0E0E6);
}

.season-autumnal .season-progress-bar {
    background: linear-gradient(90deg, #8B4513, #D2691E);
}

.season-serotinal .season-progress-bar {
    background: linear-gradient(90deg, #FFA500, #FF8C00);
}

.season-estival .season-progress-bar {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.season-vernal .season-progress-bar {
    background: linear-gradient(90deg, #90EE90, #98FB98);
}

/* Responsive Design */
@media (max-width: 768px) {
    .season-dropdown {
        min-width: 250px;
    }
    
    .season-display {
        font-size: 0.8rem;
    }
    
    .season-icon {
        font-size: 1rem;
    }
    
    .timeline-container {
        max-height: 140px;
    }
}

/* Dark theme compatibility */
.season-dropdown .dropdown-divider {
    border-color: #34495e;
}

.season-dropdown .dropdown-item:hover {
    background: #34495e;
    color: #ecf0f1;
} 