.card1-container {
    background-color: #ffffff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.249);
    padding: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    scroll-behavior: smooth;
    margin: 0 auto;
}



.card {
    width: 100%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
    cursor: pointer;
    border: 2px solid #00000017;
    border-radius: 2.25rem;
}

.card_convenio {
    width: 100%;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
    cursor: pointer;
   /* border: 2px solid #00000017; */
    border-radius: 0.5rem;
    padding-left:20px;
    padding-top: 29px;
    padding-right: 29px;
    padding-top: 29px;
}

.card1:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

/*
#preloader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.5s ease;
}
*/
#preloader img {
    width: 500px;
  height: 500px;
  background-color: red;
  animation-name: example;
  animation-duration: 8s;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

#password-input {
    padding-right: 25px;
}

.form-control {
    border: 2px solid #000;
    border-radius: 18px;
    padding: 22px;
}

#eye {
    margin-right: 8px;
}

#formulario label {
    text-transform: uppercase;
    color: #000;
    font-size: 30px;
    text-align: center;
}

.card-scroll-container {
    overflow-x: auto;
    margin: 0 20px;
    /* Ajusta el margen según tus necesidades */
}

.card-container {
    display: flex;
    gap: 10px;
    padding: 7px;
    white-space: nowrap;
}

.card {
    flex: 0 0 auto;
    width: 100px;
    /* O ajusta el ancho según tus necesidades */
    height: 100px;
    /* Establece el mismo valor que el ancho para obtener una forma cuadrada */
    background-color: #eaeaea;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2.15rem;
}

.header {
    background-color: #d9291c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

.welcome {
    flex-grow: 1;
    text-align: left;
}

.icons {
    text-align: right;
}

@media screen and (max-width: 600px) {
    .card-scroll-container {
        display: flex;
        overflow-x: scroll;
        scrollbar-width: thin;
        white-space: nowrap;
        padding-bottom: 10px;
        margin-top: 0px;
    }

    .card-container {
        gap: 10px;
        padding: 0;
    }

    .card {
        white-space: pre-wrap;
        height: 113px;
        width: 124px;
        font-size: 16px;
        background-color: #fff;
        padding: 20px;
        border: 2px solid #c4c4c4;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #d9291c;
        height: 160px;
    }

    .icons {
        color: #fff;
        font-weight: bold;
        font-size: 18px;
        margin-right: 20px;
    }

    .fa-search {
        margin-right: 10px;
    }

    .welcome {
        font-weight: bold;
        color: #fff;
        font-size: 13px;
        margin-left: 10px;
    }

    .bottom-icons {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #d9291c;

        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    #pie {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #d9291c;

        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .bottom-icons i {
        margin: 0 15px;
        color: #fff;
        font-size: 18px;
        height: 20px;
    }

    .search-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s, opacity 0.5s ease-in-out;
      }
    
      /* Estilos para el input de búsqueda */
      .search-input {
        display: none;
      }
    
      /* Estilos para el fondo blanco de la capa de búsqueda */
      .search-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        cursor: pointer;
        z-index: -1;
      }
    
      /* Estilos para el cuadro de búsqueda */
      .search-box {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        width: 60%;
        margin: 0 auto;
        padding: 20px;
        background-color: #000;
        color: #fff;
        text-align: center;
      }
    
      /* Estilos para el icono de cerrar */
      .close-icon {
        position: absolute;
        top: 0;
        right: 0;
        margin: 10px;
        cursor: pointer;
      }
    
      /* Estilos para mostrar la capa de búsqueda cuando se activa el checkbox */
      .search-input:checked ~ .search-overlay,
      .search-input:checked ~ .search-box {
        visibility: visible;
        opacity: 1;
      }

}