.hidden {
    display: none;
}



































/* Estilos para pantallas entre 1900px y 2200px */
/* Media query para pantallas grandes */
@media screen and (min-width: 2300px) {
    .content {
        transform: scale(1.3);
        /* Reduce el tamaño del contenido al 90% */
        transform-origin: top left;
        /* Ajusta desde la esquina superior izquierda */
    }

    .header h1 {
        transform: scale(1.2);
    }

    .subheader {
        font-size: 1.80em !important;
        /* Solo afecta el tamaño del texto */
    }

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 5px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        justify-content: space-between;
        /* Espacio entre las columnas */
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */
        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 600px;
        padding: 20px;
        margin-left: 50px;
        height: 65vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 53vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 16px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 5px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 210px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 85%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }
    
    

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 1%;
        transform: scale(1.2);
        margin: 0 auto;
    }

    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 80%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 150px;
        width: 100%;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 30px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        margin-top: 3%;
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: bold;
        font-size: 16px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 44%;
        font-size: 14px;
        color: #19181c;
        transform: translate(-50%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}

@media screen and (min-width: 1900px) and (max-width: 2299px) {

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 5px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        margin-bottom: 40px;
        justify-content: space-between;
        /* Espacio entre las columnas */
     
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */
        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        transform: translateX(-85px);
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 570px;
        padding: 20px;
        margin-left: 50px;
        height: 85vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 70vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }


    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 16px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 5px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 280px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 85%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 1%;
        transform: scale(1.2);
        margin: 0 auto;
    }

    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 80%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 150px;
        width: 100%;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 30px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        margin-top: 2%;
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: bold;
        font-size: 16px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 44%;
        font-size: 14px;
        color: #19181c;
        transform: translate(-50%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}

@media screen and (min-width: 1701px) and (max-width: 1899px) {

    .content {
        transform: scale(0.86);
        /* Reduce el tamaño del contenido al 90% */
        transform-origin: top left;
        /* Ajusta desde la esquina superior izquierda */
    }

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 5px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        justify-content: space-between;
        /* Espacio entre las columnas */
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */
        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        transform: translateX(-40px);
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 550px;
        padding: 20px;
        margin-left: 50px;
        height: 95vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 78vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 16px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 5px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 210px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 85%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 1%;
        transform: scale(1.2);
        margin: 0 auto;
    }

    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 80%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 100px;
        width: 100%;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 30px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        margin-top: 2%;
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: bold;
        font-size: 16px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 42%;
        font-size: 14px;
        color: #19181c;
        transform: translate(-50%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1700px) {
    
    .content {
        transform: scale(0.86);
        /* Reduce el tamaño del contenido al 90% */
        transform-origin: top left;
        /* Ajusta desde la esquina superior izquierda */
        margin-bottom: 10%;
    }

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 5px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        justify-content: space-between;
        /* Espacio entre las columnas */
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */
        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        transform: translateX(-40px);
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 550px;
        padding: 20px;
        margin-left: 50px;
        height: 95vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 78vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 16px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 5px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 290px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 85%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 1%;
        transform: scale(1.2);
        margin: 0 auto;
    }

    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 80%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 100px;
        width: 100%;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 30px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        margin-top: 2%;
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: bold;
        font-size: 16px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 42%;
        font-size: 14px;
        color: #19181c;
        transform: translate(-50%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}



/* Media query para pantallas  */
@media screen and (min-width: 1025px) and (max-width: 1599px) {

    .content {
        transform: scale(0.8);
        /* Reduce el tamaño del contenido al 90% */
        transform-origin: top left;
        /* Ajusta desde la esquina superior izquierda */
    }


    .header h1 {
        transform: scale(0.8);
    }

    .subheader {
        font-size: 0.9em !important;
        /* Solo afecta el tamaño del texto */
    }

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 2px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        justify-content: space-between;
        /* Espacio entre las columnas */
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */
        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        transform: translateX(-40px);
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 500px;
        padding: 20px;
        margin-left: 50px;
        height: 100vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 14px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }



    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 2px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 10px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 230px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 80%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }
    
    .vehicle-item {
        transform: scale(0.9);
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 1%;
        transform: scale(1.1);
        margin: 0 auto;
    }
    
   



    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1px;
        margin-right: 5px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 90%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 20px;
        width: 110%;
        margin-right: 15px;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 20px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: bold;
        font-size: 12px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 40%;
        font-size: 12px;
        color: #19181c;
        transform: translate(-40%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}

