.bar__drivers {
    width: 100%;
    padding: 20px;
    background-color: var(--white-color);
    text-align: center;
}

.bar__drivers h2 {
    color: var(--darkblue-color);
    font-size: 30px;
}

.bar__drivers h3{
    padding: 1em;
    font-weight: normal;
}

.conductores {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 100px;
    padding: 20px;
    max-width: calc(100% - 2em);
    margin: auto;
    cursor: pointer;
}

.categories {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    flex-direction: row;
    margin-bottom: 20px;
}
.categories span {
    text-decoration: none;
    color: var(--yellow-color);
    font-weight: bold;
    padding: 10px 50px; 
    border-radius: 5px; 
    transition: color 0.5s ease-in-out;
}

.categories span:hover {
    color: var(--lightblue-color);
    cursor: pointer;
}

.card {
    width: 400px;
    height: auto;
    background: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px var(--balck-color-transparent);
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.categories:hover {
    color: var(--lightblue-color);
}

/*
==========
Styles for images driver vehicles.
==========
*/

.images-vehicle {
    position: relative;
    width: 100%;
    max-width: 400px; 
    overflow: hidden;
}

.images-vehicle img {
    width: 100%;
    display: none; 
    border-radius: 5px;
}

.images-vehicle img.active {
    display: block; 
}

.images-vehicle .prev,
.images-vehicle .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--balck-color-transparent);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
}

.images-vehicle .prev {
    left: 10px;
}

.images-vehicle .next {
    right: 10px;
}

.images-vehicle .prev:hover,
.images-vehicle .next:hover {
    background-color: var(--balck-color-transparent);
}

@media (max-width: 1070px) {
    .categories {
        display: grid;
        justify-content: center;
        gap: 0px;
        margin-bottom: 10px;
        height: auto;
      }
}

/*
==========
Sryles for message information no data results.
==========
*/

.no__data__results{
    display: block;
    width: 100%;
    height: 100%;
    padding: 1em;
    text-align: center;
    color: var(--grey-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
==========
Styles for iamges vehicle selected
==========
*/

.container__iamge__vehicle{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background-color: var(--darkblue-color-transparent);
    z-index: 1000;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    transition: all ease .3s;
}

.container__iamge__vehicle .container__image {
    min-width: 300px;
    min-height: 300px;
    width: 400px;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    background-color: var(--white-color);
}

.container__iamge__vehicle .container__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#icon-close-modal-vehicle-image{
    width: 25px;
    height: 25px;
    position: absolute;
    top: 1em;
    right: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#icon-close-modal-vehicle-image svg{
    width: 100%;
    height: 100%;
    fill: var(--darkblue-color);
    transition: all ease-in-out .3s;
}

#icon-close-modal-vehicle-image:hover svg{
    width: 100%;
    height: 100%;
    fill: var(--darkblue-color-transparent);
    transition: all ease-in-out .3s;
    cursor: pointer;
}

.container__image .prev,
.container__image .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--balck-color-transparent);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 20;
}

.container__image .prev {
    left: 10px;
}

.container__image .next {
    right: 10px;
}

/*
==========
Styles for search driver.
==========
*/

.finder__driver{
    position: relative;
    width: 20px;
    height: 20px;
}

.container__input__search__driver{
    position: absolute;
    bottom: -50px;
    left: -97px;
    width: 120px;
    z-index: 10000;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background-color: var(--white-color);
    border: 1px solid var(--silver-color);
    border-radius: 5px;
    color: var(--darkblue-color);
}

.button__close__search{
    color: var(--darkblue-color);
    transition: all ease-in-out .3s;
}

.button__close__search:hover{
    color: var(--darkblue-color-transparent);
    cursor: pointer;
    transition: all ease-in-out .3s;
}

.container__input__search__driver .icon{
    width: 20px;
    height: 20px;
}

.container__input__search__driver .icon svg{
    width: 100%;
    height: 100%;
    fill: var(--grey-color);
}

.container__input__search__driver .input__text{
    border: none;
    outline: none;
    width: 100%;
    height: 100%;
    background: none;
    color: var(--darkblue-color);
}

.icon__search{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon__search svg{
    fill: var(--white-color);
    width: 100%;
    height: 100%;
    transition: all ease-in-out .3s;
}

.icon__search svg:hover{
    fill: var(--white-color-transparent);
    transition: all ease-in-out .3s;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

@media (max-width: 450px){
    .conductores {
        display: flex;
        gap: 1em;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 100px;
        padding: 0;
        max-width: calc(100% - 1em);
        margin: auto;
        cursor: pointer;
    }
}
