/* =======================
   MODAL ANNULATION SAHEL AUTO
   ======================= */

.sa-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sa-modal {
    background: #F5F5F0; /* même fond que .card mais sans les bordures multiples */
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    font-family: var(--body-font);
}

.sa-modal-header {
    background: linear-gradient(90deg, #300b42, #D4A017);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sa-modal-header h5 {
    font-family: var(--sub-heading-font);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.sa-modal-close {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.sa-modal-body {
    padding: 1.5rem 1.25rem 1rem;
}

.sa-modal-amount {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sa-modal-amount-circle {
    width: 110px;
    height: 110px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: #D4A017;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.sa-modal-amount-value {
    font-weight: 800;
    font-size: 0.95rem;
    color: #300b42;
    text-align: center;
}

.sa-modal-amount-label {
    font-size: 0.85rem;
    color: var(--light-text-color);
    margin: 0;
}

.sa-modal-label {
    display: block;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.sa-modal-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 0.75rem;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 100px;
    outline: none;
}

.sa-modal-textarea:focus {
    border-color: #D4A017;
    box-shadow: 0 0 0 2px rgba(212, 160, 23, 0.25);
}

.sa-modal-error {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #b91c1c;
}

.sa-modal-footer {
    padding: 0.75rem 1.25rem 1.25rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.sa-modal-btn {
    border-radius: 999px;
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sa-modal-btn-secondary {
    background: #fff;
    color: var(--dark-color);
    border-color: #ddd;
}

.sa-modal-btn-secondary:hover {
    background: #f0f0f0;
}

.sa-modal-btn-primary {
    background: #D4A017;
    color: #fff;
    border-color: #D4A017;
}

.sa-modal-btn-primary:hover {
    background: #b8860b;
    border-color: #b8860b;
}

@media (max-width: 480px) {
    .sa-modal {
        max-width: 100%;
    }
}
