.legal-card {
    background: rgba(43, 43, 43, 0.5);
    border: 1px solid rgba(242, 183, 5, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-button {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: rgba(242, 183, 5, 0.05);
    color: #F2B705 !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-bottom: 0;
    transition: background 0.3s ease;
}

.accordion-button::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    float: right;
    transition: transform 0.3s ease;
    line-height: 1.2rem;
}

.legal-input-check:checked ~ .accordion-button::after {
    transform: rotate(180deg); /* La flecha gira al abrir */
}

.accordion-button:hover {
    background: rgba(242, 183, 5, 0.15);
}

.accordion-button i {
    width: 25px;
    text-align: center;
    color: #F2B705;
}

.legal-content-draw {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.legal-input-check:checked ~ .legal-content-draw {
    max-height: 1000px;
    transition: max-height 0.8s ease-in-out;
}

.legal-card-body {
    padding: 25px;
    color: #F2F2F2;
    line-height: 1.8;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.legal-list li {
    margin-bottom: 10px;
}

.legal-list span {
    color: #8A8A8A;
    font-weight: bold;
    margin-right: 5px;
}

/* Estilo para que se sepa que está abierto */
.legal-input-check:checked ~ .accordion-button {
    background: rgba(242, 183, 5, 0.2);
    border-bottom: 1px solid rgba(242, 183, 5, 0.3);
}