/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.5);
}

/* Tab active state styles */
.nav-tab {
  background-color: rgba(26, 34, 52, 0.8);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-tab:hover {
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.05);
}
.nav-tab.active {
  background-color: #10b981;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Day tab buttons */
.day-btn {
  background: transparent;
  color: #94a3b8;
}
.day-btn.active {
  background: #10b981;
  color: #ffffff;
}

/* Animations & transitions */
.animate-in {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile Nav Active */
.mobile-nav-btn.active {
  color: #10b981;
}

/* Safe area padding helper */
.pt-safe {
  padding-top: max(12px, env(safe-area-inset-top));
}
.pb-safe {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* Prevent layout shift */
body {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}