.payment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.payment-modal-overlay.active {
    visibility: visible;
    opacity: 1;
}

.payment-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    background: #fff;
    width: 90%;
    max-width: 400px;
    z-index: 10000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 24px;
}

.payment-modal.active {
    transform: translate(-50%, -50%);
    visibility: visible;
    opacity: 1;
}

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

.payment-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1A237E;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}

.payment-modal-body .form-group {
    margin-bottom: 16px;
}

.payment-modal-body label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 500;
}

.payment-modal-body input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
}

.payment-modal-body input:focus {
    border-color: #1A237E;
}

.error-msg {
    display: block;
    color: red;
    font-size: 12px;
    margin-top: 4px;
    min-height: 14px;
}

.payment-messages {
    margin-bottom: 15px;
}

.payment-modal-footer {
    margin-top: 24px;
}

.submit-btn.full-width {
    width: 100%;
    padding: 12px;
    background: #1A237E;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.submit-btn.full-width:hover {
    background: #283593;
}

.submit-btn.full-width:disabled {
    background: #9fa8da;
    cursor: not-allowed;
}

.msg-success {
    padding: 10px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 4px;
    font-size: 14px;
}

.msg-error {
    padding: 10px;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    font-size: 14px;
}
