/* BOLMOL — global light stylesheet */

:root {
    --bm-bg:              #f0f2f5;
    --bm-surface:         #ffffff;
    --bm-surface-2:       #f5f6f7;
    --bm-surface-hover:   #e4e6eb;

    --bm-border:          #ced0d4;
    --bm-border-soft:     #e4e6eb;
    --bm-border-faint:    #ebedf0;

    --bm-text:            #050505;
    --bm-text-soft:       #65676b;
    --bm-text-faint:      #65676b;
    --bm-text-inverse:    #ffffff;

    --bm-primary:         #1877f2;
    --bm-primary-hover:   #166fe5;
    --bm-primary-soft:    rgba(24, 119, 242, 0.12);

    --bm-success:         #42b72a;
    --bm-success-soft:    rgba(66, 183, 42, 0.12);

    --bm-danger:          #fa383e;
    --bm-danger-hover:    #e22f35;
    --bm-danger-soft:     rgba(250, 56, 62, 0.12);

    --bm-warning:         #f7b928;
    --bm-warning-soft:    rgba(247, 185, 40, 0.16);

    --bm-radius-sm:       6px;
    --bm-radius:          10px;
    --bm-radius-lg:       14px;
    --bm-radius-pill:     999px;

    --bm-shadow-sm:       0 1px 2px rgba(0, 0, 0, 0.08);
    --bm-shadow:          0 2px 8px rgba(0, 0, 0, 0.08);
    --bm-shadow-lg:       0 8px 24px rgba(0, 0, 0, 0.10);

    --bm-topbar-height:   56px;
    --bm-container-max:   1200px;

    --bm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --bm-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    --bm-transition:      160ms ease;
    --bm-transition-fast: 90ms ease;

    --bm-z-topbar:        1000;
    --bm-z-dropdown:      1020;
    --bm-z-toast:         1080;
    --bm-z-modal:         1050;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

body.bm-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--bm-font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--bm-text);
    background: var(--bm-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--bm-primary); text-decoration: none; transition: color var(--bm-transition-fast); }
a:hover { color: var(--bm-primary-hover); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--bm-primary);
    outline-offset: 2px;
}

hr { border: 0; border-top: 1px solid var(--bm-border); margin: 16px 0; }

::selection { background: var(--bm-primary-soft); color: var(--bm-text); }

.bm-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--bm-primary);
    color: var(--bm-text-inverse);
    padding: 10px 16px;
    border-radius: 0 0 var(--bm-radius) 0;
    font-weight: 600;
    z-index: 9999;
}
.bm-skip-link:focus { left: 0; color: var(--bm-text-inverse); }

.bm-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bm-muted { color: var(--bm-text-soft) !important; }
.bm-text-soft { color: var(--bm-text-soft) !important; }
.bm-mono { font-family: var(--bm-font-mono); font-size: 0.9em; }
.min-w-0 { min-width: 0; }

code {
    font-family: var(--bm-font-mono);
    font-size: 0.9em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--bm-surface-2);
    color: var(--bm-text);
}

.bm-main {
    min-height: calc(100vh - var(--bm-topbar-height) - 140px);
    padding-top: 16px;
    padding-bottom: 40px;
}

.bm-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--bm-text-soft);
    font-size: 0.95rem;
}

.btn {
    border-radius: var(--bm-radius);
    font-weight: 600;
    transition: background var(--bm-transition-fast), border-color var(--bm-transition-fast), color var(--bm-transition-fast), box-shadow var(--bm-transition-fast);
}

.btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px var(--bm-primary-soft);
}

.btn-primary {
    background: var(--bm-primary);
    border-color: var(--bm-primary);
    color: var(--bm-text-inverse);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--bm-primary-hover);
    border-color: var(--bm-primary-hover);
    color: var(--bm-text-inverse);
}
.btn-primary:disabled { opacity: 0.55; }

.btn-outline-secondary {
    color: var(--bm-text);
    border-color: var(--bm-border);
    background: var(--bm-surface);
}
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background: var(--bm-surface-hover);
    border-color: var(--bm-border);
    color: var(--bm-text);
}

.btn-outline-primary {
    color: var(--bm-primary);
    border-color: var(--bm-primary);
    background: transparent;
}
.btn-outline-primary:hover, .btn-outline-primary:focus {
    background: var(--bm-primary-soft);
    color: var(--bm-primary);
    border-color: var(--bm-primary);
}

