@font-face {
    font-family: "Vazirmatn";
    src: url("/assets/fonts/Vazirmatn.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --radar-bg: #eef4f8;
    --radar-card: #ffffff;
    --radar-primary: #0f4c5c;
    --radar-primary-strong: #0b3945;
    --radar-accent: #1f7a8c;
    --radar-text: #132026;
    --radar-muted: #64748b;
    --radar-border: #d9e2ea;
    --radar-danger: #b42318;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    background: var(--radar-bg);
    color: var(--radar-text);
}

.radar-login-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(31, 122, 140, .18), transparent 36rem),
        linear-gradient(135deg, #eef4f8 0%, #f8fbfd 100%);
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.radar-login-shell {
    width: min(100%, 980px);
    display: grid;
    grid-template-columns: 1fr 420px;
    background: var(--radar-card);
    border: 1px solid var(--radar-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 76, 92, .16);
}

.radar-login-hero {
    padding: 3rem;
    background: linear-gradient(135deg, var(--radar-primary), var(--radar-primary-strong));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4rem;
}

.radar-brand-badge {
    width: fit-content;
    padding: .45rem .8rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-size: .85rem;
    color: rgba(255,255,255,.86);
}

.radar-login-hero h1 {
    margin: 1.25rem 0 .75rem;
    font-size: 2rem;
    line-height: 1.8;
}

.radar-login-hero p {
    margin: 0;
    line-height: 2;
    color: rgba(255,255,255,.8);
}

.radar-login-panel {
    padding: 3rem 2.5rem;
}

.radar-login-panel h2 {
    margin: 0 0 .5rem;
    font-size: 1.45rem;
}

.radar-hint,
.radar-muted {
    color: var(--radar-muted);
    line-height: 1.9;
}

.radar-field {
    margin-bottom: 1.15rem;
}

.radar-field label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
}

.radar-input {
    width: 100%;
    border: 1px solid var(--radar-border);
    border-radius: 14px;
    padding: .9rem 1rem;
    font: inherit;
    outline: none;
    transition: border .2s, box-shadow .2s;
}

.radar-input:focus {
    border-color: var(--radar-accent);
    box-shadow: 0 0 0 4px rgba(31, 122, 140, .12);
}

.radar-error {
    margin-top: .45rem;
    color: var(--radar-danger);
    font-size: .9rem;
    line-height: 1.8;
}

.radar-remember {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--radar-muted);
    margin: .75rem 0 1.5rem;
}

.radar-button {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: .95rem 1rem;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--radar-primary);
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.radar-button:hover {
    background: var(--radar-primary-strong);
    transform: translateY(-1px);
}

.radar-security-note {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px dashed var(--radar-border);
    border-radius: 14px;
    color: var(--radar-muted);
    line-height: 1.9;
    font-size: .9rem;
}

.radar-admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.radar-sidebar {
    background: linear-gradient(180deg, var(--radar-primary), var(--radar-primary-strong));
    color: #fff;
    padding: 1.5rem;
}

.radar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2rem;
}

.radar-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.radar-brand strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: .25rem;
}

.radar-brand span {
    color: rgba(255,255,255,.74);
    line-height: 1.8;
    font-size: .86rem;
}

.radar-nav {
    display: grid;
    gap: .5rem;
}

.radar-nav a,
.radar-logout-button {
    display: block;
    width: 100%;
    text-align: right;
    text-decoration: none;
    color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: .85rem 1rem;
    font: inherit;
    cursor: pointer;
}

.radar-nav a:hover,
.radar-logout-button:hover {
    background: rgba(255,255,255,.15);
}

.radar-content {
    padding: 1.5rem;
}

