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

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #f18242 0%, #f3935b 100%);
}   

.bg-gradient-success {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}
.bg-gradient-danger {
    background: linear-gradient(135deg, #ca3e26 0%, #dd2911 100%);
}
.bg-gradient-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #f59e0b 100%);
}
.bg-gradient-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}
.bg-gradient-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}
.bg-gradient-light {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}


.glass {
    backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(209, 213, 219, 0.3);
}

.shadow-float {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.safe-area-bottom {
    padding-bottom: env(safe-area-inset-bottom);
}

.input-focus:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgb(211, 117, 62) !important;
    border-color: rgb(211, 117, 62) !important;
}
.text-primary{
    color: #f18242!important;
}

/* Estilos para autocomplete */
.autocomplete-item {
    transition: all 0.2s ease;
}

.autocomplete-item:hover {
    background-color: #f3f4f6 !important;
}

.autocomplete-item.bg-blue-100 {
    background-color: #dbeafe !important;
    border-left: 3px solid #3b82f6;
}

#relatedFolioDropdown {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
}

#relatedFolioDropdown::-webkit-scrollbar {
    width: 6px;
}

#relatedFolioDropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#relatedFolioDropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#relatedFolioDropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
/* Estilos adicionales para el bottom sheet */
#bottomSheetContent {
    backdrop-filter: blur(10px);
}

/* Animación de entrada */
.bottom-sheet-enter {
    transform: translateY(100%);
}

.bottom-sheet-enter-active {
    transform: translateY(0);
}

/* Animación de salida */
.bottom-sheet-exit {
    transform: translateY(0);
}

.bottom-sheet-exit-active {
    transform: translateY(100%);
}

/* Scrollbar personalizado para el contenido */
#bottomSheetBody::-webkit-scrollbar {
    width: 6px;
}

#bottomSheetBody::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#bottomSheetBody::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#bottomSheetBody::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Mejoras para móviles */
@media (max-width: 768px) {
    #bottomSheetContent {
        height: 90vh;
        border-radius: 20px 20px 0 0;
    }

    #openBottomSheet {
        bottom: 80px;
        /* Evitar conflicto con la barra de navegación */
    }
}

/* Asegurar que el contenido sea scrolleable */
#bottomSheetBody {
    min-height: 0;
    overflow-y: auto;
}