.nav-item-custom {
    text-align: center;
    position: relative;
    color: #3b3b3b;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0rem 1rem;
}

.nav-item-custom.active {
    color: #3b3b3b;
}

.nav-item-custom.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 130%;
    width: 80%;
    height: 4px;
    background-color: #F4C542;
    /* border-radius: 2px; */
}

.nav-item-custom i {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 4px;
}

.nav-item-custom strong {
    font-size: 1rem;
}

.logo-login {
    height: 50%;
    object-fit: contain;
}

.mesa {
    width: 5rem;
    height: 5rem;
}

.img-menu {
    height: 80%;
}

.img-perfil {
    width: 2rem;
}

/* .card {
    transition: scale 0.3s ease-in-out;
}

.card:hover {
    scale: 1.01;
} */

.filtros-menus {
    transition: border-color 0.5s ease-in-out;
}

.filtros-menus:hover {
    border-color: #F4C542;
}

.icono-categoria {
    width: 2rem !important;
    height: 2rem !important;
    object-fit: cover;
    flex-shrink: 0;
}

.scroll-hidden::-webkit-scrollbar {
    display: none;
}

.scroll-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.btn-categoria-activa {
    background-color: #F4C542 !important;
    color: white !important;
    border: 1px solid #F4C542 !important;
}

.cursor-pointer {
    cursor: pointer;
}


.mesa-btn {
    transition: transform 0.2s ease;
    border-radius: 8px;
    position: relative;
}

.mesa-btn:hover {
    transform: translateY(-2px);
}

.btn-p-info {
    background-color: aqua;
}

.upload-section {
    margin-bottom: 1rem;
}

.drag-drop-area {
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: all 0.3s;
}

.drag-drop-area.drag-over {
    background-color: #f0f8ff;
    border-color: #00aaff;
}

.drag-drop-area:hover {
    border-color: #0d6efd;
    background-color: #e9ecef;
}

.drag-drop-content i {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.drag-drop-content p {
    margin: 0;
    color: #6c757d;
}

.file-preview {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    background-color: #f9f9f9;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #28a745;
    width: 0%;
    transition: width 0.3s ease;
}

/* 1. Contenedor principal del POS */
.pos-layout {
    /* Mágia: Calcula el 100% de la pantalla MENOS el espacio de tu header.
       Ajusta los '100px' al tamaño real de tu cabecera/navbar. */
    height: calc(95vh - 100px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Evita que el contenedor general tenga scroll */
}

/* 2. Contenedor de las columnas (fila) */
.pos-content-row {
    flex: 1;
    /* Ocupa todo el espacio disponible restante */
    min-height: 0;
    /* Crucial para Firefox/Flexbox anidados */
    overflow: hidden;
}

/* 3. Clase para cada columna con scroll independiente */
.pos-col-scroll {
    height: 100%;
    overflow-y: auto;
    /* Scroll vertical solo si es necesario */
    overflow-x: hidden;

    /* Ocultar scrollbar en navegadores modernos */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE y Edge antiguo */


}

.pos-col-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.tiny {
    font-size: 0.75rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.custom-dropdown-centered {
    left: 5% !important;
    right: 5% !important;
    width: 90% !important;
    top: 100% !important;
    margin-top: 10px !important;
    border-radius: 20px !important;
    max-width: 1200px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.dropdown-card {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    width: 300px;
    /* Tamaño de las tarjetas */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-card img {
    width: 100%;
    max-width: 160px;
    margin-bottom: 15px;
}

.dropdown-card:hover {
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.dropdown-toggle::after {
    display: none;
}