.radar-topbar {
    background: var(--radar-card);
    border: 1px solid var(--radar-border);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radar-topbar h1 {
    font-size: 1.25rem;
    margin: 0;
}

.radar-user-chip {
    color: var(--radar-muted);
    font-size: .92rem;
}

.radar-card {
    background: var(--radar-card);
    border: 1px solid var(--radar-border);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 10px 35px rgba(15, 76, 92, .06);
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.radar-stat strong {
    display: block;
    font-size: 1.8rem;
    margin-bottom: .35rem;
}

.radar-stat span {
    color: var(--radar-muted);
}

.radar-notice {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .radar-admin-shell,
    .radar-login-shell {
        grid-template-columns: 1fr;
    }

    .radar-grid {
        grid-template-columns: 1fr;
    }

    .radar-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .radar-login-hero,
    .radar-login-panel {
        padding: 2rem;
    }
}

/* ===== RADAR Auth UX v1 - mobile-first, responsive, local, CDN-free ===== */
:root {
    --radar-auth-primary: #0F5B6A;
    --radar-auth-primary-dark: #0B4550;
    --radar-auth-primary-soft: #D9EDF1;
    --radar-auth-bg: #EEF5F7;
    --radar-auth-surface: #FFFFFF;
    --radar-auth-surface-alt: #F7FAFB;
    --radar-auth-border: #D7E2E7;
    --radar-auth-text: #0F172A;
    --radar-auth-muted: #526071;
    --radar-auth-soft: #7B8794;
    --radar-auth-error: #DC2626;
    --radar-auth-success: #16A34A;
    --radar-auth-warning: #D97706;
    --radar-auth-info: #2563EB;
    --radar-auth-shadow: 0 18px 44px rgba(15, 23, 42, .10);
}

.radar-auth-body {
    min-height: 100vh;
    margin: 0;
    direction: rtl;
    color: var(--radar-auth-text);
    background:
        radial-gradient(circle at top right, rgba(15, 91, 106, .12), transparent 22rem),
        linear-gradient(135deg, var(--radar-auth-bg), #f8fbfc);
}

.radar-auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 0;
    padding: .85rem;
}

.radar-auth-shell-single {
    justify-content: center;
}

.radar-auth-brand-panel,
.radar-auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.radar-auth-brand-panel {
    order: 1;
    padding: .75rem .4rem 0;
    color: var(--radar-auth-text);
}

.radar-auth-form-panel {
    order: 2;
    padding: .75rem .25rem;
}

.radar-auth-brand-card {
    width: min(100%, 28rem);
    padding: .85rem 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(215, 226, 231, .9);
    text-align: center;
    backdrop-filter: blur(8px);
}

.radar-auth-logo {
    width: 4.5rem;
    height: auto;
    margin: 0 auto .75rem;
}

.radar-auth-card-logo {
    width: 4.25rem;
    height: auto;
    margin: 0 auto .8rem;
}

.radar-auth-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .32rem .72rem;
    border-radius: 999px;
    background: var(--radar-auth-primary-soft);
    border: 1px solid rgba(15, 91, 106, .12);
    color: var(--radar-auth-primary-dark);
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: .7rem;
}

.radar-auth-brand-card h1 {
    margin: 0;
    font-size: clamp(1.35rem, 6vw, 2rem);
    font-weight: 900;
}

.radar-auth-brand-card p {
    margin: .45rem 0 0;
    color: var(--radar-auth-muted);
    line-height: 1.8;
    font-size: .9rem;
}

.radar-auth-brand-note {
    display: none;
}

.radar-auth-card {
    width: min(100%, 30rem);
    padding: clamp(1rem, 4.8vw, 2rem);
    border-radius: 1.15rem;
    background: var(--radar-auth-surface);
    border: 1px solid rgba(215, 226, 231, .95);
    box-shadow: var(--radar-auth-shadow);
}

.radar-auth-header {
    text-align: center;
    margin-bottom: 1.15rem;
}

.radar-auth-header h2 {
    margin: 0;
    font-size: clamp(1.3rem, 6vw, 1.75rem);
    font-weight: 900;
    color: var(--radar-auth-text);
}

.radar-auth-header p {
    margin: .5rem 0 0;
    color: var(--radar-auth-muted);
    font-size: .9rem;
    line-height: 1.9;
}

.radar-auth-field {
    display: grid;
    gap: .45rem;
    margin-bottom: .95rem;
}

.radar-auth-field label {
    font-weight: 800;
    font-size: .9rem;
    color: var(--radar-auth-text);
}

.radar-auth-field input,
.radar-auth-otp-input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--radar-auth-border);
    border-radius: .9rem;
    background: var(--radar-auth-surface-alt);
    padding: .85rem 1rem;
    color: var(--radar-auth-text);
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.radar-auth-field input:focus,
.radar-auth-otp-input:focus {
    border-color: var(--radar-auth-primary);
    box-shadow: 0 0 0 4px rgba(15, 91, 106, .14);
    background: #fff;
}

