/* MS RMS Frontend Styles */

/* Processing overlay */
#ms-rms-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    justify-content: center;
    align-items: center;
}
#ms-rms-overlay .ms-rms-overlay-box {
    background: #fff;
    border-radius: 12px;
    padding: 36px 48px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 240px;
}
.ms-rms-spinner-ring {
    width: 44px;
    height: 44px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: ms-rms-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes ms-rms-spin { to { transform: rotate(360deg); } }
.ms-rms-overlay-msg {
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* Error toast */
#ms-rms-payment-error {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: #fff;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999999;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