@media screen and (min-width: 701px) and (max-width: 1024px) {

    .content {
        transform: scale(0.6);
        /* Reduce el tamaño del contenido al 90% */
        transform-origin: top left;
        /* Ajusta desde la esquina superior izquierda */
    }


    .header h1 {
        transform: scale(0.65);
    }

    .subheader {
        font-size: 0.65em !important;
        /* Solo afecta el tamaño del texto */
    }

    /* Estilo del encabezado */
    .header-container {
        margin-bottom: 2px;
        /* Margen inferior para separación */
    }

    /* Contenedor principal de contenido */
    .content-container {
        display: flex;
        /* Alinear elementos en fila */
        justify-content: space-between;
        /* Espacio entre las columnas */
    }

    .button-group {
        display: flex;
        justify-content: center;
        /* Para centrar los botones */

        gap: 20px;
    }

    .btn-1,
    .btn-2,
    .btn-3 {
        display: inline-block;
        padding: 10px 20px;
        background-color: #f0f0f0;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    /* Contenedor para la lista de vehículos */
    .content {
        width: 65%;
        /* Ancho de la columna izquierda */
    }

    /* Contenedor para la tabla de mantenimientos */
    .tabla-container {
        width: 70%;
        /* Ancho de la columna derecha */
    }

    .button-group button {
        padding: 10px 19px;
        /* Hacemos los botones más grandes */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.50em;
        /* Aumentamos el tamaño del texto un 20% */
    }

    .button-group {
        margin-top: 52px;
        /* Espacio entre la tabla y los botones */
        display: flex;
        justify-content: center;
        /* Centrar los botones */
        gap: 78px;
        /* Espacio entre los botones */
    }

    .btn-1 {
        background-color: #d0e1eb;
        color: #0089f1;
        /* Color del texto para el botón .btn-1 */
    }

    .btn-1:hover {
        background-color: #a1c6dd;
    }

    body {
        font-family: 'Manrope', sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .header-container {
        width: 100%;
        background-color: #f9f9f9;
    }

    .header {
        padding: 20px 0;
        text-align: center;
    }

    .header h1 {
        margin: 0;
        font-weight: 700;
        font-size: 45px;
    }

    .subheader {
        background-color: #2167e0;
        color: #ffffff;
        text-align: center;
        padding: 10px 20px;
        font-size: 18px;
    }

    /* Contenedor principal del contenido */
    .content-container {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        height: calc(100vh - 100px);
        padding: 20px;
        position: relative;
        top: -20%;
        /* Subimos el contenedor un 20% */
    }

    .content {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 425px;
        padding: 20px;
        margin-left: 50px;
        height: 90vh;
        position: relative;
        top: -2.5%;
        /* Subimos el contenedor un 40% */
    }

    .connt_2 {
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
        padding: 20px;
        height: 380px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: relative;
        overflow: hidden;
    }

    .content h2 {
        margin: 0;
        color: #5890dd;
        font-size: 16px;
        border-left: 3px solid #2167e0;
        padding-left: 10px;
        margin-bottom: 20px;
    }



    .search-bar {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border: 1px solid #14a8ff;
        border-radius: 5px;
        padding: 2px;
        width: 90%;
        margin-left: 15px;
        position: relative;
    }

    .search-bar img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
        position: absolute;
        left: 10px;
    }

    .search-bar input {
        width: 100%;
        font-size: 14px;
        padding: 10px 10px 10px 35px;
        border: none;
        outline: none;
    }

    .vehicle-list {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: calc(100% - 210px);
        overflow-y: auto;
        flex-grow: 1;
        width: 100%;
        margin-bottom: auto;
        padding-bottom: 0;
        margin-top: 0;
        position: relative;
        top: 3px;
    }

    .vehicle-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: all 0.3s ease, opacity 0.3s ease;
        width: 90%;
        box-sizing: border-box;
        position: relative;
        color: #5e5a66;
        opacity: 1;
    }

    .vehicle-item img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
    }

    .vehicle-item.selected img {
        filter: brightness(0) invert(1);
    }

    .vehicle-item.selected {
        background-color: #2167e0;
        color: white;
        right: 3%;
        transform: scale(1.2);
        margin: 0 auto;
    }



    .vehicle-item.deselected {
        margin: 0 auto;
    }

    .bottom-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 85%;
        background-color: #ffffff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: none;
    }

    .add-vehicle {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        border-radius: 5px;
        color: #5e5a66;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 10px;
        width: 80%;
        box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    }

    .add-vehicle button {
        background: none;
        border: none;
        font: inherit;
        color: inherit;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .add-vehicle img {
        width: 15px;
        height: 15px;
        margin-left: 5px;
    }

    .add-vehicle:hover {
        background-color: #f0f0f0;
    }

    .buttons {
        display: flex;
        gap: 60px;
        width: 110%;
        justify-content: center;
    }

    .buttons button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .buttons .edit {
        background-color: #eff7fc;
        color: #3799e5;
    }

    .buttons .edit:hover {
        background-color: #d1ebf9;
    }

    .buttons .delete {
        background-color: #e74c3c;
        color: white;
    }

    .buttons .delete:hover {
        background-color: #c0392b;
    }

    .selected-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
        padding: 10px;
        border-radius: 5px;
        margin-bottom: 20px;
        margin-top: 22px;
        width: 100%;
        height: 45px;
        position: relative;
    }

    .selected-vehicle {
        position: absolute;
        display: none;
        text-align: center;
        margin-bottom: 10px;
        color: #2167e0;
        font-weight: lighter;
        font-size: 12px;
        white-space: nowrap;
    }

    .selected-vehicle.active {
        bottom: -20px;
        display: block;
        position: absolute;
        top: auto;
        left: 34%;
        font-size: 12px;
        color: #19181c;
        transform: translate(-40%, 30%);
        margin-bottom: 30px;
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 8px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: transparent;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }

    .vehicle-item {
        transition: all 0.3s ease, opacity 0.3s ease;
        opacity: 1;
    }

    .vehicle-item.selected {
        opacity: 1;
        animation: fadeIn 0.5s ease;
    }

    .vehicle-item.deselected {
        opacity: 0;
    }

    /* Animación de desvanecimiento */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* Scrollbar Personalizado */
    .vehicle-list::-webkit-scrollbar {
        width: 5px;
    }

    .vehicle-list::-webkit-scrollbar-track {
        background: #f1f1f100;
    }

    .vehicle-list::-webkit-scrollbar-thumb {
        background-color: #007bff;
        border-radius: 10px;
    }

    .vehicle-list::-webkit-scrollbar-thumb:hover {
        background-color: #0056b3;
    }

    .vehicle-list::-webkit-scrollbar-thumb:active {
        background-color: #004085;
    }
}







