﻿.bootstrap-select .dropdown-toggle {
    padding: 0.675rem 1.75rem 0.675rem 0.75rem;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
}

    .bootstrap-select .dropdown-toggle:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

.btn-custom-#fa4100 {
    width: 100%;
    justify-content: center;
    border: 1px solid #fa4100;
    display: flex;
    align-items: center;
    background: white;
    color: #fa4100;
}

    .btn-custom-#fa4100:hover {
        border-color: transparent;
        background: #fa4100;
        color: white;
    }

    .btn-custom-#fa4100:focus {
        box-shadow: 0 0 0 .25rem rgb(255 90 90 / 50%) !important;
    }

    .btn-custom-#fa4100:active {
        border-color: transparent !important;
        background: #fa4100 !important;
        color: white !important;
    }

.form-control:focus {
    border-color: #fa4100 !important;
    box-shadow: 0 0 0 .25rem rgb(255 90 90 / 50%) !important;
}

.form-group[class*=has-icon-] .form-control:focus ~ .form-control-icon i, .form-group[class*=has-icon-] .form-control:focus ~ .form-control-icon svg {
    color: #fa4100;
}

.text-result {
    margin-top: 20px;
    font-size: 16px;
}

#errorMensaje {
    width: 66%;
    margin: auto;
    text-align: center;
    display: none;
}

/* Estilos para las categorías */
#listaCategorias .list-group-item {
    display: block;
    padding: 10px 15px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#listaCategoriasRecientes .list-group-item {
    display: block;
    padding: 10px 15px;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    /* Hover sobre las categorías */
    #listaCategorias .list-group-item:hover {
        background-color: #fa4100;
        color: white;
        cursor: pointer;
    }

    /* Categoría seleccionada */
    #listaCategorias .list-group-item.selected {
        background-color: #fa4100;
        color: white;
    }

/* Hover sobre las categorías */
#listaCategorias .list-group-item:hover,
#listaCategoriasRecientes .list-group-item:hover {
    background-color: #fa4100;
    color: white;
    cursor: pointer;
}

/* Categoría seleccionada */
#listaCategorias .list-group-item.selected,
#listaCategoriasRecientes .list-group-item.selected {
    background-color: #fa4100;
    color: white;
}


/* Estilo para la paginación */
.pagination {
    margin-top: 20px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto; /* Permite desplazamiento si es necesario */
    max-width: 95%;
}

    .pagination::-webkit-scrollbar {
        height: 8px;
    }

    .pagination::-webkit-scrollbar-thumb {
        background: #fa4100;
        border-radius: 4px;
    }

    .pagination .page-item {
        font-size: 16px;
    }

    .pagination .page-link {
        padding: 8px 15px;
        border: 1px solid #fa4100;
        border-radius: 5px;
        background-color: #fff;
        color: #fa4100;
        transition: background-color 0.3s, color 0.3s;
    }

        .pagination .page-link i {
            transition: color 0.3s ease;
        }

        .pagination .page-link:hover i {
            color: #fa4100;
        }

        .pagination .page-link:hover {
            background-color: #fa4100;
            color: #fff;
        }

    .pagination .page-item.active .page-link {
        background-color: #fa4100;
        color: #fff;
        font-weight: bold;
    }

    .pagination .page-item.disabled .page-link {
        background-color: #f8f9fa;
        border-color: #ddd;
        color: #ccc;
        cursor: not-allowed;
    }

/* Evitar que la paginación se desborde en pantallas pequeñas */
@media (max-width: 768px) {
    .pagination {
        justify-content: flex-start;
        gap: 5px;
    }

        .pagination .page-link {
            min-width: 50px;
        }
}

.modalCategoriasLabel {
    font-size: 1rem;
    color: #fa4100;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-close-modal-categorias {
    margin-left: auto;
    width: 1rem !important;
    height: 1rem !important;
}

.btn-search-categoria {
    border: 1px solid black !important;
}

.filter-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-left: 5px;
}