@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "DM Sans", sans-serif;
}

[v-cloak] {
    display: none;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-snap-align: start;
}

.nav-link {
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.swal2-confirm {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

.swal2-confirm:hover {
    background-color: #059669 !important;
    border-color: #059669 !important;
}

.swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.4) !important;
}

/* Deny button (secondary action) - subtle green outline */
.swal2-deny {
    background-color: #ffffff !important;
    border: 2px solid #10b981 !important;
    color: #10b981 !important;
}

.swal2-deny:hover {
    background-color: #ecfdf5 !important;
}

/* Cancel button stays neutral */
.swal2-cancel {
    background-color: #e5e7eb !important;
    color: #374151 !important;
}

.swal2-cancel:hover {
    background-color: #d1d5db !important;
}

/* Hide navbar greeting on mobile across role dashboards/pages */
@media (max-width: 639px) {
    .hello-greeting {
        display: none !important;
    }
}

/* Reduce common page title/subtitle sizes on mobile */
@media (max-width: 639px) {
    h1.text-3xl {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
    }

    h1.text-4xl {
        font-size: 1.75rem !important;
        line-height: 2.25rem !important;
    }

    p.text-gray-500.mt-1,
    p.text-gray-500.mt-2,
    p.text-gray-500.mb-6,
    p.text-gray-400.text-sm.mt-1 {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera bg snap horizontal lists */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

@keyframes bounce-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
.animate-bounce-x {
  animation: bounce-x 1s ease-in-out infinite;
}
.swal2-container {
  z-index: 10000 !important;
}