.wp-midtrans-donation-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wp-midtrans-donation-form .form-row {
    margin-bottom: 15px;
}

.wp-midtrans-donation-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wp-midtrans-donation-form input[type="text"],
.wp-midtrans-donation-form input[type="email"],
.wp-midtrans-donation-form input[type="tel"],
.wp-midtrans-donation-form input[type="number"],
.wp-midtrans-donation-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Currency Selector */
.currency-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.currency-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.currency-option:hover {
    border-color: #4CAF50;
    background: #f8fff8;
}

.currency-option input[type="radio"] {
    margin-right: 8px;
}

.currency-option input[type="radio"]:checked + .currency-label {
    color: #4CAF50;
    font-weight: bold;
}

.currency-option:has(input[type="radio"]:checked) {
    border-color: #4CAF50;
    background: #f0f9f0;
}

.currency-label {
    display: block;
}

.currency-label strong {
    display: block;
    margin-bottom: 4px;
}

.currency-label small {
    color: #666;
    font-size: 12px;
}

/* Currency Info */
.currency-info {
    margin-top: 10px;
    padding: 12px;
    background: #e8f4f8;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
}

.conversion-notice {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.conversion-notice .dashicons {
    margin-right: 8px;
    color: #2196F3;
}

.current-rate {
    font-size: 14px;
    color: #333;
}

/* Suggested Amounts */
.wp-midtrans-donation-form .suggested-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.wp-midtrans-donation-form .amount-option {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    flex: 1;
    min-width: 100px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.wp-midtrans-donation-form .amount-option:hover,
.wp-midtrans-donation-form .amount-option.selected {
    background: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.wp-midtrans-donation-form .custom-amount {
    background: #f1f1f1;
}

/* Amount Info */
.amount-info {
    margin-top: 10px;
}

.wp-midtrans-donation-form .min-amount-note {
    font-size: 12px;
    color: #777;
    margin: 5px 0;
}

/* Conversion Preview */
.conversion-preview {
    margin-top: 15px;
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
}

.conversion-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
}

.conversion-arrow {
    color: #4CAF50;
    font-size: 18px;
}

.original-amount {
    color: #2196F3;
}

.converted-amount {
    color: #4CAF50;
}

/* Submit Button */
.wp-midtrans-donation-form .donation-submit-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.wp-midtrans-donation-form .donation-submit-button:hover {
    background: #45a049;
}

/* Messages */
.wp-midtrans-donation-form .donation-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.wp-midtrans-donation-form .donation-message.success {
    background: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.wp-midtrans-donation-form .donation-message.error {
    background: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.wp-midtrans-donation-form .donation-message.loading {
    background: #fcf8e3;
    border: 1px solid #faebcc;
    color: #8a6d3b;
}

/* Confirmation Modal */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-body {
    padding: 20px;
}

.confirmation-details {
    margin-bottom: 20px;
}

.donor-info,
.donation-info {
    margin-bottom: 20px;
}

.donor-info h4,
.donation-info h4 {
    margin: 0 0 10px 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.conversion-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.conversion-notice {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 4px;
    /* border-left: 4px solid #2196F3; */
}

.final-amount {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-midtrans-donation-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .currency-selector {
        flex-direction: column;
        gap: 10px;
    }
    
    .wp-midtrans-donation-form .suggested-amounts {
        flex-direction: column;
    }
    
    .wp-midtrans-donation-form .amount-option {
        min-width: auto;
    }
    
    .conversion-details {
        flex-direction: column;
        gap: 5px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}