/* ESTO ES LA TABLA DE CONFIRMACION DE ELIMINACION!!!!!!! */

@media screen and (min-width: 701px) {
    /* Estilo para el modal de confirmación */
    .modal3 {
        display: none;
        /* Oculto por defecto */
        position: fixed;
        z-index: 1000;
        /* Asegura que el modal esté sobre otros elementos */
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        /* Fondo semi-transparente */
    }

    .modal3-content3 {
        background-color: #ffffff;
        /* Fondo blanco para el contenido */
        margin: 18.8% auto;
        /* Centrando el modal */
        padding: 15.9px;
        border: 3.18px solid #2267e0;
        /* Borde azul */
        width: 21.2%;
        /* Ancho del modal */
        text-align: center;
        /* Eliminando los bordes redondeados */
        border-radius: 0;
    }

    .modal3-content3 h2 {
        background-color: #2267e0;
        /* Fondo azul para el título */
        color: white;
        padding: 10.6px 21.2px;
        /* Aumentamos el padding en los lados para tocar los bordes */
        margin: -15.9px -19.08px 0 -19.08px;
        /* Ajustamos el margen negativo para que toque los bordes y la parte superior */
        text-align: center;
        font-size: 25.44px;
        border-radius: 0;
        /* Aseguramos que no haya esquinas redondeadas */
    }

    .modal3-content3 p {
        color: #333;
        /* Color del texto */
        font-size: 19.08px;
        margin: 21.2px 0;
        font-weight: bold;
    }

    .modal3-buttons {
        display: flex;
        justify-content: center;
        gap: 21.2px;
    }

    .modal3-content3 button {
        background-color: #ff0000;
        /* Fondo blanco */
        color: rgb(255, 255, 255);
        /* Letra blanca */
        padding: 10.8px 28.56px;
        border: 0.1px solid rgba(0, 0, 0, 0.219);
        /* Borde negro */
        cursor: pointer;
        border-radius: 5.3px;
        font-size: 16.96px;
    }


    .modal3-content3 button:nth-child(2) {
        background-color: rgb(255, 255, 255);
        /* Botón NO en rojo */
        color: rgb(0, 0, 0);
        /* Letra blanca para el botón NO */
    }

    .modal3-content3 .btn-si {
        color: rgb(0, 0, 0);
        /* Letra naranja para el botón SI */

    }


    .modal3-content3 button:hover {
        background-color: #2267e0;
        /* Cambio de color al pasar el mouse */
    }

}


