/* Custom styles and animations */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-pulse-subtle {
  animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Floating Action Button (FAB) */
.fab-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.5), 0 8px 10px -6px rgba(2, 132, 199, 0.5);
  transition: all 0.25s ease-in-out;
}

.fab-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.6);
}

.fab-btn:active {
  transform: scale(0.95);
}

/* Card Expire Statuses */
.card-expired {
  border-left: 5px solid #ef4444 !important;
  background: linear-gradient(to right, #fef2f2 0%, #ffffff 20%);
}

.card-warning {
  border-left: 5px solid #f59e0b !important;
  background: linear-gradient(to right, #fffbeb 0%, #ffffff 20%);
}

.card-good {
  border-left: 5px solid #10b981 !important;
}

/* Modal Animations */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
