.rms-overlaylay {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    overflow: auto;
    background: rgba(8, 18, 35, .58);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.rms-loader-card {
    display: flex;
    align-items: center;
    gap: 22px;
    width: min(430px, calc(100vw - 40px));
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 26px 70px rgba(2, 8, 23, .30), 0 4px 14px rgba(2, 8, 23, .12);
    color: #0f172a;
    font-family: "Segoe UI", Arial, sans-serif;
}
.rms-loader-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}
.rms-loader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-right-color: #2563eb;
    border-radius: 50%;
    animation: rms-loader-spin 1s linear infinite;
}
.rms-loader-ring-secondary {
    inset: 7px;
    border-width: 2px;
    border-color: #fee2e2;
    border-bottom-color: #dc2626;
    animation-duration: 1.45s;
    animation-direction: reverse;
}
.rms-loader-logo-shell {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .12);
}
.rms-loader-logo-shell img {
    display: block;
    width: 46px;
    height: 38px;
    object-fit: contain;
}
.reloader-wrapper {
    min-width: 0;
    flex: 1;
}
.reloader-title {
    display: block;
    margin-bottom: 6px;
    color: #172033;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.35;
}
.reloader-message {
    display: block;
    color: #64748b;
    font-size: 11px;
    line-height: 1.55;
}
.reloader-progress {
    position: relative;
    display: block;
    height: 4px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef7;
}
.reloader-progress span {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -42%;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #2563eb, #1d4ed8);
    animation: rms-loader-progress 1.25s ease-in-out infinite;
}
@keyframes rms-loader-spin {
    to { transform: rotate(360deg); }
}
@keyframes rms-loader-progress {
    0% { left: -42%; }
    55%, 100% { left: 100%; }
}
@media (max-width: 520px) {
    .rms-loader-card {
        gap: 16px;
        padding: 21px 20px;
        border-radius: 16px;
    }
    .rms-loader-visual {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }
    .rms-loader-logo-shell {
        width: 44px;
        height: 44px;
    }
    .rms-loader-logo-shell img {
        width: 39px;
        height: 32px;
    }
    .reloader-title {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .rms-loader-ring,
    .reloader-progress span {
        animation-duration: 2.5s;
    }
}
