/* Manual Payment Gateway - Client Styles */

/* Payment Modal - Perfex CRM Style */
#mpgPaymentModal .modal-dialog {
    max-width: 650px;
}

#mpgPaymentModal .modal-content {
    border-radius: 6px;
    border: none;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

#mpgPaymentModal .modal-header {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: #fff;
    border-radius: 6px 6px 0 0;
    padding: 15px 20px;
    border-bottom: none;
}

#mpgPaymentModal .modal-header .close {
    color: #fff;
    opacity: 0.9;
    font-size: 24px;
    font-weight: 300;
    text-shadow: none;
}

#mpgPaymentModal .modal-header .close:hover {
    opacity: 1;
}

#mpgPaymentModal .modal-title {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
}

#mpgPaymentModal .modal-body {
    padding: 25px 30px;
}

/* Offline Payment Section on Invoice */
.mpg-offline-payment-section {
    margin-top: 20px;
}

/* Gateway Radio Buttons */
.mpg-gateway-radio {
    margin-right: 8px;
}

/* Gateway Button Links */
.mpg-gateway-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: #4e73df;
    border: none;
    color: #fff !important;
    display: inline-block;
    margin: 3px 0;
    text-decoration: none !important;
}

.mpg-gateway-btn:hover {
    background: #224abe;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(78, 115, 223, 0.25);
}

.mpg-gateway-btn i {
    margin-right: 6px;
}

/* Loading State */
.mpg-loading {
    text-align: center;
    padding: 40px 20px;
}

.mpg-loading i {
    color: #4e73df;
}

.mpg-loading p {
    color: #6c757d;
    margin-top: 10px;
}

/* Alert Messages */
.mpg-offline-payment-section .alert {
    margin-bottom: 0;
    border-radius: 4px;
}

/* Status Labels in Client View */
.mpg-status-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.mpg-status-pending {
    background: #fff3cd;
    color: #856404;
}

.mpg-status-approved {
    background: #d4edda;
    color: #155724;
}

.mpg-status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Text Colors */
.text-primary {
    color: #4e73df !important;
}

.text-danger {
    color: #e74a3b !important;
}

.text-info {
    color: #4e73df !important;
}

/* Responsive */
@media (max-width: 768px) {
    #mpgPaymentModal .modal-dialog {
        margin: 10px;
    }

    #mpgPaymentModal .modal-body {
        padding: 20px 15px;
    }

    .mpg-gateway-btn {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
}

/* Custom Off-line Section matching Perfex style */
.mpg-custom-offline-section {
    margin-top: 15px;
}

.mpg-custom-offline-section p.bold {
    margin-bottom: 8px;
}

.mpg-custom-offline-section .bold {
    font-weight: 600;
    color: #333;
}