.btn-danger { background: var(--bm-danger); border-color: var(--bm-danger); color: var(--bm-text-inverse); }
.btn-danger:hover, .btn-danger:focus { background: var(--bm-danger-hover); border-color: var(--bm-danger-hover); color: var(--bm-text-inverse); }

.form-control, .form-select {
    background: var(--bm-surface);
    border: 1px solid var(--bm-border);
    color: var(--bm-text);
    border-radius: var(--bm-radius);
    padding: 10px 14px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.4;
}
.form-control::placeholder { color: var(--bm-text-faint); opacity: 1; }
.form-control:focus, .form-select:focus {
    background: var(--bm-surface);
    border-color: var(--bm-primary);
    color: var(--bm-text);
    box-shadow: 0 0 0 3px var(--bm-primary-soft);
    outline: 0;
}

.modal-content {
    background: var(--bm-surface);
    border: 1px solid var(--bm-border-soft);
    color: var(--bm-text);
    border-radius: var(--bm-radius-lg);
}
.modal-header, .modal-footer { border-color: var(--bm-border-soft); }

.bm-card {
    display: block;
    background: var(--bm-surface);
    border: 1px solid var(--bm-border-soft);
    border-radius: var(--bm-radius-lg);
    overflow: hidden;
    color: inherit;
    transition: box-shadow var(--bm-transition-fast), border-color var(--bm-transition-fast);
}
.bm-card:hover { border-color: var(--bm-border); box-shadow: var(--bm-shadow); color: inherit; }

.bm-card-flat {
    background: var(--bm-surface);
    border: 1px solid var(--bm-border-soft);
    border-radius: var(--bm-radius-lg);
    padding: 24px;
}

.bm-avatar    { display: inline-block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--bm-surface-2); flex-shrink: 0; }
.bm-avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--bm-surface-2); flex-shrink: 0; }

.bm-header {
    background: var(--bm-surface);
    border-bottom: 1px solid var(--bm-border-soft);
    position: sticky;
    top: 0;
    z-index: var(--bm-z-topbar);
    height: var(--bm-topbar-height);
    box-shadow: var(--bm-shadow-sm);
}

.bm-header-nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
}

.bm-header-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bm-text);
    font-weight: 800;
    text-decoration: none;
    flex-shrink: 0;
}
.bm-header-logo:hover { color: var(--bm-text); }

.bm-header-logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bm-primary);
    color: var(--bm-text-inverse);
    font-weight: 800;
    font-size: 1rem;
}

.bm-header-logo-text { letter-spacing: -0.02em; }

.bm-header-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    flex: 1;
}
.bm-header-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--bm-text-soft);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: var(--bm-radius-sm);
    transition: background var(--bm-transition-fast), color var(--bm-transition-fast);
}
.bm-header-links a:hover { color: var(--bm-text); background: var(--bm-surface-2); }

.bm-header-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.bm-header-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bm-text);
    text-decoration: none;
    max-width: 180px;
    padding: 4px 8px;
    border-radius: var(--bm-radius-pill);
    transition: background var(--bm-transition-fast);
}
.bm-header-user-link:hover { background: var(--bm-surface-2); color: var(--bm-text); }

.bm-header-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--bm-surface-2); flex-shrink: 0; }

