/* Auto-extracted from syllabus.php on 2026-05-04 */

.page-hero {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 60px 20px;
        text-align: center;
    }
    
    .page-hero h1 {
        font-size: 3em;
        margin-bottom: 15px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .page-hero p {
        font-size: 1.2em;
        opacity: 0.95;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 40px 20px;
    }
    
    .syllabus-tabs {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
        overflow-x: auto;
        padding: 10px 0;
        border-bottom: 3px solid #f0f0f0;
    }
    
    .syllabus-tab {
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 10px 10px 0 0;
        padding: 15px 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        color: #333;
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        flex-shrink: 0;
        position: relative;
        bottom: -3px;
    }
    
    .syllabus-tab:hover {
        background: #f8f9fa;
        border-color: #667eea;
        transform: translateY(-3px);
    }
    
    .syllabus-tab.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: #667eea;
        box-shadow: 0 -4px 15px rgba(102, 126, 234, 0.3);
        bottom: -3px;
    }
    
    .tab-icon {
        font-size: 1.5em;
    }
    
    .tab-content {
        display: none;
    }
    
    .tab-content.active {
        display: block;
        animation: fadeIn 0.3s ease-in;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .syllabus-info {
        background: white;
        border-radius: 10px;
        padding: 25px;
        margin-bottom: 25px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .syllabus-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .syllabus-title {
        display: flex;
        align-items: center;
        gap: 15px;
        flex: 1;
    }
    
    .syllabus-icon-large {
        font-size: 3em;
    }
    
    .syllabus-title h2 {
        font-size: 2em;
        color: #2c3e50;
        margin: 0;
    }
    
    .syllabus-description {
        color: #666;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .action-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .btn-download {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 25px;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }
    
    .btn-download:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }
    
    .btn-print {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: white;
        color: #667eea;
        padding: 12px 25px;
        border: 2px solid #667eea;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .btn-print:hover {
        background: #667eea;
        color: white;
    }
    
    .btn-fullscreen {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #f8f9fa;
        color: #333;
        padding: 12px 25px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .btn-fullscreen:hover {
        background: #e0e0e0;
        border-color: #ccc;
    }
    
    .pdf-viewer-container {
        background: white;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 30px;
    }
    
    .pdf-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .pdf-navigation {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .pdf-nav-btn {
        background: #667eea;
        color: white;
        border: none;
        padding: 8px 15px;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .pdf-nav-btn:hover:not(:disabled) {
        background: #764ba2;
        transform: scale(1.05);
    }
    
    .pdf-nav-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }
    
    .pdf-page-info {
        font-weight: 600;
        color: #333;
    }
    
    .pdf-zoom-controls {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .zoom-btn {
        background: white;
        border: 2px solid #667eea;
        color: #667eea;
        padding: 6px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .zoom-btn:hover {
        background: #667eea;
        color: white;
    }
    
    .zoom-level {
        font-weight: 600;
        color: #333;
        min-width: 60px;
        text-align: center;
    }
    
    #pdf-canvas {
        max-width: 100%;
        height: auto;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        display: block;
        margin: 0 auto;
    }
    
    .loading-container {
        text-align: center;
        padding: 60px 20px;
    }
    
    .loading-spinner {
        border: 4px solid #f3f3f3;
        border-top: 4px solid #667eea;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
        margin: 0 auto 20px;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    .error-message {
        background: #fff3cd;
        border: 2px solid #ffc107;
        border-radius: 10px;
        padding: 20px;
        margin: 20px 0;
        text-align: center;
    }
    
    .error-message h3 {
        color: #856404;
        margin-bottom: 10px;
    }
    
    .error-message p {
        color: #856404;
        margin: 5px 0;
    }
    
    .quick-links {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .quick-link-card {
        background: white;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        text-decoration: none;
        color: #333;
    }
    
    .quick-link-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    
    .quick-link-icon {
        font-size: 3em;
        margin-bottom: 15px;
    }
    
    .quick-link-title {
        font-size: 1.2em;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    @media (max-width: 768px) {
        .page-hero h1 {
            font-size: 2em;
        }
        
        .syllabus-tabs {
            flex-direction: column;
        }
        
        .syllabus-tab {
            width: 100%;
        }
        
        .syllabus-header {
            flex-direction: column;
            align-items: flex-start;
        }
        
        .action-buttons {
            width: 100%;
        }
        
        .btn-download, .btn-print, .btn-fullscreen {
            width: 100%;
            justify-content: center;
        }
        
        .pdf-controls {
            flex-direction: column;
            align-items: stretch;
        }
        
        .pdf-navigation, .pdf-zoom-controls {
            justify-content: center;
        }
    }