@media screen and (max-width: 700px) {
    /* Estilo para el modal de confirmación */
    .modal3 {
        display: none;
        /* Oculto por defecto */
        position: fixed;
        z-index: 1000;
        /* Asegura que el modal esté sobre otros elementos */
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.5);
        /* Fondo semi-transparente */
    }

    .modal3-content3 {
        background-color: #ffffff;
        /* Fondo blanco para el contenido */
        margin: 50% auto;
        /* Centrando el modal */
        padding: 15.9px;
        border: 3.18px solid #2267e0;
        /* Borde azul */
        width: 80%;
        /* Ancho del modal */
        text-align: center;
        /* Eliminando los bordes redondeados */
        border-radius: 0;
    }

    .modal3-content3 h2 {
        background-color: #2267e0;
        /* Fondo azul para el título */
        color: white;
        padding: 10.6px 21.2px;
        /* Aumentamos el padding en los lados para tocar los bordes */
        margin: -15.9px -19.08px 0 -19.08px;
        /* Ajustamos el margen negativo para que toque los bordes y la parte superior */
        text-align: center;
        font-size: 25.44px;
        border-radius: 0;
        /* Aseguramos que no haya esquinas redondeadas */
    }

    .modal3-content3 p {
        color: #333;
        /* Color del texto */
        font-size: 19.08px;
        margin: 21.2px 0;
        font-weight: bold;
    }

    .modal3-buttons {
        display: flex;
        justify-content: center;
        gap: 21.2px;
    }

    .modal3-content3 button {
        background-color: #ff0000;
        /* Fondo blanco */
        color: rgb(255, 255, 255);
        /* Letra blanca */
        padding: 10.8px 28.56px;
        border: 0.1px solid rgba(0, 0, 0, 0.219);
        /* Borde negro */
        cursor: pointer;
        border-radius: 5.3px;
        font-size: 16.96px;
    }


    .modal3-content3 button:nth-child(2) {
        background-color: rgb(255, 255, 255);
        /* Botón NO en rojo */
        color: rgb(0, 0, 0);
        /* Letra blanca para el botón NO */
    }

    .modal3-content3 .btn-si {
        color: rgb(0, 0, 0);
        /* Letra naranja para el botón SI */

    }


    .modal3-content3 button:hover {
        background-color: #2267e0;
        /* Cambio de color al pasar el mouse */
    }

}





















































































/* Media Query para pantallas de 1366x768 o menos */
@media screen and (max-width: 1366px) {
  /* Ajustes para el grupo de botones */
  .tabla-container .button-group {
    margin-top: 26px; /* Margen ajustado */
    display: flex;
    justify-content: center;
    gap: 10px; /* Espacio reducido entre botones para pantallas medianas */
    flex-wrap: nowrap; /* Asegura que los botones no se envuelvan */
    max-width: 100%; /* Asegura que los botones no excedan el contenedor */
  }

  .tabla-container .button-group button {
    padding: 8px 12px; /* Botones más pequeños para esta resolución */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.85em; /* Texto más pequeño para pantallas de 1366x768 */
    white-space: nowrap; /* Asegura que el texto no se divida */
    box-sizing: border-box;
  }

  /* Ajustes para la tabla */
  .tabla-container .styled-table {
    padding: 8px; /* Padding más pequeño */
    width: 100%;
    max-width: 1100px; /* Ancho máximo adecuado para pantallas de 1366px */
    border-collapse: separate;
    border-spacing: 6px 0; /* Espaciado ajustado entre celdas */
    margin: 20px auto;
    font-size: 0.85em; /* Tamaño de fuente más pequeño */
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08); /* Sombra ligera */
    max-height: 450px; /* Altura máxima ajustada */
    overflow-y: auto; /* Scroll vertical si es necesario */
    display: block;
  }

  .tabla-container .styled-table th,
  .tabla-container .styled-table td {
    padding: 8px 12px; /* Padding ajustado en celdas */
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    word-wrap: break-word; /* Ajusta el contenido largo */
  }

  .tabla-container .styled-table th {
    font-size: 0.85em; /* Tamaño de la fuente más pequeño para los encabezados */
    padding: 4px 5px; /* Padding ajustado para encabezados */
  }

  /* Estilos específicos para los botones */
  .tabla-container .btn-1,
  .tabla-container .btn-2,
  .tabla-container .btn-3 {
    padding: 8px 12px; /* Tamaño de botones ajustado para pantallas pequeñas */
    font-size: 0.85em; /* Texto más pequeño en los botones */
    border-radius: 5px; /* Bordes redondeados ajustados */
  }

  .tabla-container .btn-1:hover,
  .tabla-container .btn-2:hover,
  .tabla-container .btn-3:hover {
    padding: 8px 12px; /* Mantiene el tamaño durante el hover */
    font-size: 0.85em; /* Mantiene el tamaño de la fuente en el hover */
  }
}

