/* Theory page specific styles */

.theory-section {
    padding: 0;
}

.theory-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.band-theory {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.band-theory h3 {
    margin-top: 4px !important;
    margin-bottom: 2px !important;
    font-size: 1.2em;
}

.band-theory h3:first-child {
    margin-top: 0 !important;
}

.band-theory p {
    margin: 2px 0 8px 0 !important;
    line-height: 1.3 !important;
}

.feature-preview {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.feature-preview h3 {
    color: #28a745;
    margin-top: 0;
}

.coming-soon {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.coming-soon h3 {
    color: #ffc107;
    margin-top: 0;
}

/* Theory page content styling - matching report page */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

/* Header section styling - matching report page */
.header {
    background: rgba(255, 255, 255, 0.25);
    color: #2c3e50;
    padding: 20px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.header h2 {
    border: none !important;
    border-left: none !important;
    padding-left: 0 !important;
    color: #2c3e50;
    margin: 10px 0;
    font-size: 1.3em;
    font-weight: 400;
}

.content {
    padding: 40px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* .main-content h1 styles now handled by common.css */

/* h2 styling now handled by common.css */

.content h3 {
    color: #0056b3;
    margin: 25px 0 15px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.content p {
    margin: 15px 0;
    line-height: 1.6;
    color: #444;
}

.content ul, .content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.content li {
    margin: 8px 0;
    line-height: 1.5;
    color: #444;
}

/* strong styling now uses default browser styling to match report page */

.content em {
    color: #0056b3;
    font-style: italic;
}

/* Space Weather Impact Mapping Styles */
.impact-mapping {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.impact-item {
    display: flex;
    align-items: center;
    margin: 2px 0;
    padding: 6px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.impact-item:hover {
    background: rgba(255, 255, 255, 0.3);
}

.impact-indicator {
    font-size: 1.2em;
    margin-right: 12px;
    min-width: 20px;
    text-align: center;
}

/* Removed colored borders from impact items for cleaner appearance */

.theory-tip {
    background: rgba(23, 162, 184, 0.1);
    border: 2px solid rgba(23, 162, 184, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
}

.theory-tip h4 {
    color: #17a2b8;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.theory-tip p {
    margin-bottom: 10px;
}

.theory-tip ul {
    margin-top: 10px;
    margin-bottom: 0;
}

.theory-tip li {
    color: #495057;
}

/* Responsive adjustments for theory page */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .content {
        padding: 20px;
    }
    
    /* .main-content h1 responsive styles now handled by common.css */
    
    /* h2 responsive styles now handled by common.css */
    
    .content h3 {
        font-size: 1.1em;
    }
    
    .impact-mapping {
        padding: 12px;
        margin: 15px 0;
    }
    
    .impact-item {
        padding: 12px;
        margin: 6px 0;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 6px;
        line-height: 1.4;
    }
    
    .impact-header {
        display: flex;
        align-items: center;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .impact-indicator {
        margin-right: 8px;
        font-size: 1.1em;
        flex-shrink: 0;
    }
    
    .impact-description {
        margin-left: 0;
        font-weight: normal;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .content {
        padding: 15px 10px;
    }
    
    /* .main-content h1 responsive styles now handled by common.css */
    
    /* h2 responsive styles now handled by common.css */
    
    .content h3 {
        font-size: 1.0em;
    }
    
    .impact-mapping {
        padding: 10px;
        margin: 12px 0;
    }
    
    .impact-item {
        padding: 14px;
        margin: 8px 0;
        font-size: 0.95em;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        line-height: 1.5;
    }
    
    .impact-header {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
        font-weight: 600;
        font-size: 1.0em;
    }
    
    .impact-indicator {
        margin-right: 10px;
        font-size: 1.2em;
        flex-shrink: 0;
    }
    
    .impact-description {
        margin-left: 0;
        font-weight: normal;
        line-height: 1.5;
        font-size: 0.95em;
    }
    
    .theory-tip {
        padding: 15px;
        margin: 20px 0;
    }
}
