```
/* ===== ENROLLMENT REQUESTS PAGE STYLES ===== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

/* Custom Dropdown Styles */
.hs-dropdown {
  position: relative;
  display: inline-block;
}

.hs-dropdown-menu {
  position: absolute;
  right: 0;
  min-width: 240px;
  margin-top: 0.5rem;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  z-index: 50;
}

.hs-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.hs-dropdown-item:hover {
  background-color: #f9fafb;
}

/* Status badge styling */
.status-badge[data-status="pending"] {
  background-color: #fef3c7;
  color: #92400e;
  border-color: #fcd34d;
}

.status-badge[data-status="approved"] {
  background-color: #d1fae5;
  color: #065f46;
  border-color: #34d399;
}

.status-badge[data-status="rejected"] {
  background-color: #fee2e2;
  color: #991b1b;
  border-color: #f87171;
}

.status-badge[data-status="canceled"] {
  background-color: #fed7aa;
  color: #9a3412;
  border-color: #fb923c;
}

.status-badge[data-status="done"] {
  background-color: #dbeafe;
  color: #1e40af;
  border-color: #60a5fa;
}

/* Theme Styles */
body {
    transition: background-color 0.3s ease;
}

/* Light theme */
html[data-theme="light"] body,
html.light body {
    background-color: #ffffff;
    color: #1f2937;
}

/* Dark theme */
html[data-theme="dark"] body,
html.dark body {
    background-color: #111827;
    color: #f9fafb;
}

/* Mobile Footer Styles */

/* Add padding-bottom to body when mobile tabbar is active */
.mobile-tabbar-active {
    padding-bottom: 80px;
}

/* Mobile tabbar icon animations */
.tabbar-icon {
    transition: all 0.2s ease;
    position: relative;
}

.tabbar-icon:hover {
    transform: translateY(-2px);
}

.tabbar-icon.active {
    color: #3b82f6; /* Blue color for active state */
}

.tabbar-icon.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background-color: #3b82f6;
    border-radius: 50%;
}

/* Notification badge animation */
.notification-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Autocomplétion Styles */
#autocomplete-results {
    z-index: 1000;
    backdrop-filter: blur(8px);
    overflow-x: hidden;
    width: 100%;
}

#autocomplete-results:empty {
    display: none;
}

.specialization-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.specialization-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.specialization-item:active {
    transform: none;
    transition-duration: 0.1s;
}

/* Animation pour l'icône de couleur */
.specialization-item:hover .w-4.h-4.rounded-full {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Effet de focus pour l'accessibilité */
.specialization-item:focus {
    outline: 2px solid #3b82f6;
    outline-offset: -2px;
}

/* Éviter le débordement du texte */
.specialization-item p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: block;
}

.htmx-request.htmx-indicator {
    display: block;
}

/* Masquer la dropdown proprement */
.hide-dropdown {
    display: none !important;
}

/* Search loading states */
.search-loading {
    display: none;
}

.search-loading.htmx-request {
    display: block;
}

.htmx-request .search-icon {
    display: none;
}

/* Keep mobile tabbar padding on all screen sizes */

/* Additional mobile optimizations */
@media (max-width: 768px) {
    .mobile-tabbar {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .tabbar-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .tabbar-icon span {
        font-size: 0.75rem;
        margin-top: 2px;
    }
}
