/* ========================================
   CELESTIAL PAGES STYLESHEET
   Shared styles for server-rendered standalone pages:
   - Schumann, Eclipses, Meteor Showers, Comets
   ======================================== */

/* ========================================
   NAVIGATION MENU - PANEL PILLS
   ======================================== */
.panel-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #e5e7eb;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9999px;
    transition: all 0.2s;
    text-decoration: none;
}

.panel-pill:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateX(4px);
}

/* Active state color variants */
.panel-pill.active {
    background: rgba(92, 225, 230, 0.15);
    border-color: rgba(92, 225, 230, 0.4);
    box-shadow: 0 0 12px rgba(92, 225, 230, 0.2);
}

.panel-pill.active-gold {
    background: rgba(235, 205, 21, 0.15);
    border-color: rgba(235, 205, 21, 0.4);
    box-shadow: 0 0 12px rgba(235, 205, 21, 0.2);
}

.panel-pill.active-purple {
    background: rgba(155, 89, 182, 0.15);
    border-color: rgba(155, 89, 182, 0.4);
    box-shadow: 0 0 12px rgba(155, 89, 182, 0.2);
}

.panel-pill.active-red {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* ========================================
   GLASS CARD CONTAINER
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 1rem;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.section-header-alt {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #5ce1e6;
}

/* ========================================
   TAB NAVIGATION
   ======================================== */
.panel-tab {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: #5ce1e6;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.panel-tab:hover {
    color: #ebcd15;
}

.panel-tab.active {
    color: #ebcd15;
    border-bottom-color: #ebcd15;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ========================================
   MONTH TABS (Meteor Showers)
   ======================================== */
.month-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    border-radius: 0.5rem;
    transition: all 0.2s;
    cursor: pointer;
    background: rgba(0,0,0,0.2);
    border: 1px solid transparent;
}

.month-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.05);
}

.month-tab.active {
    color: #ebcd15;
    background: rgba(235, 205, 21, 0.15);
    border-color: rgba(235, 205, 21, 0.3);
}

/* ========================================
   DATA STATISTICS
   ======================================== */
.data-stat {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

/* ========================================
   CARDS - BASE STYLES
   ======================================== */
.celestial-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.celestial-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Comet Cards */
.comet-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.comet-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.interstellar-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(0, 0, 0, 0.3), rgba(99, 102, 241, 0.2));
    border: 2px solid rgba(139, 92, 246, 0.5);
}

/* Shower Cards */
.shower-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.shower-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Eclipse Cards */
.eclipse-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.eclipse-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.eclipse-card.solar {
    border-left: 3px solid #ebcd15;
}

.eclipse-card.lunar {
    border-left: 3px solid #9b59b6;
}

.eclipse-card.next-eclipse {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(0, 0, 0, 0.3));
    border: 2px solid rgba(155, 89, 182, 0.5);
}

/* Harmonic Cards (Schumann) */
.harmonic-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

/* ========================================
   BADGES
   ======================================== */
.type-badge-solar {
    background: rgba(235, 205, 21, 0.2);
    color: #ebcd15;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.type-badge-lunar {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.interstellar-badge {
    background: linear-gradient(90deg, #a855f7, #6366f1);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.peak-badge {
    background: linear-gradient(90deg, #22c55a, #16a34a);
    color: white;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.active-badge {
    background: rgba(92, 225, 230, 0.2);
    color: #5ce1e6;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

/* ========================================
   COUNTDOWN DISPLAY
   ======================================== */
.countdown-unit {
    text-align: center;
}

.countdown-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    color: #9ca3af;
}

/* ========================================
   SPECTROGRAM CONTAINER (Schumann)
   ======================================== */
.spectrogram-container {
    background: linear-gradient(135deg, rgba(92,225,230,0.08) 0%, rgba(155,89,182,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    padding: 0.5rem;
    min-height: 250px;
    position: relative;
}

/* ========================================
   INTENSITY BAR (Schumann)
   ======================================== */
.intensity-bar {
    height: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    display: flex;
}

.intensity-bar > div {
    flex: 1;
}

/* ========================================
   CONSTELLATION LINKS
   ======================================== */
.constellation-link {
    color: #ebcd15;
    text-decoration: none;
    transition: all 0.2s;
}

.constellation-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ========================================
   THEME ROWS (Comets)
   ======================================== */
.theme-row {
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0.375rem;
}

.theme-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ========================================
   SIGNIFICANCE INDICATORS
   ======================================== */
.significance-high {
    color: #22c55a;
}

.significance-medium {
    color: #f59e0b;
}

.significance-low {
    color: #6b7280;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.hidden {
    display: none !important;
}

/* ========================================
   FORM INPUT STYLES (Signup)
   ======================================== */
#id_email,
#id_first_name,
#id_last_name,
#id_birthdate,
#id_birth_time,
#id_city,
#id_country,
#id_password1,
#id_password2 {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    outline: none;
    transition: all 0.2s;
}

#id_email:focus,
#id_first_name:focus,
#id_last_name:focus,
#id_birthdate:focus,
#id_birth_time:focus,
#id_city:focus,
#id_country:focus,
#id_password1:focus,
#id_password2:focus {
    border-color: #a855f7;
    box-shadow: 0 0 0 1px #a855f7;
}

ul.errorlist {
    color: #f87171;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    list-style: none;
    padding: 0;
}