.bm-header-username { font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.bm-header-logout { margin: 0; }
.bm-header-logout-btn {
    background: transparent;
    border: 0;
    color: var(--bm-text-soft);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--bm-radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background var(--bm-transition-fast), color var(--bm-transition-fast);
}
.bm-header-logout-btn:hover { color: var(--bm-text); background: var(--bm-surface-2); }

.bm-header-signin, .bm-header-signup {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: var(--bm-radius);
    text-decoration: none;
    transition: background var(--bm-transition-fast), color var(--bm-transition-fast);
}
.bm-header-signin { color: var(--bm-text-soft); }
.bm-header-signin:hover { color: var(--bm-text); background: var(--bm-surface-2); }
.bm-header-signup { background: var(--bm-primary); color: var(--bm-text-inverse); }
.bm-header-signup:hover { background: var(--bm-primary-hover); color: var(--bm-text-inverse); }

@media (max-width: 575.98px) {
    .bm-header-nav {
        gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .bm-header-logo img {
        display: block;
        width: clamp(92px, 30vw, 116px);
        height: auto;
    }

    .bm-header-user {
        gap: 2px;
        margin-inline-start: auto;
    }

    .bm-header-signin,
    .bm-header-signup {
        font-size: clamp(.72rem, 3.25vw, .84rem);
        padding: 7px clamp(5px, 2vw, 9px);
        white-space: nowrap;
    }

    .bm-header-links { display: none; }
    .bm-header-username { display: none; }
    .bm-header-logout-label { display: none; }
}

.bm-footer {
    border-top: 1px solid var(--bm-border-soft);
    background: var(--bm-surface);
    padding: 24px 0;
    margin-top: 40px;
}

.bm-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding-left: 16px;
    padding-right: 16px;
}

.bm-footer-brand { display: flex; flex-direction: column; gap: 2px; }
.bm-footer-logo { font-weight: 800; color: var(--bm-text); letter-spacing: -0.02em; }
.bm-footer-tagline { font-size: 0.85rem; color: var(--bm-text-soft); }

.bm-footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.bm-footer-links a { color: var(--bm-text-soft); font-size: 0.875rem; text-decoration: none; }
.bm-footer-links a:hover { color: var(--bm-text); }

.bm-footer-copy { font-size: 0.8rem; color: var(--bm-text-faint); }

@media (max-width: 575.98px) {
    .bm-footer-inner { flex-direction: column; align-items: flex-start; }
}

.bm-toast-host {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--bm-z-toast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}
.bm-toast-host .toast { pointer-events: auto; min-width: 220px; max-width: 420px; border-radius: var(--bm-radius); box-shadow: var(--bm-shadow-lg); font-size: 0.9rem; font-weight: 500; }
.bm-toast-host .toast-body { padding: 12px 14px; line-height: 1.4; word-break: break-word; }

/* ── Header gear + dropdown ───────────────────────────────── */

.bm-header-gear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--bm-text-soft);
    background: transparent;
    text-decoration: none;
    transition: background var(--bm-transition-fast), color var(--bm-transition-fast);
}

.bm-header-gear:hover,
.bm-header-gear:focus-visible {
    background: var(--bm-surface-2);
    color: var(--bm-text);
}
.bm-header-gear:focus-visible { box-shadow: 0 0 0 3px var(--bm-primary-soft); }

.bm-header-gear i {
    font-size: 1rem;
    line-height: 1;
}

.bm-header-user-dropdown {
    position: relative;
}

.bm-header-user-dropdown .bm-header-user-link {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.bm-header-user-dropdown .bm-header-user-link::after {
    margin-inline-start: 6px;
    vertical-align: middle;
    color: var(--bm-text-faint);
}

.bm-header-user-dropdown .dropdown-menu {
    border: 1px solid var(--bm-border-soft);
    border-radius: var(--bm-radius);
    box-shadow: var(--bm-shadow);
    padding: 6px;
    min-width: 200px;
    font-size: 0.9rem;
}

.bm-header-user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    border-radius: var(--bm-radius-sm);
    padding: 8px 10px;
    color: var(--bm-text);
}

.bm-header-user-dropdown .dropdown-item:hover,
.bm-header-user-dropdown .dropdown-item:focus {
    background: var(--bm-surface-hover);
    color: var(--bm-text);
}

.bm-header-user-dropdown .bm-header-logout {
    margin: 0;
}

.bm-header-user-dropdown .bm-header-logout-btn {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: start;
    font: inherit;
    cursor: pointer;
}

.bm-post-action-delete:hover:not(:disabled) {
    background: var(--bm-danger-soft);
    border-color: var(--bm-danger);
    color: var(--bm-danger);
}


/* ── Report modal ─────────────────────────────────── */
.bm-modal-backdrop {
    background: rgba(15, 23, 42, 0.5);
}

.bm-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.bm-modal[hidden] { display: none; }

.bm-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.5); }

.bm-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: var(--bm-surface);
    border: 1px solid var(--bm-border-soft);
    border-radius: var(--bm-radius-lg);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.bm-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--bm-border-soft);
}

.bm-modal-title { font-size: 1.05rem; font-weight: 700; color: var(--bm-text); margin: 0; }

.bm-modal-close {
    background: none;
    border: 0;
    color: var(--bm-text-soft);
    font-size: 1.6rem;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: var(--bm-radius-sm);
}

.bm-modal-close:hover { color: var(--bm-text); background: var(--bm-surface-hover); }

.bm-modal-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.bm-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; flex-wrap: wrap; }

