@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

/* Form Input Styling */
.premium-input {
  background: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}
.premium-input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  transform: translateY(-1px);
}

/* Animated Progress Bar */
.progress-bar-fill {
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.25) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.25) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  from { background-position: 1rem 0; }
  to { background-position: 0 0; }
}

/* Entry Animations */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Toastify */
.toastify {
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  padding: 16px 24px !important;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1) !important;
}

.hidden { display: none !important; }

/* Custom Scrollbar for Admin Table */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9; 
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1; 
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8; 
}

/* Modal Animations */
.modal-overlay {
  transition: opacity 0.3s ease-out;
  opacity: 0;
  pointer-events: none;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  transform: scale(0.95) translateY(10px);
  opacity: 0;
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}