/* ALA Donation Plugin Styles */
.ala-donation-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ala-donation-title {
    color: #1e3a8a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 3px solid #dc2626;
    padding-bottom: 15px;
}

.ala-donation-description {
    color: #4b5563;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ala-donation-form {
    margin-bottom: 40px;
}

.ala-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.ala-form-row .ala-form-group {
    flex: 1;
}

.ala-form-group {
    margin-bottom: 20px;
}

.ala-form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.ala-form-group input,
.ala-form-group select,
.ala-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.ala-form-group input:focus,
.ala-form-group select:focus,
.ala-form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.ala-amount-input {
    position: relative;
    display: flex;
    align-items: center;
}

.ala-currency {
    position: absolute;
    left: 16px;
    color: #6b7280;
    font-weight: 600;
    z-index: 1;
}

.ala-amount-input input {
    padding-left: 35px;
}

.ala-amount-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.ala-amount-btn {
    background: #f3f4f6;
    border: 2px solid #d1d5db;
    color: #374151;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.ala-amount-btn:hover {
    background: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.ala-amount-btn.active {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.ala-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ala-checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
}

.ala-checkbox-group label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ala-form-actions {
    text-align: center;
    margin-top: 30px;
}

.ala-submit-btn {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.ala-submit-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.ala-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ala-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.ala-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.ala-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.ala-donation-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #1e3a8a;
    margin-top: 40px;
}

.ala-donation-info h4 {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 25px;
}

.ala-donation-info h4:first-child {
    margin-top: 0;
}

.ala-donation-info p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ala-donation-info a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

.ala-donation-info a:hover {
    text-decoration: underline;
}

.ala-tax-info {
    background: #fef3c7;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f59e0b;
    margin-top: 20px;
}

.ala-tax-info small {
    color: #92400e;
    font-style: italic;
}

/* Loading state */
.ala-donation-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.ala-donation-form.loading .ala-submit-btn::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .ala-donation-form-container {
        padding: 20px;
        margin: 10px;
    }
    
    .ala-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .ala-amount-buttons {
        justify-content: center;
    }
    
    .ala-amount-btn {
        flex: 1;
        min-width: 80px;
    }
    
    .ala-donation-title {
        font-size: 24px;
    }
    
    .ala-submit-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .ala-donation-form-container {
        padding: 15px;
    }
    
    .ala-donation-title {
        font-size: 20px;
    }
    
    .ala-amount-buttons {
        flex-direction: column;
    }
    
    .ala-amount-btn {
        width: 100%;
    }
}

/* Print styles */
@media print {
    .ala-donation-form-container {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .ala-submit-btn {
        display: none;
    }
}

