.conditions-generales-section {
    position: relative;
}

.conditions-generales-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.conditions-generales-heading h2 {
    margin-bottom: 0.35rem;
}

.conditions-generales-intro {
    margin: 0;
    color: #667085;
}

.conditions-generales-list {
    display: grid;
    gap: 1rem;
}

.conditions-generales-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.conditions-generales-item-main {
    min-width: 0;
    flex: 1 1 auto;
}

.conditions-generales-item h3 {
    margin: 0 0 0.75rem;
    color: #111827;
}

.conditions-generales-item p,
.conditions-generales-item ul {
    margin-top: 0;
    color: #475467;
    line-height: 1.65;
}

.conditions-generales-item p:last-child,
.conditions-generales-item ul:last-child {
    margin-bottom: 0;
}

.conditions-generales-item ul {
    padding-left: 1.25rem;
}

.conditions-generales-admin-note {
    margin: 0 0 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(237, 175, 0, 0.4);
    border-radius: 10px;
    background: #fff8df;
    color: #6f4e00;
    font-size: 0.9rem;
    font-weight: 700;
}

.conditions-generales-add-button,
.conditions-generales-admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.conditions-generales-add-button {
    flex: 0 0 auto;
    padding: 0.65rem 0.9rem;
    background: #111111;
    color: #ffffff;
}

.conditions-generales-add-button:hover,
.conditions-generales-add-button:focus-visible {
    background: #2b2b2b;
    transform: translateY(-1px);
}

.conditions-generales-admin-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.5rem;
}

.conditions-generales-admin-button {
    min-width: 40px;
    padding: 0.55rem 0.7rem;
    background: #ffffff;
    color: #111827;
    border-color: rgba(17, 24, 39, 0.15);
}

.conditions-generales-admin-button:hover,
.conditions-generales-admin-button:focus-visible {
    border-color: #edaf00;
    background: #fff8df;
}

.conditions-generales-admin-button.is-delete:hover,
.conditions-generales-admin-button.is-delete:focus-visible {
    border-color: #b42318;
    background: #fff1f0;
    color: #b42318;
}

.conditions-generales-add-button:disabled,
.conditions-generales-admin-button:disabled {
    opacity: 0.55;
    cursor: wait;
    transform: none;
}

.conditions-generales-empty {
    padding: 1.5rem;
    border: 1px dashed rgba(17, 24, 39, 0.2);
    border-radius: 12px;
    color: #667085;
    text-align: center;
}

.conditions-generales-load-status {
    min-height: 1.2rem;
    margin-top: 0.75rem;
    color: #667085;
    font-size: 0.82rem;
}

.conditions-generales-load-status.is-error {
    color: #b42318;
}

.conditions-generales-swal-field {
    width: 100%;
    margin: 0 0 0.85rem;
    padding: 0.75rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    color: #111827;
    font: inherit;
    text-align: left;
}

textarea.conditions-generales-swal-field {
    min-height: 210px;
    resize: vertical;
}

@media (max-width: 760px) {
    .conditions-generales-heading,
    .conditions-generales-item {
        flex-direction: column;
    }

    .conditions-generales-add-button {
        width: 100%;
    }

    .conditions-generales-admin-actions {
        width: 100%;
    }

    .conditions-generales-admin-button {
        flex: 1 1 0;
    }
}

.conditions-generales-item-content {
    color: #475467;
    line-height: 1.65;
}

.conditions-generales-item-content br + br {
    display: block;
    content: "";
    margin-top: 0.75rem;
}
