/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ResolveDesk Layout */
.rd-app[b-64eogtzigo] {
    display: flex;
    min-height: 100vh;
}

.rd-sidebar[b-64eogtzigo] {
    width: 270px;
    /* Green-tinted shell: echoes the logo's dark facets and the dashboard hero band,
       rather than the flat neutral that previously fought the brand green. */
    background: linear-gradient(180deg, #14181F 0%, #17221C 60%, #143226 100%);
    color: var(--rd-gray-100);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    border-right: 1px solid rgba(72, 187, 120, 0.10);
}

.rd-sidebar-brand[b-64eogtzigo] {
    position: sticky;
    top: 0;
    z-index: 2;
    /* Matches the gradient's first stop so scrolled nav passes cleanly beneath it. */
    background: #14181F;
}

.rd-sidebar-nav-wrapper[b-64eogtzigo] {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.rd-sidebar-nav-wrapper[b-64eogtzigo]::-webkit-scrollbar {
    width: 4px;
}

.rd-sidebar-nav-wrapper[b-64eogtzigo]::-webkit-scrollbar-thumb {
    background: rgba(72, 187, 120, 0.30);
    border-radius: 2px;
}

.rd-sidebar-brand[b-64eogtzigo] {
    padding: 1.4rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(72, 187, 120, 0.12);
}

.rd-sidebar-logo-row[b-64eogtzigo] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* The mark's darkest facets sit close to this shell, so lift it off the background
   rather than letting them merge into it. ::deep because <BrandMark> renders the img. */
.rd-sidebar-logo-row[b-64eogtzigo]  .rd-brand-mark {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.rd-sidebar-brand h2[b-64eogtzigo] {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rd-green);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.rd-sidebar-caption[b-64eogtzigo] {
    display: block;
    margin-top: 0.35rem;
    color: var(--rd-gray-400);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rd-sidebar-nav[b-64eogtzigo] {
    display: flex;
    flex-direction: column;
    padding: 0.7rem 0.75rem;
    gap: 0.15rem;
}

.rd-nav-section-label[b-64eogtzigo] {
    padding: 0.65rem 0.7rem 0.2rem;
    color: var(--rd-gray-400);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ─── Navigation ───
   NavLink and BrandMark render their own root elements, and Blazor scoped CSS does not
   stamp the scope identifier onto a child component's output. Every rule targeting those
   elements therefore has to go through ::deep. Without it this entire block was dead CSS
   and the nav rendered as plain unstyled anchors — no pills, no padding, and the
   "New Ticket" button never appeared as a button at all. */

.rd-sidebar[b-64eogtzigo]  .rd-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.62rem 0.9rem;
    border-radius: var(--rd-radius);
    color: var(--rd-gray-400);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-link .rd-nav-label {
    line-height: 1.3;
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--rd-gray-100);
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-link.active:not(.rd-nav-link-new-ticket) {
    position: relative;
    background: linear-gradient(90deg, rgba(72, 187, 120, 0.20), rgba(72, 187, 120, 0.03));
    color: #6EE7A8;
}

/* Angular accent bar echoing the faceted mark, instead of a boxed outline. */
.rd-sidebar[b-64eogtzigo]  .rd-nav-link.active:not(.rd-nav-link-new-ticket)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 22%;
    bottom: 22%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #23D56D, #48BB78);
}

/* The icons carry their own green, so brighten them to signal the active row. */
.rd-sidebar[b-64eogtzigo]  .rd-nav-link.active .rd-nav-icon-img {
    filter: brightness(1.3);
}

/* Keyboard focus stays visible — the active state no longer relies on an outline,
   so this is now the only focus affordance. */
.rd-sidebar[b-64eogtzigo]  .rd-nav-link:focus-visible {
    outline: 2px solid #6EE7A8;
    outline-offset: 2px;
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-icon {
    width: 1.1rem;
    text-align: center;
    font-size: 0.92rem;
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-icon-img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    flex-shrink: 0;
}

/* New Ticket — prominent button at top of nav */
.rd-sidebar[b-64eogtzigo]  .rd-nav-link-new-ticket {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: var(--rd-radius);
    background: linear-gradient(135deg, #48BB78, #38A169);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    border: none;
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-link-new-ticket:hover {
    background: linear-gradient(135deg, #52C983, #48BB78);
    color: #fff;
    box-shadow: 0 6px 18px -6px rgba(72, 187, 120, 0.85);
}

.rd-sidebar[b-64eogtzigo]  .rd-nav-link-new-ticket.active {
    background: linear-gradient(135deg, #52C983, #48BB78);
    color: #fff;
}

.rd-main[b-64eogtzigo] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    min-width: 0;
    margin-left: 270px;
}

.rd-topbar[b-64eogtzigo] {
    background: #fff;
    border-bottom: 1px solid var(--rd-gray-200);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rd-tenant-name[b-64eogtzigo] {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--rd-gray-800);
}

.rd-workspace-url[b-64eogtzigo] {
    margin-top: 0.15rem;
    font-size: 0.76rem;
    color: var(--rd-gray-500);
    letter-spacing: 0.01em;
}

.rd-topbar-titles[b-64eogtzigo] {
    min-width: 0;
    flex: 1;
}

.rd-topbar-titles > *[b-64eogtzigo] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Hidden on wide screens; the sidebar is always visible there. */
.rd-nav-toggle[b-64eogtzigo] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex-shrink: 0;
    margin-right: 0.65rem;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    background: #fff;
    color: var(--rd-gray-700);
    cursor: pointer;
}

.rd-nav-toggle:hover[b-64eogtzigo] {
    background: var(--rd-gray-100);
}

.rd-nav-scrim[b-64eogtzigo] {
    display: none;
}

.rd-topbar-section[b-64eogtzigo] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rd-gray-500);
    margin-bottom: 0.15rem;
}

.rd-content[b-64eogtzigo] {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

#blazor-error-ui[b-64eogtzigo] {
    background: #c62828;
    color: white;
    padding: 0.5rem 1rem;
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
}

#blazor-error-ui .reload[b-64eogtzigo] {
    color: #fff;
    text-decoration: underline;
}

#blazor-error-ui .dismiss[b-64eogtzigo] {
    cursor: pointer;
    margin-left: 1rem;
}

/* A customer's own logo, given a light plate so an arbitrary mark stays legible
   against the dark shell regardless of its own colours. */
.rd-tenant-logo[b-64eogtzigo] {
    background: #fff;
    border-radius: 6px;
    padding: 3px;
    object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════════════════════════════
   Narrow viewports

   The shell previously had no media queries at all. The sidebar is a fixed 270px and
   .rd-main carried a hard margin-left: 270px, so below roughly 700px the topbar's contents
   could not fit: they overflowed to the right and carried anything right-aligned — the user
   menu in particular — off the visible area, where it could not even be clicked. Below the
   breakpoint the sidebar becomes an off-canvas drawer and the main column reclaims the full
   width. Toggling is plain HTML/JS (js/shell-nav.js): the shell renders statically, so a
   Blazor event handler here would never run.
   ══════════════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .rd-main[b-64eogtzigo] {
        margin-left: 0;
    }

    .rd-sidebar[b-64eogtzigo] {
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        box-shadow: 0 0 32px rgba(0, 0, 0, 0.35);
    }

    /* Keyed off the sidebar's own class, not an ancestor's: a descendant selector here
       matched in the DOM but did not win, and a same-element rule cannot be ambiguous. */
    .rd-sidebar.rd-nav-open[b-64eogtzigo] {
        transform: translateX(0);
    }

    .rd-nav-toggle[b-64eogtzigo] {
        display: inline-flex;
    }

    .rd-nav-scrim[b-64eogtzigo] {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(15, 23, 20, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .rd-nav-scrim.rd-nav-open[b-64eogtzigo] {
        opacity: 1;
        pointer-events: auto;
    }

    .rd-content[b-64eogtzigo] {
        padding: 1rem;
    }
}

/* Keep a wide table inside its card instead of pushing the whole page sideways. */
@media (max-width: 900px) {
    .rd-card[b-64eogtzigo] {
        overflow-x: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rd-sidebar[b-64eogtzigo],
    .rd-nav-scrim[b-64eogtzigo] {
        transition: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-zcenz3ias5],
.components-reconnect-repeated-attempt-visible[b-zcenz3ias5],
.components-reconnect-failed-visible[b-zcenz3ias5],
.components-pause-visible[b-zcenz3ias5],
.components-resume-failed-visible[b-zcenz3ias5],
.components-session-expired-visible[b-zcenz3ias5],
.components-rejoining-animation[b-zcenz3ias5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-retrying[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-failed[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-zcenz3ias5],
#components-reconnect-modal.components-reconnect-rejected .components-session-expired-visible[b-zcenz3ias5] {
    display: block;
}


.components-reconnect-banner[b-zcenz3ias5] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    background-color: #f5f9ff;
    border-top: 1px solid #6b9ed2;
    color: #1f2d3d;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    animation: components-reconnect-banner-fadeIn-b-zcenz3ias5 0.2s ease-in-out;
}

.components-reconnect-banner-visible[b-zcenz3ias5] {
    display: flex;
}

@keyframes components-reconnect-banner-fadeIn-b-zcenz3ias5 {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


#components-reconnect-modal[b-zcenz3ias5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-zcenz3ias5 0.2s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-zcenz3ias5 0.6s cubic-bezier(.05, .89, .25, 1.02), components-reconnect-modal-fadeInOpacity-b-zcenz3ias5 0.2s ease-in-out;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-zcenz3ias5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-zcenz3ias5 0.2s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-zcenz3ias5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-zcenz3ias5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-zcenz3ias5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-zcenz3ias5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-zcenz3ias5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-zcenz3ias5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-zcenz3ias5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-zcenz3ias5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-zcenz3ias5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-zcenz3ias5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-zcenz3ias5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-zcenz3ias5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-zcenz3ias5 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/UserMenu.razor.rz.scp.css */
/* The user menu's styles.

   These used to live in MainLayout.razor.css, which is *scoped* to MainLayout. Scoped CSS only
   reaches elements a component renders itself, so when the menu was extracted into its own
   interactive island these rules silently stopped applying — leaving a menu with the browser's
   native disclosure triangle, no positioning, and no panel (the same scoped-CSS trap as
   ISSUE-LOG RD-044). Collocating them with the component that renders the markup keeps the
   scope attribute matching. */

.rd-user-menu[b-a6j2a4ldmt] {
    position: relative;
}

.rd-user-trigger[b-a6j2a4ldmt] {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    background: #fff;
    cursor: pointer;
    user-select: none;
}

.rd-user-trigger[b-a6j2a4ldmt]::-webkit-details-marker {
    display: none;
}

.rd-user-trigger-text[b-a6j2a4ldmt] {
    font-size: 0.84rem;
    color: var(--rd-gray-700);
    font-weight: 600;
    max-width: 12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rd-user-chevron[b-a6j2a4ldmt] {
    color: var(--rd-gray-400);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.rd-user-menu[open] .rd-user-chevron[b-a6j2a4ldmt] {
    transform: rotate(180deg);
}

.rd-user-avatar[b-a6j2a4ldmt] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    background: var(--rd-green-dark);
}

.rd-user-menu-list[b-a6j2a4ldmt] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 17rem;
    background: #fff;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    box-shadow: var(--rd-shadow);
    padding: 0.45rem;
    display: grid;
    gap: 0.35rem;
    z-index: 50;
    animation: rd-user-menu-in-b-a6j2a4ldmt 160ms ease;
}

.rd-user-menu-item[b-a6j2a4ldmt] {
    padding: 0.4rem 0.5rem;
    border-radius: var(--rd-radius);
    background: var(--rd-gray-50);
}

.rd-user-menu-profile[b-a6j2a4ldmt] {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.22);
}

.rd-user-menu-profile-name[b-a6j2a4ldmt] {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rd-gray-900);
}

.rd-user-menu-profile-meta[b-a6j2a4ldmt] {
    font-size: 0.75rem;
    color: var(--rd-gray-600);
    margin-top: 0.15rem;
}

.rd-user-menu-item-static[b-a6j2a4ldmt] {
    display: grid;
    gap: 0.15rem;
}

.rd-user-status-select[b-a6j2a4ldmt] {
    width: 100%;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    padding: 0.34rem 0.45rem;
    font-size: 0.8rem;
    color: var(--rd-gray-800);
    background: #fff;
}

.rd-user-menu-divider[b-a6j2a4ldmt] {
    height: 1px;
    background: var(--rd-gray-200);
    margin: 0.15rem 0;
}

.rd-user-menu-link[b-a6j2a4ldmt] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.5rem;
    border-radius: var(--rd-radius);
    color: var(--rd-gray-800);
    text-decoration: none;
    font-size: 0.82rem;
    transition: background 0.15s ease;
}

.rd-user-menu-link:hover[b-a6j2a4ldmt] {
    background: var(--rd-gray-100);
}

.rd-user-menu-icon[b-a6j2a4ldmt] {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}

.rd-user-menu-label[b-a6j2a4ldmt] {
    font-size: 0.68rem;
    color: var(--rd-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rd-user-menu-form[b-a6j2a4ldmt] {
    margin: 0;
}

.rd-user-menu-signout[b-a6j2a4ldmt] {
    width: 100%;
    border: 1px solid var(--rd-gray-200);
    background: #fff;
    color: var(--rd-gray-800);
    border-radius: var(--rd-radius);
    padding: 0.45rem 0.55rem;
    font-size: 0.82rem;
    cursor: pointer;
}

.rd-user-menu-signout:hover[b-a6j2a4ldmt] {
    background: var(--rd-gray-100);
}

@keyframes rd-user-menu-in-b-a6j2a4ldmt {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* A fixed min-width panel anchored to the right edge can still run off a narrow screen, so
   clamp it to the viewport as well. */
@media (max-width: 640px) {
    .rd-user-menu-list[b-a6j2a4ldmt] {
        min-width: 0;
        width: min(17rem, calc(100vw - 2rem));
    }

    /* The avatar alone is enough once space is tight. */
    .rd-user-trigger-text[b-a6j2a4ldmt] {
        display: none;
    }
}
/* /Components/LicenceBanner.razor.rz.scp.css */
/* Licence state banner. Colours fall back to explicit values so the banner stays legible even
   if a theme token is renamed or missing — a warning nobody can read is worse than none. */

.rd-licence-banner[b-qcc39eaz7c] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--rd-warning-border, #f0c36d);
    border-left-width: 4px;
    border-radius: 8px;
    background: var(--rd-warning-bg, #fff8e1);
    color: var(--rd-warning-fg, #7a4b00);
}

.rd-licence-banner--expired[b-qcc39eaz7c] {
    border-color: var(--rd-danger-border, #e5a3a3);
    background: var(--rd-danger-bg, #fdf0f0);
    color: var(--rd-danger-fg, #8a1f1f);
}

.rd-licence-banner__text[b-qcc39eaz7c] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    /* Was a flat 18rem, which overflows a 320px phone once the banner's own padding is
       accounted for. min() keeps the desktop preference without risking the narrowest screen. */
    min-width: min(18rem, 100%);
}

.rd-licence-banner__text strong[b-qcc39eaz7c] {
    font-size: 0.95rem;
}

.rd-licence-banner__text span[b-qcc39eaz7c] {
    font-size: 0.85rem;
    line-height: 1.4;
    opacity: 0.92;
}

.rd-licence-banner__cta[b-qcc39eaz7c] {
    flex: 0 0 auto;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    background: currentColor;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.rd-licence-banner__cta:hover[b-qcc39eaz7c] {
    filter: brightness(0.92);
}
/* /Components/PasswordValidator.razor.rz.scp.css */
.password-validator[b-w583hpp42q] {
    margin-top: 0.75rem;
}

/* ── Password field with toggle ── */

.pw-field[b-w583hpp42q] {
    position: relative;
    display: flex;
    align-items: center;
}

.pw-field input[b-w583hpp42q] {
    width: 100%;
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    font-size: 0.9rem;
    transition: border-color 0.15s;
    outline: none;
}

.pw-field input:focus[b-w583hpp42q] {
    border-color: var(--rd-green);
    box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.15);
}

.pw-toggle[b-w583hpp42q] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    color: var(--rd-gray-400);
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.pw-toggle:hover[b-w583hpp42q] {
    color: var(--rd-gray-600);
    background: var(--rd-gray-100);
}

.pw-toggle svg[b-w583hpp42q] {
    display: block;
}

/* ── Strength bars ── */

.validator-bars[b-w583hpp42q] {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.validator-bars .bar[b-w583hpp42q] {
    flex: 1;
    height: 4px;
    border-radius: 3px;
    background: var(--rd-gray-200);
    transition: background 0.25s ease;
}

.validator-bars .bar.met[b-w583hpp42q] {
    background: var(--rd-green);
}

.validator-list[b-w583hpp42q] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.15rem 0.75rem;
}

.validator-list li[b-w583hpp42q] {
    font-size: 0.7rem;
    color: var(--rd-gray-400);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.validator-list li svg[b-w583hpp42q] {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--rd-green);
}

.validator-list li.met[b-w583hpp42q] {
    color: var(--rd-green-dark);
}

.validator-list li.met svg[b-w583hpp42q] {
    opacity: 1;
}

/* ── Confirm password ── */

.pw-field + .pw-field[b-w583hpp42q] {
    margin-top: 1rem;
}

.confirm-input--error[b-w583hpp42q],
.confirm-input--error:focus[b-w583hpp42q] {
    border-color: var(--rd-red) !important;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15) !important;
}

.confirm-error[b-w583hpp42q] {
    margin: 0.25rem 0 0;
    font-size: 0.7rem;
    color: var(--rd-red);
}
/* /Components/PhoneInput.razor.rz.scp.css */
/* ─── Phone Input Component ─── */

.rd-phone-input[b-ezeblqvgrx] {
    position: relative;
    width: 100%;
}

.rd-phone-input__inner[b-ezeblqvgrx] {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    overflow: visible;
    transition: border-color 0.15s;
    background: #fff;
}

.rd-phone-input__inner:focus-within[b-ezeblqvgrx] {
    border-color: var(--rd-green);
    box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.15);
}

/* ─── Country code picker ─── */

.rd-phone-code-picker[b-ezeblqvgrx] {
    position: relative;
    flex-shrink: 0;
}

.rd-phone-code-btn[b-ezeblqvgrx] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    height: 100%;
    padding: 0.5rem 0.5rem 0.5rem 0.65rem;
    border: none;
    border-right: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius) 0 0 var(--rd-radius);
    background: var(--rd-gray-50);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--rd-gray-700);
    min-width: 5.5rem;
    justify-content: center;
}

.rd-phone-code-btn:hover[b-ezeblqvgrx] {
    background: var(--rd-gray-100);
}

.rd-phone-code-btn:focus-visible[b-ezeblqvgrx] {
    outline: 2px solid var(--rd-green);
    outline-offset: -2px;
}

.rd-phone-code-picker--open .rd-phone-code-btn[b-ezeblqvgrx] {
    background: var(--rd-gray-100);
}

.rd-phone-flag[b-ezeblqvgrx] {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-block;
}

.rd-phone-code[b-ezeblqvgrx] {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--rd-gray-600);
}

.rd-phone-chevron[b-ezeblqvgrx] {
    flex-shrink: 0;
    color: var(--rd-gray-400);
    transition: transform 0.2s;
}

.rd-phone-code-picker--open .rd-phone-chevron[b-ezeblqvgrx] {
    transform: rotate(180deg);
}

/* ─── Dropdown ─── */

.rd-phone-dropdown[b-ezeblqvgrx] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 100;
    width: 280px;
    max-height: 300px;
    background: #fff;
    border: 1px solid var(--rd-gray-200);
    border-radius: var(--rd-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rd-phone-search[b-ezeblqvgrx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid var(--rd-gray-200);
    background: #fff;
}

.rd-phone-search-input[b-ezeblqvgrx] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.82rem;
    color: var(--rd-gray-700);
    background: transparent;
}

.rd-phone-search-input[b-ezeblqvgrx]::placeholder {
    color: var(--rd-gray-400);
}

.rd-phone-list[b-ezeblqvgrx] {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.rd-phone-option[b-ezeblqvgrx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 0.82rem;
    color: var(--rd-gray-700);
    transition: background 0.1s;
}

.rd-phone-option:hover[b-ezeblqvgrx],
.rd-phone-option:focus-visible[b-ezeblqvgrx] {
    background: var(--rd-gray-50);
}

.rd-phone-option--active[b-ezeblqvgrx] {
    background: rgba(72, 187, 120, 0.08);
    font-weight: 500;
}

.rd-phone-option__name[b-ezeblqvgrx] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rd-phone-option__code[b-ezeblqvgrx] {
    flex-shrink: 0;
    color: var(--rd-gray-400);
    font-size: 0.78rem;
}

.rd-phone-empty[b-ezeblqvgrx] {
    padding: 1rem;
    text-align: center;
    color: var(--rd-gray-400);
    font-size: 0.82rem;
}

/* ─── Phone number input ─── */

.rd-phone-number-input[b-ezeblqvgrx] {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: var(--rd-gray-700);
    background: transparent;
}

.rd-phone-number-input[b-ezeblqvgrx]::placeholder {
    color: var(--rd-gray-400);
}

/* ─── Error state ─── */

.rd-phone-input.rd-phone-input--invalid .rd-phone-input__inner[b-ezeblqvgrx],
.rd-phone-input.rd-phone-input--invalid .rd-phone-number-input[b-ezeblqvgrx] {
    border-color: #e53e3e;
}

.rd-phone-input.rd-phone-input--invalid .rd-phone-input__inner:focus-within[b-ezeblqvgrx] {
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15);
}

.rd-phone-error[b-ezeblqvgrx] {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: #e53e3e;
}

/* ─── Dark / high-contrast tweaks via parent (rd-card) ─── */
.rd-card .rd-phone-input__inner[b-ezeblqvgrx] {
    background: #fff;
}

.rd-card .rd-phone-code-btn[b-ezeblqvgrx] {
    background: var(--rd-gray-50);
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
    .rd-phone-dropdown[b-ezeblqvgrx] {
        width: 260px;
        left: 0;
    }
}
