.titulo, .subtitulo {
    text-align: center;
    margin: 0;
}

.formularioFactura {
    width: 80%;
    margin: auto;
    display: grid;
    grid-column-gap: 1fr;
    gap: 10px;
    border-radius: 5px;
    box-shadow: 0px 0px 6px 0px black;
    padding: 18px;
}

.formularioFactura .contenidoInputFile {
    display: flex;
    gap: 5px;
    align-items: center;
}

.formularioFactura input, select {
    width: 100%;
    padding: 5px;
    outline: none;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid black;
}

.formularioFactura input { width: calc(100% - 12px); }

.formularioFactura button, .btn-expandir {
    padding: 5px;
    border-radius: 5px;
    border: none;
    background: midnightblue;
    color: white;
    cursor: pointer;
}

.btn-expandir {
    display: flex;
    align-items: center;
    justify-content: left;
}

.btn-expandir .titulo {
    width: 95%;
    text-align: left;
    margin: 0;
}

.btn-expandir .icono {
    width: 5%;
    text-align: right;
}

.contenido-expandir {
    max-height: 0px;
    overflow: hidden;
    transition: 0.3s;
}

.formularioFactura p {
    font-weight: bold;
    margin: 5px 0px;
}

.contenedor-grid-3-colums {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.contenedor-grid-2-colums {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.buscador {
    display: grid;
    position: relative;
}

.lista {
    border: 1px solid black;
    background: white;
    width: calc(100% - 2px);
    position: absolute;
    top: 30px;
    display: none;
}

.lista .opcion {
    padding: 3px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    color: black;
}

.lista .opcion:hover {
    background: #cbd5e0;
}

.msj-error {
    margin: 2px 0px;
    font-size: small;
    color: red;
    display: none;
}

.descargar {
    padding: 5px;
    border-radius: 5px;
    border: none;
    background: rgb(25, 25, 177);
    color: white;
    cursor: pointer;
    width: 100%;
    margin: auto;
}

.descargar a {
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    .formularioFactura p {
        font-size: small;
    }
}

@media screen and (max-width: 430px) {
    .formularioFactura p {
        font-size: x-small;
    }
}

.logo {
    width: 250px;
    height: auto;
    margin: auto;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
    border-radius: 8px;
}
