/* ============================================================
   Rate-limit modal — shared across all pages
   ============================================================ */

.rl-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.rl-backdrop.rl-visible {
    opacity: 1;
    pointer-events: auto;
}

.rl-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.75rem 1.75rem;
    max-width: 360px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
    transform: translateY(16px) scale(0.96);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rl-backdrop.rl-visible .rl-modal {
    transform: translateY(0) scale(1);
}


.rl-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fef3c7;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}

.rl-icon-wrap .material-symbols-outlined {
    font-size: 1.9rem;
    color: #d97706;
    font-variation-settings: 'FILL' 1;
}


.rl-title {
    font-family: var(--font-primary, 'Manrope', 'Tajawal', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy, #1e293b);
    line-height: 1.3;
}


.rl-body {
    font-size: 0.875rem;
    color: var(--text-muted, #64748b);
    line-height: 1.65;
    margin: 0 0 0.5rem;
}


.rl-btn {
    width: 100%;
    margin-top: 0.25rem;
}