.radar-auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .55rem 0 1rem;
    color: var(--radar-auth-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.radar-auth-checkbox input {
    margin-top: .25rem;
}

.radar-auth-primary-button,
.radar-auth-primary-link {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 3.05rem;
    padding: .82rem 1rem;
    border-radius: .9rem;
    border: 0;
    background: var(--radar-auth-primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.radar-auth-primary-button:hover,
.radar-auth-primary-link:hover {
    background: var(--radar-auth-primary-dark);
}

.radar-auth-primary-button:active,
.radar-auth-primary-link:active {
    transform: translateY(1px);
}

.radar-auth-alert {
    padding: .78rem .9rem;
    border-radius: .9rem;
    margin-bottom: .9rem;
    font-size: .88rem;
    line-height: 1.8;
}

.radar-auth-alert-error {
    background: rgba(220, 38, 38, .08);
    border: 1px solid rgba(220, 38, 38, .18);
    color: var(--radar-auth-error);
}

.radar-auth-alert-success {
    background: rgba(22, 163, 74, .08);
    border: 1px solid rgba(22, 163, 74, .18);
    color: var(--radar-auth-success);
}

.radar-auth-security-notice {
    margin-top: 1.1rem;
    padding: .82rem;
    border-radius: .9rem;
    background: #E0F2FE;
    color: #075985;
    font-size: .8rem;
    line-height: 1.85;
    text-align: center;
}

.radar-auth-footer {
    display: grid;
    gap: .25rem;
    margin-top: 1.1rem;
    color: var(--radar-auth-soft);
    font-size: .72rem;
    line-height: 1.8;
    text-align: center;
}

.radar-auth-otp-group {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .35rem;
    margin: 1.15rem 0 1rem;
}

.radar-auth-otp-input {
    height: clamp(2.65rem, 13vw, 3.35rem);
    padding: 0;
    text-align: center;
    font-size: clamp(1rem, 5vw, 1.35rem);
    font-weight: 900;
}

.radar-auth-timer {
    margin: .9rem 0;
    padding: .72rem .9rem;
    border-radius: .9rem;
    background: rgba(217, 119, 6, .08);
    border: 1px solid rgba(217, 119, 6, .16);
    color: var(--radar-auth-warning);
    text-align: center;
    font-size: .88rem;
    line-height: 1.8;
}

.radar-auth-timer.is-expired {
    background: rgba(220, 38, 38, .08);
    border-color: rgba(220, 38, 38, .18);
    color: var(--radar-auth-error);
}

.radar-auth-secondary-form {
    margin-top: .75rem;
    text-align: center;
}

.radar-auth-link-button,
.radar-auth-muted-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: .72rem;
    border: 0;
    background: transparent;
    color: var(--radar-auth-primary);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.radar-auth-state-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: .9rem;
}

.radar-auth-state-card {
    width: min(100%, 30rem);
    padding: clamp(1rem, 5vw, 2rem);
    border-radius: 1.15rem;
    background: var(--radar-auth-surface);
    border: 1px solid var(--radar-auth-border);
    box-shadow: var(--radar-auth-shadow);
    text-align: center;
}

.radar-auth-state-icon {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin: .65rem auto .9rem;
    border-radius: 999px;
    background: var(--radar-auth-primary-soft);
    color: var(--radar-auth-primary);
    font-weight: 900;
}

.radar-auth-state-card h1 {
    margin: 0;
    font-size: clamp(1.25rem, 6vw, 1.55rem);
    font-weight: 900;
}

.radar-auth-state-card p {
    margin: .75rem 0 1.1rem;
    color: var(--radar-auth-muted);
    line-height: 1.9;
}

@media (min-width: 480px) {
    .radar-auth-shell {
        padding: 1rem;
    }

    .radar-auth-card,
    .radar-auth-state-card {
        border-radius: 1.25rem;
    }

    .radar-auth-otp-group {
        gap: .5rem;
    }
}

@media (min-width: 768px) {
    .radar-auth-shell {
        padding: 1.25rem;
    }

    .radar-auth-brand-note {
        display: block;
        margin-top: 1.2rem;
        padding: .9rem;
        border-radius: 1rem;
        color: var(--radar-auth-muted);
        background: rgba(15, 91, 106, .06);
        border: 1px solid rgba(15, 91, 106, .10);
        line-height: 1.9;
        font-size: .9rem;
    }

    .radar-auth-card-logo {
        width: 4.75rem;
    }
}

@media (min-width: 1024px) {
    .radar-auth-shell {
        grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
        padding: 0;
    }

    .radar-auth-shell-single {
        grid-template-columns: minmax(420px, 540px);
        padding: 1.5rem;
    }

    .radar-auth-brand-panel {
        order: 1;
        padding: 2rem;
        background: linear-gradient(145deg, var(--radar-auth-primary-dark), #102b34);
        color: #fff;
    }

    .radar-auth-form-panel {
        order: 2;
        padding: 2rem;
    }

    .radar-auth-brand-card {
        max-width: 26rem;
        padding: 0;
        background: transparent;
        border: 0;
        color: #fff;
        text-align: right;
        backdrop-filter: none;
    }

    .radar-auth-logo {
        width: 6rem;
        margin: 0 0 1.5rem;
    }

    .radar-auth-badge {
        background: rgba(217, 237, 241, .14);
        border-color: rgba(217, 237, 241, .25);
        color: #dff7fb;
    }

    .radar-auth-brand-card h1 {
        color: #fff;
    }

    .radar-auth-brand-card p {
        color: rgba(255, 255, 255, .82);
    }

    .radar-auth-brand-note {
        margin-top: 2.5rem;
        padding: 1rem;
        color: rgba(255, 255, 255, .78);
        background: rgba(255, 255, 255, .08);
        border-color: rgba(255, 255, 255, .12);
    }
}


/* ===== RADAR Login copy polish - remove top brand box, keep mobile-first ===== */
.radar-auth-shell.radar-auth-shell-single .radar-auth-brand-panel {
    display: none;
}

.radar-auth-header-note {
    margin-top: .55rem;
    padding: .65rem .8rem;
    border-radius: .85rem;
    background: rgba(15, 91, 106, .06);
    border: 1px solid rgba(15, 91, 106, .10);
    color: var(--radar-auth-muted);
    font-size: .84rem;
    line-height: 1.85;
}

@media (min-width: 1024px) {
    .radar-auth-shell.radar-auth-shell-single {
        grid-template-columns: minmax(360px, 520px);
        place-content: center;
    }
}

/* ===== RADAR Login responsive polish - visual feedback round ===== */
.radar-auth-login-body {
    min-height: 100svh;
    overflow-x: hidden;
}

.radar-auth-login-shell {
    min-height: 100svh;
    align-content: start;
    padding: .3rem .75rem .45rem;
}

.radar-auth-login-shell .radar-auth-form-panel {
    align-items: flex-start;
    padding: .15rem 0;
}

.radar-auth-login-shell .radar-auth-card {
    padding: clamp(.82rem, 3.2vw, 1.35rem);
    margin-top: 0;
}

.radar-auth-login-shell .radar-auth-card-logo {
    width: clamp(3.25rem, 12vw, 4.15rem);
    margin-bottom: .32rem;
}

.radar-auth-login-shell .radar-auth-header {
    margin-bottom: .78rem;
}

.radar-auth-login-shell .radar-auth-header h2 {
    font-size: clamp(1.22rem, 5vw, 1.55rem);
    line-height: 1.35;
}

.radar-auth-login-shell .radar-auth-header > p:not(.radar-auth-header-note) {
    margin-top: .22rem;
    white-space: nowrap;
    font-size: clamp(.72rem, 2.65vw, .9rem);
    line-height: 1.55;
}

.radar-auth-login-shell .radar-auth-header-note,
.radar-auth-login-shell .radar-auth-security-notice {
    white-space: nowrap;
    padding: .42rem .46rem;
    font-size: clamp(.56rem, 2.42vw, .8rem);
    line-height: 1.55;
    letter-spacing: -.01em;
}

.radar-auth-login-shell .radar-auth-header-note {
    margin-top: .42rem;
}

.radar-auth-login-shell .radar-auth-security-notice {
    margin-top: .72rem;
}

.radar-auth-login-shell .radar-auth-footer {
    margin-top: .7rem;
}

.radar-auth-primary-button,
.radar-auth-primary-link,
.radar-auth-link-button,
.radar-auth-muted-link {
    font-family: inherit;
}

.radar-auth-primary-button {
    font-size: .95rem;
    line-height: 1.5;
    letter-spacing: 0;
}

.radar-auth-footer a {
    color: var(--radar-auth-primary);
    font-weight: 800;
    text-decoration: none;
}

.radar-auth-footer a:hover {
    color: var(--radar-auth-primary-dark);
    text-decoration: underline;
}

@media (max-width: 360px) {
    .radar-auth-login-shell {
        padding-inline: .45rem;
    }

    .radar-auth-login-shell .radar-auth-card {
        padding-inline: .68rem;
    }

    .radar-auth-login-shell .radar-auth-header-note,
    .radar-auth-login-shell .radar-auth-security-notice {
        font-size: .52rem;
        padding-inline: .32rem;
    }
}

@media (min-width: 480px) {
    .radar-auth-login-shell {
        align-content: center;
        padding: .75rem;
    }

    .radar-auth-login-shell .radar-auth-card {
        padding: 1.2rem 1.35rem;
    }
}

@media (min-width: 1024px) {
    .radar-auth-login-shell {
        padding: 1rem;
    }

    .radar-auth-login-shell .radar-auth-card {
        padding: 1.35rem 1.55rem;
    }
}

/* ===== RADAR Login security notice overflow fix and logo emphasis ===== */
.radar-auth-login-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(3.8rem, 13vw, 4.6rem);
    height: clamp(3.8rem, 13vw, 4.6rem);
    margin: 0 auto .35rem;
    border-radius: 1.1rem;
    background: rgba(15, 91, 106, .06);
    border: 1px solid rgba(15, 91, 106, .10);
}

.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 78%;
    max-width: 3.6rem;
    margin: 0;
}

.radar-auth-login-shell .radar-auth-security-notice {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    box-sizing: border-box;
    font-size: clamp(.62rem, 2.25vw, .78rem);
    padding-inline: .36rem;
}

@media (max-width: 360px) {
    .radar-auth-login-shell .radar-auth-security-notice {
        font-size: .56rem;
        padding-inline: .24rem;
    }

    .radar-auth-login-logo-wrap {
        width: 3.45rem;
        height: 3.45rem;
        margin-bottom: .22rem;
    }
}

/* ===== RADAR approved login logo size polish ===== */
.radar-auth-login-logo-wrap {
    width: clamp(4.35rem, 13.8vw, 5.25rem);
    height: clamp(4.35rem, 13.8vw, 5.25rem);
}

.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 92%;
    max-width: 4.65rem;
    height: auto;
    object-fit: contain;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap {
        width: 3.95rem;
        height: 3.95rem;
    }

    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        width: 92%;
        max-width: 3.65rem;
    }
}

