/* Custom CSS Styles for ISTU Schedule */
:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --bg-gradient-start: #0f172a;
  --bg-gradient-end: #1e1b4b;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.glass-input {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lesson type indicator borders & badges */
.lesson-badge-lecture {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.lesson-badge-practice {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.lesson-badge-lab {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.lesson-badge-curator {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.lesson-badge-other {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

/* Pulse animation for active lesson */
@keyframes active-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
}

.active-lesson-card {
  border-color: rgba(34, 197, 94, 0.6) !important;
  background: rgba(34, 197, 94, 0.05) !important;
  animation: active-pulse 2.5s infinite;
}

/* Today (Green) and Tomorrow (Orange) day cards */
.day-card-today {
  border-color: rgba(16, 185, 129, 0.8) !important;
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.3) 0%, rgba(30, 41, 59, 0.8) 100%) !important;
  box-shadow: 0 0 25px -5px rgba(16, 185, 129, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
  outline: 2px solid rgba(16, 185, 129, 0.6);
  outline-offset: -1px;
}

.day-card-tomorrow {
  border-color: rgba(245, 158, 11, 0.8) !important;
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.3) 0%, rgba(30, 41, 59, 0.8) 100%) !important;
  box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
  outline: 2px solid rgba(245, 158, 11, 0.6);
  outline-offset: -1px;
}

/* Lunch break card styling (11:40 - 12:20) */
.lunch-break-card {
  border-color: rgba(245, 158, 11, 0.7) !important;
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.35) 0%, rgba(30, 41, 59, 0.85) 100%) !important;
  box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

/* Break between classes card styling */
.break-card {
  border-color: rgba(59, 130, 246, 0.7) !important;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.35) 0%, rgba(30, 41, 59, 0.85) 100%) !important;
  box-shadow: 0 0 25px -5px rgba(59, 130, 246, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important;
}

/* Shimmer loading animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

/* Print styles */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .no-print {
    display: none !important;
  }
  .glass-panel, .glass-card {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #000 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }
  .text-white, .text-slate-100, .text-slate-200, .text-slate-300 {
    color: #000 !important;
  }
  .text-slate-400, .text-slate-500 {
    color: #444 !important;
  }
}

/* Joint Lesson Groups Styles */
.joint-groups-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  transition: all 0.2s ease;
}

.joint-groups-badge:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
}

.joint-chevron-rotated {
  transform: rotate(180deg);
}

