/* Professional Donation Form Styles */
#pdm-donation-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.pdm-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pdm-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.pdm-header p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.pdm-toggle-container {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.pdm-toggle {
    display: flex;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdm-toggle-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #666;
}

.pdm-toggle-btn.active {
    background: #667eea;
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pdm-options-container {
    display: none;
    padding: 30px;
}

.pdm-options-container.active {
    display: block;
}

.pdm-amounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.monthly-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pdm-amount-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pdm-amount-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.pdm-amount-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pdm-amount {
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 20px;
    display: block;
    line-height: 1.2;
}

.pdm-frequency {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.8;
}

.pdm-impact {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
    display: block;
    margin-top: 8px;
}

.pdm-amount-card.selected .pdm-impact {
    opacity: 0.9;
}

.pdm-donor-info, .pdm-payment-info {
    padding: 30px;
    background: #fff;
}

.pdm-donor-info h3, .pdm-payment-info h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.pdm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.pdm-form-group label {
    display: block;
    margin-bottom: 20px;
    color: #333;
    font-weight: 500;
}

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

.pdm-form-group input:focus,
.pdm-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pdm-bank-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.pdm-bank-notice strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.pdm-bank-notice p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.pdm-submit-container {
    padding: 0 30px 30px;
}

.pdm-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pdm-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.pdm-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.pdm-message {
    margin: 20px 30px;
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.pdm-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pdm-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pdm-header {
        padding: 30px 20px 20px;
    }
    
    .pdm-header h2 {
        font-size: 24px;
    }
    
    .pdm-toggle-container,
    .pdm-options-container,
    .pdm-donor-info,
    .pdm-payment-info {
        padding: 20px;
    }
    
    .pdm-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .pdm-amounts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pdm-amount-card {
        padding: 20px;
    }
    
    .pdm-amount {
        font-size: 28px;
    }
    
    .pdm-submit-container {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .pdm-toggle {
        flex-direction: column;
        gap: 4px;
    }
    
    .pdm-toggle-btn {
        text-align: center;
    }
}