/* Modern Schedule Design with Site Color Theme */

.schedule-scope { 
  --sch-primary: #6a67e4;
  --sch-primary-dark: #5a57d4;
  --sch-secondary: #999dfd;
  --sch-accent: #8e8bf5;
  --sch-success: #10b981;
  --sch-warning: #f59e0b;
  --sch-danger: #ef4444;
  
  --sch-bg: #ffffff;
  --sch-surface: rgba(248, 250, 252, 0.8);
  --sch-surface-hover: rgba(241, 245, 249, 0.9);
  --sch-border: rgba(226, 232, 240, 0.6);
  --sch-border-hover: rgba(203, 213, 225, 0.8);
  
  --sch-text: #1e293b;
  --sch-text-muted: #64748b;
  --sch-text-light: #94a3b8;
  
  --sch-shadow-sm: 0 1px 2px 0 rgba(106, 103, 228, 0.05);
  --sch-shadow: 0 4px 6px -1px rgba(106, 103, 228, 0.1), 0 2px 4px -1px rgba(106, 103, 228, 0.06);
  --sch-shadow-lg: 0 10px 15px -3px rgba(106, 103, 228, 0.1), 0 4px 6px -2px rgba(106, 103, 228, 0.05);
  --sch-shadow-xl: 0 20px 25px -5px rgba(106, 103, 228, 0.1), 0 10px 10px -5px rgba(106, 103, 228, 0.04);
  
  --sch-glass: rgba(255, 255, 255, 0.25);
  --sch-glass-border: rgba(255, 255, 255, 0.18);
  --sch-backdrop: blur(10px);
}

/* Container with modern spacing */
.schedule-scope .schedule__content {
  margin: 3rem 0 4rem;
  position: relative;
}

/* Modern Filters with Site Glassmorphism */
.schedule-scope .schedule__filters {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.8));
  backdrop-filter: var(--sch-backdrop);
  border: 1px solid var(--sch-glass-border);
  border-radius: 25px;
  box-shadow: var(--sch-shadow);
}

.schedule-scope .schedule__filter {
  background: var(--sch-surface);
  border: 1px solid var(--sch-border);
  color: var(--sch-text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--sch-backdrop);
}

.schedule-scope .schedule__filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(106, 103, 228, 0.2), transparent);
  transition: left 0.5s;
}

.schedule-scope .schedule__filter:hover::before {
  left: 100%;
}

.schedule-scope .schedule__filter:hover {
  background: var(--sch-surface-hover);
  border-color: var(--sch-border-hover);
  color: var(--sch-primary);
  transform: translateY(-2px);
  box-shadow: var(--sch-shadow-lg);
}

.schedule-scope .schedule__filter.active {
  background: linear-gradient(135deg, var(--sch-primary), var(--sch-secondary));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sch-shadow-xl);
  transform: translateY(-2px);
}

/* Modern Table with Site Glassmorphism */
.schedule-scope .schedule-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.8));
  backdrop-filter: var(--sch-backdrop);
  border: 1px solid var(--sch-glass-border);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--sch-shadow-xl);
  position: relative;
}

.schedule-scope .schedule-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(106, 103, 228, 0.05), rgba(153, 157, 253, 0.03));
  pointer-events: none;
  border-radius: 25px;
}

.schedule-scope .schedule-table thead {
  background: linear-gradient(135deg, var(--sch-surface), rgba(248, 250, 252, 0.6));
  backdrop-filter: var(--sch-backdrop);
}

.schedule-scope .schedule-table th {
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--sch-primary);
  font-size: 15px;
  border-bottom: 1px solid var(--sch-border);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-scope .schedule-table th:first-child {
  border-top-left-radius: 25px;
}

.schedule-scope .schedule-table th:last-child {
  border-top-right-radius: 25px;
}

.schedule-scope .schedule-table td {
  padding: 1.25rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--sch-border);
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sch-text);
  transition: all 0.2s ease;
  position: relative;
}

.schedule-scope .schedule-table tbody tr {
  transition: all 0.2s ease;
}

.schedule-scope .schedule-table tbody tr:nth-child(odd) td { 
  background: rgba(248, 250, 252, 0.3);
}

.schedule-scope .schedule-table tbody tr:hover td { 
  background: var(--sch-surface-hover);
  transform: scale(1.01);
}

.schedule-scope .schedule-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 25px;
}

.schedule-scope .schedule-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 25px;
}

/* Site Event Cells with Purple-Blue Gradients */
.schedule-scope .schedule__cell {
  background: linear-gradient(135deg, var(--sch-primary), var(--sch-secondary));
  color: #fff;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  box-shadow: 0 8px 25px rgba(106, 103, 228, 0.3);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-scope .schedule__cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.schedule-scope .schedule__cell:hover::before {
  opacity: 1;
}

.schedule-scope .schedule__cell:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--sch-shadow-xl);
}

/* Time column styling */
.schedule-scope .schedule-table td:first-child {
  font-weight: 600;
  color: var(--sch-primary);
  background: rgba(106, 103, 228, 0.05);
  border-right: 1px solid var(--sch-border);
}

/* Empty cells styling */
.schedule-scope .schedule-table td:empty {
  background: rgba(248, 250, 252, 0.2);
  position: relative;
}

.schedule-scope .schedule-table td:empty::after {
  content: '—';
  color: var(--sch-text-light);
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .schedule-scope .schedule__filters { 
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 20px;
  }
  
  .schedule-scope .schedule__filter { 
    padding: 0.6rem 1.2rem; 
    font-size: 14px;
    border-radius: 15px;
  }
  
  .schedule-scope .schedule-table {
    border-radius: 20px;
  }
  
  .schedule-scope .schedule-table th,
  .schedule-scope .schedule-table td { 
    padding: 0.8rem 0.6rem; 
    font-size: 13px; 
  }
  
  .schedule-scope .schedule__cell {
    padding: 0.6rem 0.4rem;
    border-radius: 15px;
  }
}

@media (max-width: 576px) {
  .schedule-scope .schedule__content { 
    margin: 2rem 0 3rem; 
  }
  
  .schedule-scope .schedule-table { 
    display: block; 
    overflow-x: auto; 
    white-space: nowrap;
    border-radius: 15px;
  }
  
  .schedule-scope .schedule-table th,
  .schedule-scope .schedule-table td { 
    min-width: 120px; 
    padding: 0.7rem 0.5rem;
  }
  
  .schedule-scope .schedule-table td:first-child { 
    min-width: 80px; 
  }
  
  .schedule-scope .schedule__filters {
    flex-direction: column;
    align-items: center;
  }
}



