/* Programme Page Styles */

.programme-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-block: 2rem;
    padding-bottom: 5rem;
}

.programme-wrapper .container {
    max-width: 1200px;
}

/* Header */
.programme-header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(21, 61, 106, 0.9) 0%, rgba(20, 171, 213, 0.8) 100%);
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.programme-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.programme-header h1 i {
    margin-right: 0.75rem;
    color: #e2a9f1;
}

.programme-header .subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: #fff;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-badge i {
    color: #e2a9f1;
}

/* Day Sections */
.day-section {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    color: #fff;
}

.day-header.day-1 {
    background: linear-gradient(135deg, #073763 0%, #14abd5 100%);
}

.day-header.day-2 {
    background: linear-gradient(135deg, #800080 0%, #e2a9f1 100%);
}

.day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    min-width: 120px;
}

.day-date .day-name {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.day-date .day-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.day-date .day-month {
    font-size: 0.85rem;
    opacity: 0.9;
}

.day-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Schedule Container */
.schedule-container {
    padding: 1.5rem;
}

/* Session Groups */
.session-group {
    margin-bottom: 1.5rem;
}

.session-group-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(90deg, rgba(20, 171, 213, 0.3) 0%, transparent 100%);
    border-left: 4px solid #14abd5;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.session-group-header i {
    color: #14abd5;
}

/* Schedule Items */
.schedule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

/* Item Types */
.schedule-item.lecture {
    border-left-color: #14abd5;
}

.schedule-item.seminar {
    border-left-color: #17a589;
}

.schedule-item.symposium {
    border-left-color: #f39c12;
}

.schedule-item.break {
    border-left-color: #95a5a6;
    background: rgba(149, 165, 166, 0.1);
}

.schedule-item.break.lunch {
    border-left-color: #e67e22;
    background: rgba(230, 126, 34, 0.1);
}

.schedule-item.opening,
.schedule-item.closing {
    border-left-color: #e2a9f1;
    background: linear-gradient(90deg, rgba(226, 169, 241, 0.15) 0%, transparent 100%);
}

/* Time Slot */
.time-slot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
}

.time-slot i {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Session Content */
.session-content {
    flex: 1;
}

.session-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.session-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.speaker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #14abd5;
    font-weight: 500;
}

.speaker i {
    font-size: 0.85rem;
    color: #e2a9f1;
}

.speaker.speaker-international {
    color: #14abd5;
    font-weight: 500;
}

.speaker.speaker-international i {
    color: #e2a9f1;
}

.sponsor-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.case-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-number {
    font-weight: 700;
    color: #17a589;
    font-size: 0.9rem;
}

.case-author {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.case-author small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Legend Section */
.legend-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
}

.legend-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.legend-section h3 i {
    color: #14abd5;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.lecture {
    background: #14abd5;
}

.legend-color.seminar {
    background: #17a589;
}

.legend-color.symposium {
    background: #f39c12;
}

.legend-color.break {
    background: #95a5a6;
}

.legend-color.opening {
    background: #e2a9f1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #14abd5 0%, #073763 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(20, 171, 213, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(20, 171, 213, 0.6);
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 991px) {
    .programme-header h1 {
        font-size: 2rem;
    }

    .day-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .day-title {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 767px) {
    .programme-header {
        padding: 1.5rem;
    }

    .programme-header h1 {
        font-size: 1.5rem;
    }

    .programme-header .subtitle {
        font-size: 1rem;
    }

    .location-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .time-slot {
        min-width: auto;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .legend-items {
        gap: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 575px) {
    .schedule-container {
        padding: 1rem;
    }

    .session-speakers {
        flex-direction: column;
        gap: 0.5rem;
    }
}