/* ===== RADAR approved logo image enlargement inside existing login box ===== */
/* Keep the logo box/container size unchanged; only enlarge the image inside it. */
.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 96%;
    max-width: none;
    height: auto;
    object-fit: contain;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        width: 96%;
        max-width: none;
    }
}

/* ===== RADAR force logo visual scale inside unchanged login box ===== */
/* The wrapper size stays unchanged; only the approved logo image is visually scaled. */
.radar-auth-login-logo-wrap {
    overflow: hidden;
}

.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain;
    transform: scale(1.38);
    transform-origin: center center;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        transform: scale(1.34);
    }
}

/* ===== RADAR login logo frame-safe final sizing ===== */
/* Keep the logo box unchanged; keep the approved logo away from the frame edges. */
.radar-auth-login-logo-wrap {
    overflow: hidden;
}

.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 88% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain;
    transform: none !important;
    transform-origin: center center;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        width: 86% !important;
        transform: none !important;
    }
}

/* ===== RADAR login title removal and logo balanced enlargement ===== */
/* Box size remains unchanged; only the image grows inside the current frame. */
.radar-auth-login-shell .radar-auth-header h2 {
    display: none;
}

.radar-auth-login-logo-wrap {
    overflow: hidden;
}

.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 94% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain;
    transform: none !important;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        width: 92% !important;
        transform: none !important;
    }
}