/* ── Terms banner and accept page ────────────────────────── */

.bm-terms-banner {
    background: #eff6ff;
    border-bottom: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.9rem;
}

.bm-terms-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    flex-wrap: wrap;
}

.bm-terms-banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.12);
    flex-shrink: 0;
}

.bm-terms-banner-text {
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

.bm-terms-banner-btn {
    flex-shrink: 0;
}

.bm-terms-modal-lead {
    font-size: 0.92rem;
    color: var(--bm-text-soft);
    line-height: 1.55;
    margin: 0 0 14px;
}

.bm-terms-modal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--bm-text);
    cursor: pointer;
}

.bm-terms-modal-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--bm-primary);
    cursor: pointer;
}

.bm-terms-modal-links {
    margin: 12px 0 0;
    font-size: 0.8rem;
    color: var(--bm-text-soft);
}

.bm-terms-modal-links a {
    color: var(--bm-primary);
    text-decoration: none;
}

.bm-terms-modal-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#bmTermsModal .btn-close {
    opacity: 0.5;
    padding: 0.5rem;
    background-size: 1em 1em;
    transition: opacity 90ms ease;
}
#bmTermsModal .btn-close:hover,
#bmTermsModal .btn-close:focus {
    opacity: 0.9;
}

/* ── Accept page ──────────────────────────────────────────── */

.bm-terms-page {
    max-width: 520px;
    margin: 40px auto;
    padding: 0 16px;
}

.bm-terms-page-card {
    padding: 32px;
    background: var(--bm-surface);
    border: 1px solid var(--bm-border-soft);
    border-radius: var(--bm-radius-lg);
    box-shadow: var(--bm-shadow-sm);
}

.bm-terms-page-head {
    text-align: center;
    margin-bottom: 22px;
}

.bm-terms-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--bm-primary-soft);
    color: var(--bm-primary);
    font-size: 1.5rem;
}

.bm-terms-page-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--bm-text);
    margin: 0 0 6px;
}

.bm-terms-page-lead {
    font-size: 0.9rem;
    color: var(--bm-text-soft);
    line-height: 1.55;
    margin: 0;
}

.bm-terms-page-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    margin: 0 0 18px;
    border-radius: 12px;
    background: #fef3f2;
    border: 1px solid rgba(217, 45, 32, 0.28);
    color: #b91c1c;
    font-size: 0.85rem;
    line-height: 1.5;
}

.bm-terms-page-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bm-terms-page-links {
    text-align: center;
    font-size: 0.9rem;
    color: var(--bm-text-soft);
}

.bm-terms-page-links a {
    color: var(--bm-primary);
    text-decoration: none;
    font-weight: 600;
}

.bm-terms-page-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bm-terms-page-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--bm-border);
    border-radius: 12px;
    background: var(--bm-surface-2);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--bm-text);
    cursor: pointer;
}

.bm-terms-page-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--bm-primary);
    cursor: pointer;
}

.bm-terms-page-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 20px;
    background: var(--bm-primary);
    color: #ffffff;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 140ms ease;
}

.bm-terms-page-submit:hover:not(:disabled) {
    background: var(--bm-primary-hover);
}

.bm-terms-page-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bm-terms-page-foot {
    text-align: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--bm-border-soft);
}

.bm-terms-page-foot-link {
    color: var(--bm-text-soft);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.bm-terms-page-foot-link:hover {
    color: var(--bm-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Register terms checkbox ──────────────────────────────── */

.bm-register-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0 4px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--bm-rg-text-soft);
    cursor: pointer;
}

.bm-register-terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--bm-rg-primary);
    cursor: pointer;
}

.bm-register-terms-link {
    color: var(--bm-rg-primary);
    font-weight: 600;
    text-decoration: none;
}

.bm-register-terms-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── RTL ──────────────────────────────────────────────────── */

html[dir="rtl"] .bm-terms-banner-inner,
html[dir="rtl"] .bm-terms-modal-check,
html[dir="rtl"] .bm-terms-page-check,
html[dir="rtl"] .bm-register-terms-check {
    direction: rtl;
    text-align: right;
}

/* ── RTL close button flip ────────────────────────────── */

html[dir="rtl"] .modal-header .btn-close {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .bm-modal-head {
    flex-direction: row-reverse;
}

html[dir="rtl"] .bm-terms-page-foot-link,
html[dir="rtl"] .bm-terms-banner-inner {
    direction: rtl;
}
