/* ========================================
   GAPM 2026 - Schedule Page Styles
   Professional & Stunning UI/UX Design
======================================== */

/* Schedule Section */
.schedule-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    min-height: 100vh;
}

/* Schedule Controls */
.schedule-controls {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    position: sticky;
    top: 20px;
    z-index: 100;
}

.controls-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Day Tabs */
.day-tabs {
    display: flex;
    gap: 15px;
}

.day-tab {
    background: linear-gradient(135deg, #4965AD 0%, #3a4f8a 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(73, 101, 173, 0.3);
}

.day-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(73, 101, 173, 0.4);
}

.day-tab.active {
    background: linear-gradient(135deg, #5a7bc7 0%, #4965AD 100%);
    box-shadow: 0 6px 25px rgba(73, 101, 173, 0.5);
}

.day-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.day-date {
    font-size: 13px;
    opacity: 0.9;
}



/* Schedule Content */
.schedule-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.schedule-content.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Schedule Header */
.schedule-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.hall-header {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hall-header i {
    font-size: 32px;
}

.pathology-hall {
    background: linear-gradient(135deg, #4965AD 0%, #3a4f8a 100%);
    color: white;
}

.microbiology-hall {
    background: linear-gradient(135deg, #5a7bc7 0%, #4965AD 100%);
    color: white;
}

.hall-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

/* Schedule Row */
.schedule-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    margin-bottom: 20px;
    align-items: start;
}

.schedule-row.dual-hall {
    grid-template-columns: 150px 1fr 1fr;
}

.schedule-row.full-width {
    grid-template-columns: 150px 1fr;
}

/* Time Column */
.time-col {
    position: sticky;
    top: 140px;
}

.time-badge {
    background: linear-gradient(135deg, #4965AD 0%, #3a4f8a 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(73, 101, 173, 0.3);
    white-space: nowrap;
}

/* Session Card */
.session-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #4965AD;
    position: relative;
    overflow: hidden;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(73, 101, 173, 0.05) 0%, rgba(58, 79, 138, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.session-card:hover::before {
    opacity: 1;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.session-card h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.session-card .topic {
    color: #2d3748;
}

/* Speaker Info */
.speaker-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4965AD;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

.speaker-info i {
    font-size: 18px;
}

.courtesy {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #718096;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Session Icon */
.session-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4965AD 0%, #3a4f8a 100%);
    border-radius: 12px;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Special Session Styles */
.special-session .session-card {
    border-left: 5px solid #f5576c;
    background: linear-gradient(135deg, rgba(245, 87, 108, 0.05) 0%, rgba(240, 147, 251, 0.05) 100%);
}

.breakfast {
    border-left-color: #f6ad55 !important;
}

.breakfast .session-icon {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
}

.tea-break {
    border-left-color: #48bb78 !important;
}

.tea-break .session-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.lunch {
    border-left-color: #ed8936 !important;
}

.lunch .session-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
}

.inaugural {
    border-left-color: #9f7aea !important;
}

.inaugural .session-icon {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
}

.gala-dinner {
    border-left-color: #f56565 !important;
}

.gala-dinner .session-icon {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
}

.musical {
    border-left-color: #ed64a6 !important;
}

.musical .session-icon {
    background: linear-gradient(135deg, #ed64a6 0%, #d53f8c 100%);
}

.company-lecture {
    border-left-color: #4299e1 !important;
}

.company-lecture .session-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
}

.presentation {
    border-left-color: #38b2ac !important;
}

.presentation .session-icon {
    background: linear-gradient(135deg, #38b2ac 0%, #319795 100%);
}

/* Responsive Design - Tablet */
@media (max-width: 991px) {
    .schedule-section {
        padding: 60px 0;
    }
    
    .schedule-header {
        gap: 15px;
    }
    
    .hall-header {
        padding: 20px;
    }
    
    .hall-header h3 {
        font-size: 20px;
    }
    
    .hall-header i {
        font-size: 28px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .schedule-section {
        padding: 40px 0;
    }
    
    .schedule-controls {
        top: 10px;
        border-radius: 15px;
    }
    
    .controls-inner {
        padding: 15px;
    }
    
    .day-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .day-tab {
        padding: 12px 20px;
        flex: 1;
    }
    
    .day-number {
        font-size: 16px;
    }
    
    .day-date {
        font-size: 11px;
    }
    
    .schedule-actions {
        width: 100%;
        justify-content: center;
    }
    
    .action-btn {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1;
    }
    
    .schedule-header {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .schedule-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .schedule-row.dual-hall {
        grid-template-columns: 1fr;
    }
    
    .time-col {
        position: static;
    }
    
    .time-badge {
        width: 100%;
        text-align: center;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .session-card {
        padding: 20px;
    }
    
    .session-card h4 {
        font-size: 16px;
    }
    
    .speaker-info {
        font-size: 14px;
    }
    
    .hall-header {
        padding: 20px;
    }
    
    .hall-header h3 {
        font-size: 18px;
    }
    
    .hall-header i {
        font-size: 24px;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .day-tab {
        padding: 10px 15px;
    }
    
    .day-number {
        font-size: 14px;
    }
    
    .day-date {
        font-size: 10px;
    }
    
    .session-card {
        padding: 15px;
    }
    
    .session-card h4 {
        font-size: 15px;
    }
    
    .session-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Print Styles */
@media print {
    .schedule-controls,
    .main-header,
    .page-title,
    .main-footer,
    .scroll-to-top,
    .color-palate,
    .search-popup {
        display: none !important;
    }
    
    .schedule-section {
        padding: 20px 0;
        background: white;
    }
    
    .schedule-content {
        display: block !important;
    }
    
    .session-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        page-break-inside: avoid;
    }
    
    .schedule-row {
        page-break-inside: avoid;
    }
    
    .hall-header {
        box-shadow: none;
        border: 2px solid #667eea;
    }
    
    .time-badge {
        box-shadow: none;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.schedule-loading {
    text-align: center;
    padding: 60px 20px;
}

.schedule-loading i {
    font-size: 48px;
    color: #4965AD;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Schedule Page Title - Uses common page-title styles from page-title-common.css */
