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

.payment-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

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

.payment-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.payment-modal-close:hover {
    color: #333;
}

.payment-modal-body {
    padding: 20px;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.payment-option {
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-option:hover {
    border-color: #007cba;
    box-shadow: 0 4px 12px rgba(0,124,186,0.15);
}

.payment-icon {
    font-size: 48px;
    color: #007cba;
    margin-bottom: 15px;
}

.payment-option h4 {
    margin: 10px 0;
    color: #333;
}

.payment-option p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-payment-select {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-payment-select:hover {
    background: #005a87;
}

.direct-payment-page {
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.direct-payment-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

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

.direct-payment-header h2 {
    margin: 0;
    color: #333;
}

.btn-back-to-modal {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.direct-payment-body {
    padding: 20px;
}

.company-payment-info, .payment-confirmation {
    margin-bottom: 30px;
}

.company-payment-info h3, .payment-confirmation h3 {
    color: #333;
    margin-bottom: 15px;
}

.payment-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.payment-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.payment-detail label {
    font-weight: 600;
    color: #555;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-confirm-payment {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.btn-confirm-payment:hover {
    background: #218838;
}

@media (max-width: 768px) {
    .payment-options {
        grid-template-columns: 1fr;
    }
}