.modal3-content3 button:hover {
    background-color: #2267e0; /* Cambio de color al pasar el mouse */
}








}



















































/* Estilos generales */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

/* Contenedor principal */
.tabla-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
}
























@media screen and (min-width: 344px) and (max-width: 700px) {

  .tabla-container .button-group {
    margin-top: 26px; /* Margen ajustado */
    display: flex;
    justify-content: center;
    gap: 10px; /* Espacio reducido entre botones para pantallas medianas */
    flex-wrap: nowrap; /* Asegura que los botones no se envuelvan */
    max-width: 100%; /* Asegura que los botones no excedan el contenedor */
    margin-left: -15%; /* Desplaza los botones un 40% hacia la izquierda */

  }
  
  .content .button-group button {
       margin-left: 40px !important;
        /* Aumentamos el tamaño del texto un 20% */
    }

  .tabla-container .button-group button {
    padding: 8px 12px; /* Botones más pequeños para esta resolución */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.55em; /* Texto más pequeño para pantallas de 1366x768 */
    white-space: nowrap; /* Asegura que el texto no se divida */
    box-sizing: border-box;
    margin-left: 50% ; /* Desplaza los botones un 40% hacia la izquierda */

  }

  .content {
    transform: scale(0.8) translateX(-8%);
    transform-origin: top left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 430px;
    padding: 20px;
    margin-left: 50px;
    height: 80%;
    position: relative;
    top: -2.5%;
  }

  .header h1 {
    transform: scale(0.65);
  }

  .subheader {
    font-size: 0.8em !important;
  }

  .header-container {
    margin-bottom: 2px;
  }



  .btn-1 {
    background-color: #d0e1eb;
    color: #0089f1;
  }

  .btn-1:hover {
    background-color: #a1c6dd;
  }

  body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
  }

  .header-container {
    width: 100%;
    background-color: #f9f9f9;
  }

  .header {
    padding: 20px 0;
    text-align: center;
  }

  .header h1 {
    margin: 0;
    font-weight: 700;
    font-size: 45px;
  }

  .subheader {
    background-color: #2167e0;
    color: #ffffff;
    text-align: center;
    padding: 10px 20px;
    font-size: 18px;
  }

  .connt_2 {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
    padding: 20px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
  }

  .content h2 {
    margin: 0;
    color: #5890dd;
    font-size: 16px;
    border-left: 3px solid #2167e0;
    padding-left: 10px;
    margin-bottom: 20px;
  }

  .search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #14a8ff;
    border-radius: 5px;
    padding: 2px;
    width: 90%;
    margin-left: 15px;
    position: relative;
  }

  .search-bar img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    position: absolute;
    left: 10px;
  }

  .search-bar input {
    width: 100%;
    font-size: 14px;
    padding: 10px 10px 10px 35px;
    border: none;
    outline: none;
  }

  .vehicle-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-height: 200px;
    overflow-y: auto;
    flex-grow: 1;
    width: 100%;
    margin-top: 0;
    padding: 10px;
    position: relative;
    transform: scale(1);
  }

  .vehicle-list::-webkit-scrollbar {
    width: 8px;
  }

  .vehicle-list::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 5px;
  }

  .vehicle-list::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
  }

  .vehicle-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease, opacity 0.3s ease;
    width: 90%;
    max-width: 100%;
    box-sizing: border-box;
    color: #5e5a66;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
  }

  .vehicle-item img {
    width: 10px;
    height: 10px;
    margin-right: 10px;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(180deg) brightness(70%) contrast(80%);
  }

  .vehicle-item.selected img {
    filter: brightness(0) invert(1);
  }

  .vehicle-item.selected {
    background-color: #2167e0;
    color: white;
    margin: 0;
    transform: scale(1);
    transition: background-color 0.3s ease;
  }

  .vehicle-item:hover {
    background-color: #f0f0f0;
  }

  .add-vehicle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40px;
    padding: 15px;
    border-radius: 5px;
    color: #5e5a66;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    width: 80%;
    box-shadow: 0px 0px 1px #c2bec6, 0px 0px 2px #c2bec6;
  }

  .add-vehicle button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .add-vehicle img {
    width: 15px;
    height: 15px;
    margin-left: 5px;
  }

  .add-vehicle:hover {
    background-color: #f0f0f0;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  .tabla-container {
    width: 100%;
    transform: translateX(0);
    margin-bottom: 40px;
    overflow-x: auto;
  }

  body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
  }
}
