.acordeon {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
    width: 100%;
}

.acordeon-titulo {
    background-color: var(--primary-color);
    ;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.acordeon-titulo:hover {
    background-color: #7a6253;
}

.acordeon-contenido {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}

.acordeon-contenido-interno {
    padding: 15px;
}

.flecha {
    transition: transform 0.3s;
    color: var(--secondary-color-light);
}

.acordeon.abierto .flecha {
    transform: rotate(180deg);
}

.acordeon.abierto .acordeon-contenido {
    max-height: 1500px;
}

.detalle-factura {
    margin-bottom: 5px;
}

.detalle-factura-texto {
    font-size: 1.5em !important;
    margin-bottom: 5px;
    text-align: center;
}

.container-detalle-factura {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.subtitle-detalle-factura {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 1.5em !important;
    text-align: center;
    padding-bottom: 20px;
}


.collapsible-section {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.collapsible-header {
    background: var(--secondary-color-lightest);
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.collapsible-header:hover {
    background: var(--secondary-color-light);
}

.collapsible-title {
    font-weight: normal;
    font-size: 20px;
    color: var(--primary-color);
}

.collapsible-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.collapsible-section.active .collapsible-icon {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.collapsible-section.active .collapsible-content {
    max-height: 1000px;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

.collapsible-content > div {
    padding: 15px;
}