div.dataTables_processing{
    position: absolute;
    top: 87%;
    left: 50%;
    height: auto;
    width: 100%;
    padding: 2px;
}

.preloader {
    width: 100%;
    height: 100%;
    left: 0;
    top: 13%;
    position: fixed;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.8);
}

.error-box{
    position: fixed;
    background: url(/public/assets/images/background/error-carga.jpg) no-repeat bottom 100px  center #fff;
}

.card{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 6px 10px rgba(0, 0, 0, 0.15);
}

#change_language {
    position: absolute;
    top: 5%;
    right:5%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: url(/public/dist/css/icons/flag-icon-css/flags/us.svg) no-repeat center center;
    background-size: cover;
    cursor: pointer;
}


.header-actions{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1% 2% 0 1.25%;
}

/*Search bar*/
.search-wrapper{
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: end; 
    gap: 2%;   
}

.search-form{
    display: flex;
    align-items: center;
    height: 40px;
    width: 70px;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: width 0.4s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 0;
}

.search-form:focus-within,
.search-form:has(input:valid){
    width: 100%;
    box-shadow: 0 0 0 3px #0069d930;
}

.search-form:focus-within input[type="search"],
.search-form:has(input:valid) input[type="search"]{
    opacity: 1;
    pointer-events: auto;
}

.search-form input[type="search"]{
    flex: 1;
    padding: 0 12px;
    height: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    outline:none;
    min-width: 0;
    transition: opacity 0.2s ease;
}

.search-form button{
    background: none;
    border:none;
    cursor:pointer;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background 0.2s;
}

.search-form button:hover{
    background-color: #e0e0e0;
}

.search-form button i{
    font-size: 16px;
} 

/*Filters*/
.filter-btn{
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.filter-btn:hover{
    background-color: #e0e0e0;
}

.tag {
    background-color: #186DDE;
    border-radius: 3px;
    padding: 3px 6px;
    margin: 1px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #ffffff;
}

.tag-close {
    margin-right: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
}