/* ===== RADAR login logo exact 97 percent sizing ===== */
/* Keep the logo box unchanged; set only the approved logo image to 97%. */
.radar-auth-login-logo-wrap .radar-auth-card-logo {
    width: 97% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain;
    transform: none !important;
}

@media (max-width: 360px) {
    .radar-auth-login-logo-wrap .radar-auth-card-logo {
        width: 97% !important;
        transform: none !important;
    }
}

.radar-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
}

.radar-role-chip {
    color: var(--radar-primary);
    background: rgba(31, 122, 140, .09);
    border: 1px solid rgba(31, 122, 140, .18);
    border-radius: 999px;
    padding: .45rem .75rem;
    font-size: .9rem;
    font-weight: 700;
}

.radar-active-role-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(31, 122, 140, .08);
    border: 1px solid rgba(31, 122, 140, .16);
    border-radius: 999px;
    padding: .35rem .45rem .35rem .75rem;
}

.radar-active-role-form label {
    color: var(--radar-muted);
    font-size: .86rem;
    font-weight: 700;
}

.radar-active-role-form select {
    min-width: 150px;
    border: 1px solid var(--radar-border);
    border-radius: 999px;
    background: #fff;
    color: var(--radar-text);
    padding: .45rem .7rem;
    font: inherit;
    outline: none;
}

.radar-active-role-form button {
    border: 0;
    border-radius: 999px;
    background: var(--radar-primary);
    color: #fff;
    padding: .48rem .75rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.radar-active-role-form button:hover {
    background: var(--radar-primary-strong);
}

.radar-flash {
    margin: 0 0 1rem;
    border-radius: 16px;
    padding: .85rem 1rem;
    line-height: 1.9;
    font-weight: 700;
}

.radar-flash-success {
    color: var(--radar-primary-strong);
    background: rgba(31, 122, 140, .1);
    border: 1px solid rgba(31, 122, 140, .18);
}

.radar-flash-danger {
    color: var(--radar-danger);
    background: rgba(180, 35, 24, .08);
    border: 1px solid rgba(180, 35, 24, .18);
}

@media (max-width: 820px) {
    .radar-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .radar-topbar-actions,
    .radar-active-role-form {
        align-items: stretch;
        flex-direction: column;
    }

    .radar-active-role-form {
        border-radius: 16px;
    }

    .radar-active-role-form select,
    .radar-active-role-form button {
        width: 100%;
    }
}


/* ===== RADAR Admin mobile off-canvas sidebar ===== */
.radar-sidebar-overlay {
    display: none;
}

.radar-topbar-heading {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-width: 0;
}

.radar-sidebar-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: var(--radar-primary);
    color: #fff;
    font: inherit;
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 76, 92, .16);
}

