/* IntaSend Donation Button Styles - Modern Clean Design */

.intasend-donation-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.intasend-donation-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.donation-header {
    background: linear-gradient(135deg, #8BC34A 0%, #7CB342 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.donation-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.donation-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.donation-description {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 400;
}

.donation-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 28px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.amount-option {
    position: relative;
}

.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.amount-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #F9FAFB;
    min-height: 80px;
}

.currency-symbol {
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
}

.amount-value {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    line-height: 1;
    margin-top: 4px;
}

.amount-option input[type="radio"]:checked + .amount-label {
    background: #8BC34A;
    border-color: #8BC34A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.amount-option input[type="radio"]:checked + .amount-label .currency-symbol,
.amount-option input[type="radio"]:checked + .amount-label .amount-value {
    color: white;
}

.amount-label:hover {
    border-color: #8BC34A;
    background: #F0F9FF;
}

.amount-option input[type="radio"]:checked + .amount-label:hover {
    background: #7CB342;
    border-color: #7CB342;
}

.custom-amount-wrapper {
    position: relative;
}

.custom-amount-wrapper input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #F9FAFB;
    color: #1F2937;
    font-weight: 500;
}

.custom-amount-wrapper input::placeholder {
    color: #9CA3AF;
}

.custom-amount-wrapper input:focus {
    outline: none;
    border-color: #8BC34A;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.monthly-option-wrapper {
    margin-top: 16px;
    padding: 16px;
    background: #F0F9FF;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.monthly-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.monthly-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #8BC34A;
}

.monthly-text {
    font-size: 15px;
    font-weight: 500;
    color: #1F2937;
}

.monthly-option-wrapper:has(input:checked) {
    background: #E8F5E9;
    border-color: #8BC34A;
}

.donor-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.donor-info input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #F9FAFB;
    color: #1F2937;
}

.donor-info input::placeholder {
    color: #9CA3AF;
}

.donor-info input:focus {
    outline: none;
    border-color: #8BC34A;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.1);
}

.donate-button {
    width: 100%;
    padding: 18px 24px;
    background: #8BC34A;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.donate-button:hover {
    background: #7CB342;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(139, 195, 74, 0.4);
}

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

.donate-button:disabled {
    background: #D1D5DB;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.button-icon {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.donate-button:hover .button-icon {
    transform: translateX(3px);
}

.donation-error-message {
    margin: 20px 30px 0;
    padding: 14px 16px;
    background: #FEE2E2;
    border-left: 4px solid #EF4444;
    border-radius: 6px;
    color: #991B1B;
    font-size: 14px;
    display: none;
}

.donation-success-message {
    margin: 20px 30px 0;
    padding: 14px 16px;
    background: #D1FAE5;
    border-left: 4px solid #10B981;
    border-radius: 6px;
    color: #065F46;
    font-size: 14px;
    display: none;
}

.donation-loading {
    display: none;
    text-align: center;
    color: #8BC34A;
    margin-top: 16px;
    font-weight: 500;
    font-size: 14px;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #E5E7EB;
    border-top-color: #8BC34A;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 16px 30px 24px;
    font-size: 12px;
    color: #9CA3AF;
}

.secure-badge svg {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intasend-donation-container {
        border-radius: 12px;
    }
    
    .donation-header {
        padding: 32px 24px;
    }
    
    .donation-title {
        font-size: 22px;
    }
    
    .donation-form {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .amount-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .amount-label {
        flex-direction: row;
        justify-content: center;
        gap: 4px;
        padding: 16px;
        min-height: auto;
    }
    
    .currency-symbol {
        font-size: 16px;
    }
    
    .amount-value {
        font-size: 24px;
        margin-top: 0;
    }
    
    .donation-icon {
        font-size: 40px;
        margin-bottom: 12px;
    }
    
    .donation-title {
        font-size: 20px;
    }
    
    .donation-description {
        font-size: 14px;
    }
}
