/* Schedule Specific Styles for SMOPS-2026 */

.schedule-container {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: #e2e8f0;
}

.schedule-table th {
    background: rgba(30, 41, 59, 0.8);
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
    color: #cbd5e1;
}

.schedule-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    transition: background 0.3s ease;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Day/Time Column specific styling */
.schedule-time {
    font-weight: 600;
    color: #8b5cf6;
    white-space: nowrap;
    width: 150px;
}

.schedule-event {
    font-weight: 700;
    color: #f8fafc;
}

.schedule-topic {
    color: #94a3b8;
    line-height: 1.6;
}

.schedule-speaker {
    color: #3b82f6;
    font-weight: 500;
}

/* Premium Schedule Styles */
#schedule-modal .glassmorphic-bg {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-header-gradient {
    background: linear-gradient(90deg, #60a5fa, #c084fc, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Timeline Card Style */
.schedule-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.schedule-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.schedule-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--card-accent, #3b82f6);
    opacity: 0.8;
}

/* Accent Colors */
.card-blue {
    --card-accent: #3b82f6;
}

.card-purple {
    --card-accent: #8b5cf6;
}

.card-pink {
    --card-accent: #ec4899;
}

.card-emerald {
    --card-accent: #10b981;
}

.card-amber {
    --card-accent: #f59e0b;
}

.schedule-time {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--card-accent, #fff);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.schedule-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.schedule-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.meta-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--card-accent);
    opacity: 0.8;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #schedule-modal .modal-container {
        max-width: 95% !important;
        height: 85vh !important;
    }

    .schedule-title {
        font-size: 1rem;
    }
}

/* Section headers within the table (like Lunch, High Tea) */
.schedule-break {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15)) !important;
}

.schedule-break td {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fca5a5;
    padding: 0.75rem !important;
}

/* Responsive Table Adjustments */
@media (max-width: 768px) {
    .schedule-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-time {
        width: auto;
        min-width: 100px;
    }
}

/* Modal Specific Adjustments */
.modal-tabs {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.modal-tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-tab-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #3b82f6);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.modal-tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}