/* ===================== ANIMASI ===================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes textWave {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* ===================== ANIMASI CLASS ===================== */
.animate-fade-in { animation: fadeIn 1s ease-in-out forwards; }
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-scale-in { animation: scaleIn 0.6s ease-out forwards; }
.animate-text-wave { animation: textWave 2s ease-in-out infinite; }

/* ===================== EFEK HOVER ===================== */
.hover-scale {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.03);
}

.hover-underline {
  position: relative;
}
.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}
.hover-underline:hover::after {
  width: 100%;
}

/* ===================== TEXT KHUSUS ===================== */
.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #0ea5e9;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* ===================== STYLE TAMBAHAN ===================== */
.tab-active {
  background-color: #0ea5e9;
  color: white;
}

.schedule-table {
  border-collapse: separate;
  border-spacing: 0;
}
.schedule-table th {
  position: sticky;
  top: 0;
  background-color: #0ea5e9;
  color: white;
}
.schedule-table tr:nth-child(even) {
  background-color: #f8fafc;
}
.schedule-table tr:hover {
  background-color: #f0f9ff;
}

.category-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

/* ===================== GLASSMORPHISM & NEUMORPH ===================== */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.neumorph {
  box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
}

.neumorph-inset {
  box-shadow: inset 2px 2px 5px #d1d9e6, inset -2px -2px 5px #ffffff;
}


  #typewriter {
    font-size: 18px;
    font-weight: 600;
    margin-top: 2px;
  }