.card{border-radius:12px;overflow:hidden}.button-group{margin-bottom:10px;margin-top:10px}.fc{font-size:.8rem}.actions{display:table-cell;margin:0;padding:0!important;text-align:center}td{vertical-align:middle}.fc-event{border-radius:4px;padding:4px}.tooltip{font-size:.8rem}.fc-toolbar.fc-header-toolbar{flex-direction:column}.popover-body p{overflow-wrap:anywhere;white-space:pre-line}.fc-toolbar-chunk{display:table-row;padding:5px 0;text-align:center}.card button{font-size:.8rem!important}@media (min-width:768px){.card-title{font-size:1rem}.card button{font-size:1rem!important}.scheduling-card .btn,.scheduling-card .button{font-size:1.2rem;padding:14px 24px}.fc{font-size:1rem}.fc-event{border-radius:6px;padding:8px}}.schedule-selector-card{border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.05)}body.dark-mode .schedule-selector-card{background-color:#1e293b!important;border:1px solid #334155!important;box-shadow:0 2px 4px rgba(0,0,0,.3)!important}.schedule-tabs-container{display:flex;flex-wrap:wrap;gap:12px}.schedule-tab{background-color:#fff;border:2px solid #dee2e6;border-radius:8px;cursor:pointer;flex:1 1;max-width:300px;min-width:200px;padding:12px 16px;position:relative;transition:all .2s ease}body.dark-mode .schedule-tab{background-color:#0f172a!important;border:2px solid #334155!important;color:#e2e8f0!important}.schedule-tab:hover:not(.disabled){border-color:#0d6efd;box-shadow:0 2px 8px rgba(13,110,253,.15);-webkit-transform:translateY(-1px);transform:translateY(-1px)}body.dark-mode .schedule-tab:hover:not(.disabled){border-color:#0d6efd!important;box-shadow:0 2px 8px rgba(13,110,253,.3)!important}.schedule-tab.active{background-color:#e7f1ff;border-color:#0d6efd;box-shadow:0 2px 8px rgba(13,110,253,.2)}body.dark-mode .schedule-tab.active{background-color:#1e3a5f!important;border-color:#0d6efd!important;box-shadow:0 2px 8px rgba(13,110,253,.4)!important}.schedule-tab.disabled{cursor:not-allowed;opacity:.6}.schedule-tab-content{justify-content:space-between}.schedule-info,.schedule-tab-content{align-items:center;display:flex;gap:8px}.schedule-info{flex:1 1;min-width:0}.schedule-name{font-size:14px;font-weight:500;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.dark-mode .schedule-name{color:#e2e8f0!important}.course-count{font-size:11px;padding:2px 6px;white-space:nowrap}.schedule-actions{align-items:center;display:flex;gap:4px}.action-btn{font-size:16px;line-height:1;opacity:.7;padding:2px 6px;text-decoration:none;transition:opacity .2s ease}body.dark-mode .action-btn{color:#94a3b8!important}.action-btn:hover:not(:disabled){opacity:1;text-decoration:none}.action-btn:disabled{cursor:not-allowed;opacity:.3}.active-indicator{background-color:#0d6efd;border-radius:4px;box-shadow:0 2px 4px rgba(13,110,253,.3);color:#fff;font-size:10px;font-weight:600;padding:2px 8px;position:absolute;right:12px;top:-8px}@media (max-width:768px){.schedule-tabs-container{flex-direction:column}.schedule-tab{max-width:100%;min-width:100%}.schedule-name{max-width:120px}}[dir=rtl] .schedule-actions,[dir=rtl] .schedule-tab-content{flex-direction:row-reverse}[dir=rtl] .active-indicator{left:12px;right:auto}.schedule-comparison-modal .modal-dialog{margin:0;max-width:100vw}.schedule-comparison-modal .modal-content{background:linear-gradient(180deg,#f8fafc,#f1f5f9);border:none;border-radius:0;min-height:100vh}.schedule-comparison-modal.dark .modal-content{background:linear-gradient(180deg,#0f172a,#1e293b)}.comparison-modal-header{background:linear-gradient(135deg,#667eea,#764ba2);border:none!important;padding:0!important}.modal-header-content{align-items:center;display:flex;justify-content:space-between;padding:20px 32px;width:100%}.modal-title-section{align-items:center;display:flex;gap:16px}.modal-icon{align-items:center;background:hsla(0,0%,100%,.2);border-radius:12px;color:#fff;display:flex;height:48px;justify-content:center;width:48px}.comparison-modal-header .modal-title{color:#fff;font-size:1.5rem;font-weight:700;margin-bottom:4px}.modal-subtitle{color:hsla(0,0%,100%,.85);font-size:.9rem;margin:0}.close-btn{align-items:center;background:hsla(0,0%,100%,.15);border:none;border-radius:10px;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;transition:all .2s ease;width:40px}.close-btn:hover{background:hsla(0,0%,100%,.25);-webkit-transform:scale(1.05);transform:scale(1.05)}.comparison-modal-body{overflow-y:auto;padding:24px 32px 32px}.comparison-container{margin:0 auto;max-width:1800px}.schedule-selection-container{background:#fff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,.06);margin-bottom:24px;padding:20px 24px}.schedule-comparison-modal.dark .schedule-selection-container{background:#1e293b;box-shadow:0 4px 20px rgba(0,0,0,.2)}.selection-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.selection-title{align-items:center;color:#1e293b;display:flex;font-size:1rem;font-weight:600;gap:10px}.schedule-comparison-modal.dark .selection-title{color:#e2e8f0}.selection-title svg{color:#667eea}.selection-badge{background:#e2e8f0!important;border-radius:20px;color:#475569!important;font-weight:600;padding:6px 12px}.schedule-comparison-modal.dark .selection-badge{background:#334155!important;color:#94a3b8!important}.schedule-chips{display:flex;flex-wrap:wrap;gap:12px}.schedule-chip{align-items:center;background:#fff;border:2px solid #e2e8f0;border-radius:14px;cursor:pointer;display:flex;gap:12px;min-width:180px;overflow:hidden;padding:12px 20px;position:relative;transition:all .25s cubic-bezier(.4,0,.2,1)}.schedule-comparison-modal.dark .schedule-chip{background:#0f172a;border-color:#334155}.schedule-chip:hover{box-shadow:0 8px 25px rgba(102,126,234,.15);-webkit-transform:translateY(-2px);transform:translateY(-2px)}.schedule-chip.selected,.schedule-chip:hover{border-color:#667eea;border-color:var(--chip-primary,#667eea)}.schedule-chip.selected{background:var(--chip-gradient);color:#fff}.schedule-chip.selected .chip-meta{color:hsla(0,0%,100%,.85)}.chip-indicator{align-items:center;background:#f1f5f9;border-radius:8px;color:#64748b;display:flex;flex-shrink:0;font-size:.85rem;font-weight:700;height:28px;justify-content:center;width:28px}.schedule-chip.selected .chip-indicator{background:hsla(0,0%,100%,.25);color:#fff}.chip-content{display:flex;flex:1 1;flex-direction:column;gap:2px;min-width:0}.chip-name{font-size:.95rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip-meta{align-items:center;color:#64748b;display:flex;font-size:.8rem;gap:6px}.active-crown{color:#f59e0b}.schedule-chip.selected .active-crown{color:#fbbf24}.chip-selected-indicator{background:#fff;height:100%;left:0;opacity:.5;position:absolute;top:0;width:4px}.comparison-controls{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:24px}.view-mode-container{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04);display:flex;flex:1 1;gap:8px;justify-content:center;padding:16px}.schedule-comparison-modal.dark .view-mode-container{background:#1e293b}.view-mode-btn{align-items:center;background:transparent;border:2px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;display:flex;font-size:.9rem;font-weight:600;gap:8px;padding:12px 24px;transition:all .2s ease}.schedule-comparison-modal.dark .view-mode-btn{border-color:#334155;color:#94a3b8}.view-mode-btn:hover:not(:disabled){border-color:#667eea;color:#667eea}.view-mode-btn:disabled{cursor:not-allowed;opacity:.5}.view-mode-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:transparent;box-shadow:0 4px 15px rgba(102,126,234,.35);color:#fff}.semester-selector{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(0,0,0,.04);display:flex;gap:8px;padding:12px}.schedule-comparison-modal.dark .semester-selector{background:#1e293b}.semester-btn{align-items:center;background:transparent;border:2px solid #e2e8f0;border-radius:10px;color:#64748b;cursor:pointer;display:flex;font-size:.85rem;font-weight:600;gap:6px;padding:10px 18px;transition:all .2s ease;white-space:nowrap}.schedule-comparison-modal.dark .semester-btn{border-color:#334155;color:#94a3b8}.semester-btn:hover{border-color:#4facfe;color:#4facfe}.semester-btn.active{background:linear-gradient(135deg,#4facfe,#00f2fe);border-color:transparent;box-shadow:0 4px 15px rgba(79,172,254,.35);color:#fff}.semester-btn svg{flex-shrink:0}.cards-grid{grid-gap:24px;display:grid;gap:24px}.cards-grid.grid-1{grid-template-columns:minmax(0,700px);justify-content:center}.cards-grid.grid-2{grid-template-columns:repeat(2,1fr)}.cards-grid.grid-3{grid-template-columns:repeat(3,1fr)}@media (max-width:1400px){.cards-grid.grid-3{grid-template-columns:repeat(2,1fr)}}@media (max-width:1000px){.cards-grid.grid-2,.cards-grid.grid-3{grid-template-columns:1fr}}.comparison-card{-webkit-animation:cardSlideIn .4s ease backwards;animation:cardSlideIn .4s ease backwards;background:#fff;border-radius:20px;box-shadow:0 4px 25px rgba(0,0,0,.07);overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1)}.comparison-card:first-child{-webkit-animation-delay:0s;animation-delay:0s}.comparison-card:nth-child(2){-webkit-animation-delay:.1s;animation-delay:.1s}.comparison-card:nth-child(3){-webkit-animation-delay:.2s;animation-delay:.2s}@-webkit-keyframes cardSlideIn{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes cardSlideIn{0%{opacity:0;-webkit-transform:translateY(20px);transform:translateY(20px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}.comparison-card:hover{box-shadow:0 12px 40px rgba(0,0,0,.12);-webkit-transform:translateY(-4px);transform:translateY(-4px)}.schedule-comparison-modal.dark .comparison-card{background:#1e293b;box-shadow:0 4px 25px rgba(0,0,0,.25)}.comparison-card .card-header{background:linear-gradient(135deg,#667eea,#764ba2);background:var(
    --card-gradient,linear-gradient(135deg,#667eea 0,#764ba2 100%)
  );padding:20px 24px}.header-content{justify-content:space-between}.header-content,.header-title{align-items:center;display:flex}.header-title{color:#fff;gap:12px}.header-title h3{font-size:1.15rem;font-weight:700;margin:0}.header-badges{display:flex;gap:8px}.active-badge{background:hsla(0,0%,100%,.25)!important;color:#fff!important}.active-badge,.conflict-badge{align-items:center;border-radius:6px;display:flex;font-size:.75rem;gap:4px;padding:5px 10px}.quick-stats{grid-gap:12px;background:#f8fafc;display:grid;gap:12px;grid-template-columns:repeat(4,1fr);padding:20px}.schedule-comparison-modal.dark .quick-stats{background:#0f172a}.stat-item{align-items:center;background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.04);display:flex;gap:10px;padding:14px}.schedule-comparison-modal.dark .stat-item{background:#1e293b}.stat-icon{align-items:center;background:linear-gradient(135deg,rgba(102,126,234,.1),rgba(118,75,162,.1));border-radius:10px;color:#667eea;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.stat-content{display:flex;flex-direction:column}.stat-value{color:#1e293b;font-size:1.25rem;font-weight:700;line-height:1.2}.schedule-comparison-modal.dark .stat-value{color:#f1f5f9}.stat-label{color:#64748b;font-size:.75rem;font-weight:500}.time-range{align-items:center;background:#f1f5f9;color:#475569;display:flex;font-size:.85rem;font-weight:500;gap:10px;justify-content:center;padding:12px 20px}.schedule-comparison-modal.dark .time-range{background:#0f172a;color:#94a3b8}.time-range svg{color:#667eea}.time-separator{color:#cbd5e1}.days-display{background:#fff;border-bottom:1px solid #f1f5f9;display:flex;gap:8px;justify-content:center;padding:16px 20px}.schedule-comparison-modal.dark .days-display{background:#1e293b;border-color:#334155}.day-badge{align-items:center;background:#f1f5f9;border-radius:10px;color:#94a3b8;display:flex;font-size:.85rem;font-weight:600;height:38px;justify-content:center;transition:all .2s ease;width:38px}.schedule-comparison-modal.dark .day-badge{background:#0f172a;color:#64748b}.day-badge.active{background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 4px 12px rgba(102,126,234,.3);color:#fff}.mini-calendar{background:#f8fafc;border-top:1px solid #e2e8f0;padding:16px}.schedule-comparison-modal.dark .mini-calendar{background:#0f172a;border-color:#334155}.metrics-comparison{-webkit-animation:cardSlideIn .4s ease;animation:cardSlideIn .4s ease;background:#fff;border-radius:20px;box-shadow:0 4px 25px rgba(0,0,0,.07);overflow:hidden}.schedule-comparison-modal.dark .metrics-comparison{background:#1e293b}.metrics-header-row{grid-gap:1px;background:#e2e8f0;display:grid;gap:1px;grid-template-columns:200px repeat(auto-fit,minmax(150px,1fr))}.schedule-comparison-modal.dark .metrics-header-row{background:#334155}.metric-label-cell{align-items:center;background:#f8fafc;color:#475569;display:flex;font-weight:600;gap:12px;padding:18px 24px}.schedule-comparison-modal.dark .metric-label-cell{background:#0f172a;color:#94a3b8}.metric-label-cell svg{color:#667eea}.metric-schedule-header{align-items:center;color:#fff;display:flex;font-size:.95rem;font-weight:600;gap:8px;justify-content:center;padding:18px 16px}.metrics-row{grid-gap:1px;background:#e2e8f0;display:grid;gap:1px;grid-template-columns:200px repeat(auto-fit,minmax(150px,1fr))}.schedule-comparison-modal.dark .metrics-row{background:#334155}.metrics-row .metric-label-cell{background:#fff}.schedule-comparison-modal.dark .metrics-row .metric-label-cell{background:#1e293b}.metric-value-cell{align-items:center;background:#fff;display:flex;gap:8px;justify-content:center;padding:18px 16px;transition:all .3s ease}.schedule-comparison-modal.dark .metric-value-cell{background:#1e293b}.metric-value-cell .metric-value{color:#1e293b;font-size:1.1rem;font-weight:700}.schedule-comparison-modal.dark .metric-value-cell .metric-value{color:#f1f5f9}.metric-value-cell.winner{background:linear-gradient(135deg,rgba(67,233,123,.15),rgba(56,249,215,.15))}.metric-value-cell.winner .metric-value{color:#059669}.schedule-comparison-modal.dark .metric-value-cell.winner{background:linear-gradient(135deg,rgba(67,233,123,.2),rgba(56,249,215,.2))}.schedule-comparison-modal.dark .metric-value-cell.winner .metric-value{color:#34d399}.winner-icon{-webkit-animation:pulse 2s infinite;animation:pulse 2s infinite;color:#f59e0b}@-webkit-keyframes pulse{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.15);transform:scale(1.15)}}@keyframes pulse{0%,to{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.15);transform:scale(1.15)}}.visual-comparison{border-top:1px solid #e2e8f0;padding:24px}.schedule-comparison-modal.dark .visual-comparison{border-color:#334155}.visual-comparison h4{color:#1e293b;font-size:1rem;font-weight:600;margin-bottom:20px}.schedule-comparison-modal.dark .visual-comparison h4{color:#f1f5f9}.comparison-bar-group{margin-bottom:24px}.comparison-bar-group:last-child{margin-bottom:0}.bar-label{color:#64748b;font-size:.85rem;font-weight:600;margin-bottom:12px}.comparison-bar-row{align-items:center;display:flex;gap:16px;margin-bottom:10px}.bar-schedule-name{color:#475569;font-size:.85rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:120px}.schedule-comparison-modal.dark .bar-schedule-name{color:#94a3b8}.bar-container{background:#f1f5f9;border-radius:8px;flex:1 1;height:32px;overflow:hidden;position:relative}.schedule-comparison-modal.dark .bar-container{background:#0f172a}.bar-fill{border-radius:8px;height:100%;transition:width .6s cubic-bezier(.4,0,.2,1)}.bar-value{color:#1e293b;font-size:.85rem;font-weight:700;position:absolute;right:12px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.schedule-comparison-modal.dark .bar-value{color:#f1f5f9}.overlay-view{-webkit-animation:cardSlideIn .4s ease;animation:cardSlideIn .4s ease;background:#fff;border-radius:20px;box-shadow:0 4px 25px rgba(0,0,0,.07);overflow:hidden}.schedule-comparison-modal.dark .overlay-view{background:#1e293b}.overlay-legend{background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;gap:32px;justify-content:center;padding:20px}.schedule-comparison-modal.dark .overlay-legend{background:#0f172a;border-color:#334155}.legend-item{align-items:center;color:#475569;display:flex;font-size:.9rem;font-weight:600;gap:10px}.schedule-comparison-modal.dark .legend-item{color:#e2e8f0}.legend-color{border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.15);height:24px;width:24px}.legend-crown{color:#f59e0b}.overlay-calendar{padding:20px}.schedule-comparison .fc-event.schedule-color-0{background:linear-gradient(135deg,#667eea,#764ba2)!important;border:none!important}.schedule-comparison .fc-event.schedule-color-1{background:linear-gradient(135deg,#f093fb,#f5576c)!important;border:none!important}.schedule-comparison .fc-event.schedule-color-2{background:linear-gradient(135deg,#4facfe,#00f2fe)!important;border:none!important}.overlay-event-content{font-size:.75rem;padding:2px 6px}.overlay-event-content span{display:block;font-weight:600}.overlay-event-content small{font-size:.65rem;opacity:.85}.empty-state,.loading-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:80px 40px;text-align:center}.loading-spinner{margin-bottom:16px}.empty-state p,.loading-state p{color:#64748b;margin:0}.empty-icon{align-items:center;background:linear-gradient(135deg,rgba(102,126,234,.1),rgba(118,75,162,.1));border-radius:20px;color:#667eea;display:flex;height:80px;justify-content:center;margin-bottom:20px;width:80px}.empty-state h4{color:#1e293b;font-weight:600;margin-bottom:8px}.schedule-comparison-modal.dark .empty-state h4{color:#f1f5f9}@media (max-width:768px){.comparison-modal-body{padding:16px}.modal-header-content{padding:16px 20px}.modal-icon{height:40px;width:40px}.comparison-modal-header .modal-title{font-size:1.2rem}.schedule-chips{flex-direction:column}.schedule-chip{min-width:auto}.view-mode-container{flex-wrap:wrap}.view-mode-btn{flex:1 1;font-size:.85rem;justify-content:center;min-width:100px;padding:10px 16px}.quick-stats{grid-template-columns:repeat(2,1fr)}.metrics-header-row,.metrics-row{grid-template-columns:140px repeat(auto-fit,minmax(100px,1fr))}.metric-label-cell{font-size:.85rem;padding:14px 16px}.metric-schedule-header{font-size:.85rem;padding:14px 12px}.metric-value-cell{padding:14px 12px}.metric-value-cell .metric-value{font-size:1rem}.bar-schedule-name{font-size:.75rem;width:80px}.overlay-legend{flex-wrap:wrap;gap:16px}}