.radar-sidebar-toggle:hover {
    background: var(--radar-primary-strong);
}

@media (max-width: 900px) {
    .radar-admin-shell {
        display: block;
        min-height: 100vh;
    }

    .radar-content {
        min-width: 0;
        padding: 1rem;
    }

    .radar-sidebar-toggle {
        display: inline-flex;
    }

    .radar-sidebar {
        position: fixed;
        inset-block: 0;
        right: 0;
        width: min(300px, 86vw);
        z-index: 70;
        overflow-y: auto;
        transform: translateX(105%);
        transition: transform .22s ease;
        box-shadow: -24px 0 60px rgba(15, 23, 42, .28);
    }

    body.radar-sidebar-open .radar-sidebar {
        transform: translateX(0);
    }

    .radar-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 65;
        background: rgba(15, 23, 42, .46);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
        backdrop-filter: blur(6px);
    }

    body.radar-sidebar-open .radar-sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.radar-sidebar-open {
        overflow: hidden;
    }

    .radar-topbar {
        align-items: stretch;
    }

    .radar-topbar-heading {
        justify-content: space-between;
        width: 100%;
    }

    .radar-topbar-heading h1 {
        line-height: 1.8;
    }
}

/* ===== RADAR compact active role topbar switch ===== */
.radar-topbar-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--radar-border);
    border-radius: 14px;
    background: #fff;
    color: var(--radar-primary);
    font: inherit;
    font-size: 1.15rem;
    font-weight: 950;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 76, 92, .06);
}

.radar-topbar-icon-button:hover,
.radar-active-role-menu.is-open .radar-topbar-icon-button {
    border-color: rgba(31, 122, 140, .32);
    background: rgba(31, 122, 140, .09);
    color: var(--radar-primary-strong);
}

.radar-active-role-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.radar-active-role-panel {
    position: absolute;
    top: calc(100% + .6rem);
    left: 0;
    z-index: 45;
    display: none;
    width: min(260px, 82vw);
    padding: .65rem;
    border: 1px solid var(--radar-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 52px rgba(15, 23, 42, .16);
}

.radar-active-role-menu.is-open .radar-active-role-panel {
    display: block;
}

.radar-active-role-panel-title {
    display: grid;
    gap: .2rem;
    padding: .35rem .45rem .55rem;
    border-bottom: 1px solid var(--radar-border);
    margin-bottom: .45rem;
}

.radar-active-role-panel-title span {
    color: var(--radar-muted);
    font-size: .78rem;
    font-weight: 800;
}

.radar-active-role-panel-title strong {
    color: var(--radar-text);
    font-size: .9rem;
    line-height: 1.8;
}

.radar-active-role-options {
    display: grid;
    gap: .35rem;
}

.radar-active-role-option {
    width: 100%;
    min-height: 2.45rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .55rem .65rem;
    border: 1px solid transparent;
    border-radius: 13px;
    background: transparent;
    color: var(--radar-text);
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    text-align: right;
    cursor: pointer;
}

.radar-active-role-option:hover {
    background: rgba(31, 122, 140, .08);
}

.radar-active-role-option.is-active {
    border-color: rgba(31, 122, 140, .24);
    background: rgba(31, 122, 140, .11);
    color: var(--radar-primary-strong);
}

.radar-active-role-option small {
    flex: 0 0 auto;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: rgba(31, 122, 140, .12);
    color: var(--radar-primary);
    font-size: .7rem;
    font-weight: 900;
}

@media (max-width: 820px) {
    .radar-active-role-menu {
        align-self: flex-start;
    }

    .radar-active-role-panel {
        left: auto;
        right: 0;
        width: min(260px, calc(100vw - 2rem));
    }
}

/* ===== RADAR Avat-like admin topbar and dashboard parity ===== */
.radar-content {
    padding: 22px;
}

.radar-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(217, 226, 234, .88);
    border-radius: 24px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
    backdrop-filter: blur(14px);
}

.radar-topbar-heading {
    flex: 1 1 auto;
}

.radar-page-title {
    min-width: 0;
}

.radar-page-title h1 {
    margin: 0;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 950;
    color: var(--radar-text);
}

.radar-page-title p {
    margin: 5px 0 0;
    color: var(--radar-muted);
    font-size: 13px;
    line-height: 1.8;
}

.radar-topbar-actions {
    gap: 10px;
    flex: 0 0 auto;
    flex-wrap: nowrap;
}

.radar-user-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid var(--radar-border);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    white-space: nowrap;
}

.radar-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--radar-primary);
    color: #fff;
    font-weight: 950;
}

.radar-topbar-switch-button,
.radar-topbar-logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.radar-topbar-switch-button {
    border: 1px solid var(--radar-border);
    background: #fff;
    color: #334155;
}

