 .donation-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.7);
    }
    
    .password-container {
        position: relative;
        width: 100%;
    }
    
    .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #888;
    }
    
    .toggle-password:hover {
        color: #333;
    }
    
    .donation-modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
    }
    
    .close-modal {
        color: #aaa;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .close-modal:hover {
        color: #333;
    }
    
    .donation-summary {
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 30px;
    }
    
    .donation-summary h3 {
        margin-top: 0;
        color: var(--primary-color);
        font-size: 18px;
    }
    
    .donor-form h3 {
        margin-bottom: 20px;
        font-size: 20px;
        color: var(--bg-dark);
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
    }
    
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        transition: all 0.3s;
    }
    
    input:focus,
    textarea:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
    }
    
    #card-element {
        padding: 12px;
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    #card-element.StripeElement--focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
    }
    
    #card-errors {
        color: #c62828;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .btn-donate {
        padding: 14px 30px;
        background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
        color: white;
        border: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.3s;
        width: 100%;
        margin-top: 20px;
        box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
    }
    
    .btn-donate:hover {
        background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    }
    
    .donation-benefits {
        background-color: rgba(30, 136, 229, 0.05);
        padding: 20px;
        border-radius: 10px;
        margin-top: 30px;
    }
    
    .donation-benefits h3 {
        font-size: 18px;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    
    .benefits-list {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }
    
    .benefits-list li {
        padding: 8px 0;
        display: flex;
        align-items: center;
    }
    
    .benefits-list li::before {
        content: "\f058";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: var(--primary-color);
        margin-right: 10px;
    }
    
    .tax-info {
        margin-top: 20px;
        font-style: italic;
        color: var(--text-light);
    }
    
    @media (max-width: 768px) {
        .form-row {
            grid-template-columns: 1fr;
        }
    }
/* Modal Mentions Légales */
    .modal-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 2000;
        opacity: 0;
        transition: opacity 0.3s ease;
        padding: 20px; /* Pour gérer l’espace sur petits écrans */
        box-sizing: border-box;
    }
    
    .modal-overlay.visible {
        opacity: 1;
    }
    
    .modal-content {
        position: relative;
        width: 80%;
        max-width: 900px;
        margin: 50px auto;
        background: white;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        transform: translateY(-30px);
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease;
    }
    
    .modal-overlay.visible .modal-content {
        transform: translateY(0);
        opacity: 1;
    }
    
    .modal-close {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 30px;
        color: var(--text-light);
        cursor: pointer;
        transition: color 0.3s ease;
    }
    
    .modal-close:hover {
        color: var(--red-color);
    }
    
    .modal-content h2 {
        position: relative;
        color: white;
        padding: 15px 25px;
        margin: -30px -30px 30px -30px;
        background: var(--main-gradient);
        border-radius: 15px 15px 0 0;
        font-size: 24px;
        text-align: center;
        font-weight: bold;
    }
    
    .modal-body {
        max-height: 70vh;
        overflow-y: auto;
        padding-right: 15px;
    }
    
    .modal-section {
        margin-bottom: 25px;
        border-bottom: 1px solid rgba(0, 74, 173, 0.1);
        padding-bottom: 15px;
    }
    
    .modal-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .modal-section h3 {
        color: #a30404;
        font-size: 15px;
        margin-bottom: 15px;
    }
    
    .modal-section p, 
    .modal-section ul {
        margin-bottom: 15px;
        line-height: 1.6;
        font-size: 12px;
    }
    
    .modal-section ul {
        padding-left: 20px;
    }
    
    .modal-section li {
        margin-bottom: 5px;
    }
    
    .modal-section a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .modal-section a:hover {
        color: var(--gradient-start);
        text-decoration: underline;
    }
    
    @media (max-width: 768px) {
        .modal-content {
            width: 95%;
            margin: 61px auto;
            padding: 20px;
        }
        
        .modal-content h2 {
            margin: -20px -20px 20px -20px;
            font-size: 20px;
            padding: 12px 15px;
        }
        
        .modal-body {
            max-height: 80vh;
        }
        
        .modal-section h3 {
            font-size: 16px;
        }
        
        .modal-section p, 
        .modal-section ul {
            font-size: 12px;
        }
    }
    
    @media (max-width: 480px) {
        .modal-content {
            padding: 15px;
            margin: 20px auto;
        }
        
        .modal-content h2 {
            margin: -15px -15px 15px -15px;
            font-size: 18px;
            padding: 10px;
        }
        
        .modal-close {
            top: 10px;
            right: 15px;
            font-size: 24px;
        }
        
        .modal-section {
            margin-bottom: 15px;
            padding-bottom: 10px;
        }
    }
    