/* Safta Donations - Modern Eye-Catching Design */
.safta-donation-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    padding: 0 1rem;
}

.safta-donation-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.safta-donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(178,22,200,0.02) 0%, rgba(178,22,200,0.01) 100%);
    pointer-events: none;
}

.safta-donation-card > * {
    position: relative;
    z-index: 1;
}

.safta-donation-card h3 {
    color: #2c3e50;
    margin: 0 0 2rem 0;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.safta-donation-card h4 {
    color: #2c3e50;
    margin: 2rem 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Modern Toggle Switch */
.safta-toggle-wrap {
    display: flex;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 6px;
    margin-bottom: 2rem;
    border: 2px solid #e9ecef;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.safta-toggle {
    flex: 1;
    text-align: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.safta-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #B216C8;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.safta-toggle input {
    display: none;
}

.safta-toggle .toggle-label {
    display: block;
    color: #6c757d;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.safta-toggle:has(input:checked)::before {
    opacity: 1;
}

.safta-toggle:has(input:checked) .toggle-label {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.safta-toggle:hover .toggle-label {
    color: #B216C8;
    transform: translateY(-1px);
}

/* Enhanced Amount Selection */
.amount-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.safta-amount-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-option {
    cursor: pointer;
    position: relative;
}

.amount-option input {
    display: none;
}

.amount-button {
    display: block;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.amount-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #B216C8;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
    z-index: 0;
}

.amount-button strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: #2c3e50;
}

.amount-price {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: #2c3e50;
}

.amount-button small {
    display: inline;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-left: 0.25rem;
    position: relative;
    z-index: 1;
    color: #2c3e50;
}

.amount-option input:checked + .amount-button::before {
    opacity: 1;
}

.amount-option input:checked + .amount-button {
    border-color: #B216C8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178,22,200,0.3);
    background: #B216C8 !important;
    color: #ffffff !important;
}

.amount-option input:checked + .amount-button * {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.amount-option:hover .amount-button {
    border-color: #B216C8;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(178,22,200,0.2);
}

/* Custom Amount Styling */
.custom-amount {
    grid-column: 1 / -1;
    position: relative;
}

.simple-custom-input {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 1000;
}

.simple-amount-input {
    width: 150px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #ffffff;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    outline: none;
    cursor: text;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.simple-amount-input::placeholder {
    color: #999999;
}

.simple-amount-input:focus {
    border-color: #B216C8;
    box-shadow: 0 0 0 0.2rem rgba(178, 22, 200, 0.25);
}


.custom-amount input[type="radio"]:checked + label.amount-button {
    padding-right: 220px;
}

/* Payment Methods Section */
.safta-payment-methods {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 3px solid #B216C8;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.safta-payment-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(178, 22, 200, 0.05) 0%, rgba(178, 22, 200, 0.02) 100%);
    border-radius: 20px;
    pointer-events: none;
}

.safta-payment-methods > * {
    position: relative;
    z-index: 1;
}

.safta-payment-methods h4 {
    color: #2c3e50;
    margin: 0 0 2rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.5px;
}

.required-asterisk {
    color: #B216C8;
    font-weight: bold;
    font-size: 1.2em;
}

.payment-method-options {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.payment-method-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    flex: 1;
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.payment-method-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
}

.payment-method-option:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(178, 22, 200, 0.5);
}

.payment-method-option:hover::before {
    opacity: 1;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option input[type="radio"] + .payment-method-label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-method-option input[type="radio"] + .payment-method-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #6c757d;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    flex-shrink: 0;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label::before {
    background: #B216C8;
    border-color: #B216C8;
    box-shadow: inset 0 0 0 4px #ffffff, 0 0 0 3px rgba(178, 22, 200, 0.3);
    transform: scale(1.1);
}

.payment-method-option input[type="radio"]:checked {
    background: rgba(178, 22, 200, 0.1);
    border-color: #B216C8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(178, 22, 200, 0.2);
}

.payment-method-option input[type="radio"]:checked::before {
    opacity: 1;
}

.payment-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid #B216C8;
    animation: fadeInUp 0.5s ease-out;
}

.payment-details h5 {
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.payment-details .safta-billing-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.payment-details .safta-billing-info h5 {
    text-align: left;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.payment-details .form-row {
    margin-bottom: 1.5rem;
}

.payment-details .form-row span {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

.payment-details .form-row input {
    background: #ffffff;
    border: 2px solid #e9ecef;
    color: #2c3e50;
    font-weight: 500;
}

.payment-details .form-row input::placeholder {
    color: #999999;
}

.payment-details .form-row input:focus {
    border-color: #B216C8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(178, 22, 200, 0.2);
}

.payment-details .form-row.error input {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.payment-details .form-row.error span {
    color: #e74c3c;
}

.payment-instructions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    backdrop-filter: blur(10px);
    text-align: center;
}

.payment-instructions p {
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

.check-address,
.zelle-email {
    background: linear-gradient(135deg, rgba(178, 22, 200, 0.3) 0%, rgba(178, 22, 200, 0.2) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #B216C8;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 5px 15px rgba(178, 22, 200, 0.2);
    word-break: break-all;
    overflow-wrap: break-word;
    hyphens: auto;
}

.check-address strong,
.zelle-email strong {
    color: #B216C8;
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    word-break: break-all;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Form Styles */
.form-row {
    margin-bottom: 1.5rem;
}

.form-row.error input {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-row.error label {
    color: #dc3545;
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-row label {
    display: block;
}

.form-row span {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.form-row input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #2c3e50;
    font-weight: 500;
}

.form-row input::placeholder {
    color: #999999;
}

.form-row input:focus {
    outline: none;
    border-color: #B216C8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(178,22,200,0.1);
    transform: translateY(-1px);
}

/* Modern Submit Button */
.safta-submit-button {
    width: 100%;
    background: #B216C8;
    color: #ffffff;
    border: none;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 2rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(178, 22, 200, 0.3);
}

.safta-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.safta-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(178, 22, 200, 0.4);
}

.safta-submit-button:hover::before {
    left: 100%;
}

.safta-submit-button:active {
    transform: translateY(0);
}

.safta-submit-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.form-row.error .g-recaptcha {
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 0.5rem;
    background: rgba(220, 53, 69, 0.1);
}

/* Enhanced Messages */
.safta-message {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid;
}

.safta-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #155724;
    border-color: rgba(40, 167, 69, 0.3);
}

.safta-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Security Notice */
.safta-security-notice {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
    font-weight: 500;
}

/* Loading State */
.safta-submit-button .button-loading {
    display: none;
}

.safta-submit-button.loading .button-text {
    display: none;
}

.safta-submit-button.loading .button-loading {
    display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .safta-donation-wrapper {
        margin: 1rem;
        padding: 0 0.5rem;
    }
    
    .safta-donation-card {
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .safta-donation-card h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .safta-amount-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .amount-button {
        min-height: 70px;
        padding: 1.25rem 0.75rem;
    }
    
    .amount-button strong {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .amount-price {
        font-size: 0.9rem;
    }
    
    .form-row.two-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .safta-toggle {
        padding: 0.875rem 1rem;
    }
    
    .safta-toggle .toggle-label {
        font-size: 1rem;
    }
    
    .amount-button {
        padding: 1.25rem 0.75rem;
        font-size: 1rem;
    }
    
    .payment-method-options {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .payment-method-option {
        padding: 1rem 1.25rem;
        min-width: auto;
        justify-content: flex-start;
    }
    
    .payment-method-option input[type="radio"] + .payment-method-label {
        justify-content: flex-start;
    }
    
    .safta-payment-methods {
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .payment-instructions {
        padding: 1.5rem;
    }
    
    .basic-custom-input {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        margin-top: 0.75rem !important;
        font-size: 1.2rem !important;
        min-height: 40px !important;
        padding: 1rem !important;
    }
    
    .custom-amount input[type="radio"]:checked + label.amount-button {
        padding-right: 1rem;
    }
    
    .safta-submit-button {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .safta-donation-card {
        padding: 1.5rem 1rem;
    }
    
    .safta-amount-buttons {
        grid-template-columns: 1fr;
    }
    
    .amount-button {
        min-height: 60px;
        padding: 1rem 0.75rem;
    }
    
    .amount-button strong {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .amount-price {
        font-size: 0.85rem;
    }
    
    .safta-toggle-wrap {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    
    .safta-toggle {
        padding: 0.75rem;
    }
    
    .payment-method-options {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .payment-method-option {
        padding: 1.25rem 1rem;
        justify-content: flex-start;
    }
    
    .payment-method-option input[type="radio"] + .payment-method-label {
        justify-content: flex-start;
    }
    
    .safta-payment-methods {
        padding: 1.75rem;
        margin: 1.75rem 0;
        border-radius: 15px;
    }
    
    .payment-instructions {
        padding: 1.25rem;
    }
    
    .check-address,
    .zelle-email {
        padding: 1rem 1rem;
        word-break: break-all;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 1.5rem -0.5rem;
        width: calc(100% + 1rem);
    }
    
    .check-address strong,
    .zelle-email strong {
        font-size: 14px;
        line-height: 1.4;
        word-break: break-all;
    }
}

#safta-success-modal .nonprofit-info {
    background: rgba(178, 22, 200, 0.1) !important;
    padding: 15px !important;
    /*margin: 15px 0 !important;*/
    border-radius: 8px !important;
    border: 1px solid rgba(178, 22, 200, 0.3) !important;
    font-size: 0.9em !important;
    text-align: center;
    display: block !important;
    visibility: visible !important;
}

#safta-success-modal .nonprofit-info p {
    margin: 0 !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}



/* reCAPTCHA styling */
.g-recaptcha {
    margin: 1rem 0;
    transform: scale(0.95);
    transform-origin: 0 0;
}

#recaptcha-container {
    margin: 1rem 0;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#recaptcha-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 4px;
}

/* Mobile reCAPTCHA adjustments */
@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.8);
        overflow: hidden;
        height: 78px; /* Adjust height for smaller scale */
    }
    
    #recaptcha-container {
        min-height: 60px;
        transform: scale(0.8);
        transform-origin: left center;
    }
}

/* Animation for form appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.safta-donation-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for better interactivity */
.amount-option:hover .amount-button {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Focus states for accessibility */
.safta-toggle:focus-within {
    outline: 2px solid #B216C8;
    outline-offset: 2px;
}

.amount-option:focus-within .amount-button {
    outline: 2px solid #B216C8;
    outline-offset: 2px;
}

/* Success Modal Styles */
.safta-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.safta-modal-content {
    background: #ffffff;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.4s ease-out;
}

.safta-modal-header {
    text-align: center;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
}

.safta-logo {
    margin-bottom: 1rem;
}

.safta-modal-header .nonprofit-info {
    background: rgba(178, 22, 200, 0.1) !important;
    padding: 15px !important;
    margin: 1rem auto !important;
    border-radius: 8px;
    border: 1px solid rgba(178, 22, 200, 0.3);
    max-width: 90%;
    font-size: 0.9em;
    text-align: left;
    display: block !important;
    visibility: visible !important;
}

.safta-logo img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.safta-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #B216C8;
    letter-spacing: 2px;
    text-align: center;
}

.safta-modal-body {
    padding: 2rem;
}

.safta-success-message p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #2c3e50;
}

.safta-thank-you {
    font-size: 1.3rem;
    font-weight: 600;
    color: #B216C8;
    text-align: center;
    margin-bottom: 2rem !important;
}

.safta-thank-you .donor-name,
.safta-thank-you .donation-amount {
    font-weight: 700;
    color: #2c3e50;
}

.safta-description {
    font-size: 1.1rem;
    text-align: center;
    font-style: italic;
}

.safta-privacy {
    font-size: 0.95rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #B216C8;
}

.safta-transaction {
    text-align: center;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.safta-transaction .transaction-id {
    color: #B216C8;
    font-family: monospace;
}

.safta-closing {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0 !important;
}

.safta-modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.safta-modal-close {
    background: #B216C8;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.safta-modal-close:hover {
    background: #9a12a8;
    transform: translateY(-1px);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .safta-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .safta-modal-header,
    .safta-modal-body,
    .safta-modal-footer {
        padding: 1.5rem;
    }
    
    .safta-logo img {
        max-width: 100px;
    }
    
    .safta-logo-text {
        font-size: 1.2rem;
    }
    
    .safta-thank-you {
        font-size: 1.1rem;
    }
    
    .safta-description {
        font-size: 1rem;
    }
}