.radar-topbar-switch-button:hover {
    background: rgba(31, 122, 140, .08);
    color: var(--radar-primary-strong);
}

.radar-topbar-logout-form {
    margin: 0;
}

.radar-topbar-logout-button {
    border: 0;
    background: #0f172a;
    color: #fff;
}

.radar-topbar-logout-button:hover {
    background: #1e293b;
}

.radar-dashboard-shell {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.radar-dashboard-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, .22), transparent 18rem),
        linear-gradient(135deg, var(--radar-primary), var(--radar-accent));
    box-shadow: 0 20px 48px rgba(15, 76, 92, .22);
    overflow: hidden;
}

.radar-dashboard-hero h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 950;
}

.radar-dashboard-hero p {
    margin: 0;
    max-width: 760px;
    line-height: 2;
    opacity: .92;
    font-size: 14px;
}

.radar-dashboard-hero-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.radar-dashboard-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.radar-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.radar-dashboard-stat-card,
.radar-dashboard-module-card,
.radar-dashboard-wide-card {
    border: 1px solid rgba(217, 226, 234, .95);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .07);
}

.radar-dashboard-stat-card {
    grid-column: span 3;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 132px;
    padding: 18px;
    overflow: hidden;
}

.radar-dashboard-stat-card::after {
    content: "";
    position: absolute;
    inset: auto -34px -42px auto;
    width: 124px;
    height: 124px;
    border-radius: 999px;
    background: rgba(31, 122, 140, .08);
}

.radar-dashboard-stat-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(31, 122, 140, .13);
    color: var(--radar-primary);
    font-size: 22px;
    font-weight: 950;
    flex: 0 0 auto;
}

.radar-dashboard-stat-body {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.radar-dashboard-stat-label {
    margin: 0;
    color: var(--radar-muted);
    font-size: 13px;
}

.radar-dashboard-stat-value {
    margin: 8px 0 0;
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 900;
    color: #0f172a;
}

.radar-dashboard-stat-value-text {
    font-size: clamp(21px, 3vw, 28px);
}

.radar-dashboard-stat-hint {
    margin: 6px 0 0;
    color: var(--radar-primary);
    font-size: 12px;
    font-weight: 750;
}

.radar-dashboard-wide-card {
    grid-column: span 8;
    padding: 22px;
}

.radar-dashboard-side-card {
    grid-column: span 4;
    display: block;
}

.radar-dashboard-section-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
    color: var(--radar-text);
}

.radar-dashboard-module-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.radar-dashboard-module-card {
    position: relative;
    display: block;
    padding: 16px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.radar-dashboard-module-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--radar-primary), var(--radar-accent));
    opacity: .78;
}

.radar-dashboard-module-card h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
}

.radar-dashboard-module-card p {
    margin: 8px 0 0;
    color: var(--radar-muted);
    font-size: 13px;
    line-height: 1.9;
}

.radar-dashboard-module-card:hover {
    transform: translateY(-1px);
    border-color: rgba(31, 122, 140, .32);
}

.radar-dashboard-module-card.is-disabled {
    opacity: .72;
    cursor: default;
}

.radar-dashboard-module-card.is-disabled:hover {
    transform: none;
    border-color: rgba(217, 226, 234, .95);
}

.radar-dashboard-timeline {
    display: grid;
    gap: 10px;
}

.radar-dashboard-timeline-item {
    position: relative;
    padding: 12px 16px 12px 12px;
    border-radius: 16px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    line-height: 1.8;
}

.radar-dashboard-timeline-item::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--radar-primary);
}

@media (max-width: 1100px) {
    .radar-dashboard-stat-card {
        grid-column: span 6;
    }

    .radar-dashboard-wide-card,
    .radar-dashboard-side-card {
        grid-column: span 12;
    }
}

