/* Modal Container - Top Right Position */
.payment-modal-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 9999;
    font-family: 'Source Sans Pro', sans-serif;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    border-left: 5px solid #096ad0; /* Blue accent matching site theme */
}

/* Visible State */
.payment-modal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.payment-modal-header {
    background-color: #f8f9fa;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.payment-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #096ad0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Close Button (X) */
.payment-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.payment-modal-close:hover {
    color: #343a40;
}

/* Body Content */
.payment-modal-body {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.payment-modal-body p {
    margin-bottom: 10px;
}

.payment-modal-list {
    margin: 0;
    padding-left: 20px;
    margin-bottom: 15px;
}

.payment-modal-list li {
    margin-bottom: 5px;
}

.drc-highlight {
    color: #d5a409; /* Gold/Yellow matching button hover */
    font-weight: 700;
}

/* Footer & Button */
.payment-modal-footer {
    padding: 10px 15px;
    text-align: right;
    background-color: #fff;
}

.payment-modal-btn {
    background-color: #096ad0;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.payment-modal-btn:hover {
    background-color: #074b94;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .payment-modal-container {
        width: 90%;
        right: 5%;
        left: 5%;
        top: 10px;
    }
}
