/* Class of 1976 Historical Events Plugin Styles */

.class-1976-events-container {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Georgia', serif;
}

.anniversary-badge {
    text-align: center;
    margin-bottom: 20px;
}

.badge-text {
    display: inline-block;
    background: linear-gradient(45deg, #d4af37, #f4d03f);
    color: #2c3e50;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    border: 2px solid #b8860b;
}

.class-1976-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.class-1976-btn {
    background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.class-1976-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #764ba2 0%, #667eea 100%);
}

.class-1976-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#event-date {
    padding: 10px 15px;
    border: 2px solid #667eea;
    border-radius: 20px;
    font-size: 16px;
    background: white;
    outline: none;
    transition: all 0.3s ease;
}

#event-date:focus {
    border-color: #764ba2;
    box-shadow: 0 0 10px rgba(118, 75, 162, 0.3);
}

.class-1976-event-display {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.class-1976-event-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.event-date {
    font-size: 18px;
    color: #667eea;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-headline {
    font-size: 28px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    line-height: 1.3;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.event-summary {
    font-size: 16px;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 20px;
    text-align: justify;
}

.event-source {
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    border-top: 1px solid #ecf0f1;
    padding-top: 15px;
    text-align: right;
}

.no-event {
    text-align: center;
    color: #7f8c8d;
    padding: 20px;
}

.no-event h3 {
    color: #95a5a6;
    margin-bottom: 15px;
}

.loading-indicator {
    text-align: center;
    padding: 40px;
    color: #667eea;
    font-size: 18px;
    font-weight: bold;
}

.loading-indicator::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #667eea;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.keyboard-help {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #666 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .class-1976-events-container {
        margin: 10px;
        padding: 15px;
    }
    
    .class-1976-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .class-1976-btn {
        padding: 10px 16px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
    }
    
    #event-date {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .event-headline {
        font-size: 24px;
    }
    
    .class-1976-event-display {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .event-headline {
        font-size: 20px;
    }
    
    .event-summary {
        font-size: 14px;
    }
    
    .class-1976-event-display {
        padding: 15px;
    }
}

/* Print styles */
@media print {
    .class-1976-controls,
    .keyboard-help {
        display: none;
    }
    
    .class-1976-events-container {
        box-shadow: none;
        background: white;
        border: 1px solid #ccc;
    }
    
    .class-1976-event-display {
        box-shadow: none;
        background: white;
    }
}