@media (max-width: 820px) {
    .radar-topbar {
        flex-direction: row;
        align-items: flex-start;
        padding: 12px;
        border-radius: 18px;
    }

    .radar-topbar-heading {
        width: auto;
        min-width: 0;
    }

    .radar-page-title p {
        display: none;
    }

    .radar-topbar-actions {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .radar-user-pill span:last-child {
        display: none;
    }

    .radar-topbar-switch-button,
    .radar-topbar-logout-button {
        min-height: 38px;
        padding: 0 10px;
        font-size: 12px;
    }

    .radar-dashboard-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .radar-dashboard-hero-meta {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .radar-content {
        padding: 10px;
        padding-bottom: 18px;
    }

    .radar-dashboard-grid {
        gap: 10px;
    }

    .radar-dashboard-stat-card,
    .radar-dashboard-wide-card,
    .radar-dashboard-side-card {
        grid-column: span 12;
        border-radius: 18px;
    }

    .radar-dashboard-stat-card {
        padding: 14px;
    }

    .radar-dashboard-wide-card {
        padding: 16px;
    }

    .radar-dashboard-module-list {
        grid-template-columns: 1fr;
    }
}

/* ===== RADAR visual correction: keep navigation inside sidebar only ===== */
.radar-topbar-actions {
    align-items: center;
    flex-wrap: nowrap;
}

.radar-user-pill {
    flex: 0 0 auto;
}

@media (max-width: 820px) {
    .radar-topbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .radar-topbar-heading {
        min-width: 0;
        width: auto;
        justify-content: flex-start;
    }

    .radar-page-title {
        min-width: 0;
    }

    .radar-page-title h1 {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(17px, 4.8vw, 20px);
    }

    .radar-topbar-actions {
        justify-content: flex-end;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .radar-user-pill {
        width: 42px;
        height: 42px;
        padding: 0;
        justify-content: center;
    }

    .radar-user-pill .radar-avatar {
        width: 30px;
        height: 30px;
    }

    .radar-topbar-icon-button,
    .radar-sidebar-toggle {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .radar-role-chip {
        position: relative;
        width: 42px;
        height: 42px;
        min-width: 42px;
        padding: 0;
        overflow: hidden;
        color: transparent;
        border-radius: 14px;
    }

    .radar-role-chip::before {
        content: "⇄";
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: var(--radar-primary);
        font-size: 1.1rem;
        font-weight: 950;
    }
}

/* Organization management */
.radar-admin-page {
    display: grid;
    gap: 1.25rem;
}

.radar-admin-hero,
.radar-admin-card,
.radar-admin-table-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.76);
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.26);
}

.radar-admin-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
}

.radar-admin-hero h2,
.radar-admin-card h2,
.radar-admin-table-card h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.12rem;
}

.radar-admin-hero p,
.radar-admin-card p,
.radar-admin-table-card p {
    margin: 0.5rem 0 0;
    color: #a7b4c8;
    line-height: 1.9;
}

.radar-admin-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0.5rem;
}

.radar-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.radar-admin-card,
.radar-admin-table-card {
    padding: 1.1rem;
}

.radar-admin-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.radar-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.radar-form-grid label {
    display: grid;
    gap: 0.35rem;
    color: #dbeafe;
    font-size: 0.86rem;
}

.radar-form-grid input,
.radar-form-grid select {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.5);
    color: #f8fafc;
    padding: 0.72rem 0.8rem;
    outline: none;
}

.radar-form-grid input:focus,
.radar-form-grid select:focus {
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.radar-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    grid-column: 1 / -1;
}

.radar-primary-button,
.radar-secondary-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    padding: 0.7rem 1rem;
}

.radar-primary-button {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #06111f;
}

.radar-secondary-button {
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.radar-table-wrap {
    overflow-x: auto;
}

.radar-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.radar-admin-table th,
.radar-admin-table td {
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 0.82rem;
    text-align: right;
    vertical-align: top;
}

.radar-admin-table th {
    color: #93c5fd;
    font-size: 0.78rem;
    white-space: nowrap;
}

.radar-admin-table td {
    color: #e5edf7;
}

.radar-admin-table small {
    display: block;
    margin-top: 0.25rem;
    color: #94a3b8;
}

.radar-status-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.radar-status-badge.is-active {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.radar-status-badge.is-inactive {
    background: rgba(248, 113, 113, 0.16);
    color: #fecaca;
}

.radar-row-actions {
    display: grid;
    gap: 0.6rem;
}

.radar-inline-editor {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    padding: 0.65rem;
    background: rgba(2, 6, 23, 0.28);
}

.radar-inline-editor summary {
    cursor: pointer;
    color: #bae6fd;
    font-weight: 800;
}

@media (max-width: 980px) {
    .radar-admin-hero,
    .radar-admin-grid {
        grid-template-columns: 1fr;
    }

    .radar-admin-hero {
        display: grid;
    }

    .radar-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Controlled areas */
.radar-form-full {
    grid-column: 1 / -1;
}

.radar-form-grid textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.5);
    color: #f8fafc;
    padding: 0.72rem 0.8rem;
    outline: none;
    resize: vertical;
}

.radar-form-grid textarea:focus {
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.radar-controlled-area-map {
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        rgba(2, 6, 23, 0.72);
    background-size: 32px 32px;
}

.radar-json-block {
    max-height: 420px;
    overflow: auto;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(2, 6, 23, 0.72);
    color: #dbeafe;
    border: 1px solid rgba(148, 163, 184, 0.18);
    direction: ltr;
    text-align: left;
}

.radar-map-empty {
    display: grid;
    place-items: center;
    min-height: 460px;
    color: #fecaca;
    font-weight: 800;
}\n\n.radar-danger-text {
    display: block;
    margin-top: 0.25rem;
    color: #fecaca;
    font-weight: 800;
}\n