﻿/* Recife Text */
@font-face {
    font-family: 'Recife Text';
    src: url('/fonts/RecifeText-Light.woff2') format('woff2'), url('/fonts/RecifeText-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Light */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-45Lt.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-45Lt.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Light Italic */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-46LtIt.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-46LtIt.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Regular */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-55Rg.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-55Rg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Italic */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-56It.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-56It.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Medium */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-65Md.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-65Md.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Medium Italic */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskDSPro-66MdIt.woff2') format('woff2'), url('/fonts/NHaasGroteskDSPro-66MdIt.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Bold */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskTXPro-75Bd.woff2') format('woff2'), url('/fonts/NHaasGroteskTXPro-75Bd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Neue Haas Grotesk Display Pro - Bold Italic */
@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: url('/fonts/NHaasGroteskTXPro-76BdIt.woff2') format('woff2'), url('/fonts/NHaasGroteskTXPro-76BdIt.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}


:root {
    --kendo-font-family: 'Neue Haas Grotesk Display Pro', 'Arial Nova', 'Segoe UI', Arial, sans-serif;
}


body {
    margin: 0px 0px 8px 0px;
    font-family: 'Neue Haas Grotesk Display Pro','Arial Nova', Arial, sans-serif; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Recife Text','Georgia Pro Light', 'Times New Roman', Times, serif;
    margin-block-start: 0;
    margin-block-end: 0;
    /* You may also want to set inline margins to 0 if needed */
    margin-inline-start: 0;
    margin-inline-end: 0;
}

h1:focus {
    outline: none;
}


.telerik-root-component {
    position: relative; /* Ensure the root component has relative positioning */
}
.app-content {
    /* padding-top: 56px;  Adjust this padding to match the height of your app bar */
    margin: 1px 8px 8px 8px;
}

/* Optional: Additional styles for your app */
.k-appbar {
    height: 56px; /* Example height for the app bar */
    background: var(--kendo-color-surface-alt); /* Example background color */
    color: var(--kendo-color-on-surface);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Example shadow */
    z-index: 15000; /* Ensure app bar is always on top */
    /* position: relative; or fixed if you want it to stay on scroll */
    /* CHANGED: make the AppBar stick on scroll */
    position: sticky;
    top: 0;
}

.k-appbar .k-button {
    background: var(--kendo-color-surface-alt);
    border: 0;
    margin-left:2px;
    margin-right:2px;
}

.k-appbar .k-button:hover,
.k-appbar .k-button:focus {
    background: var(--kendo-color-surface); /* Optional: subtle hover effect */
}
.k-appbar .k-svg-icon,
.k-appbar .k-button-icon {
    color: var(--kendo-color-on-app-surface); /* Or #000, or var(--kendo-color-on-surface) for a dark shade */
}

.k-appbar .app-bar-right-section {
    margin-left: auto; /* This pushes the section to the right */
    display: flex; /* Ensure items are displayed in a flexbox */
    align-items: center; /* Center items vertically */
    overflow: visible; /* Allow bell dot pulse to bleed outside the section bounds */
}

.full-width-drawer .k-drawer {
    position: fixed !important;
    top: 56px;
    left: 0;
    width: 100vw;
    height: calc(100% - 56px);
    /* z-index: 8000; Lower than app bar */ /* Use default, if we lower the overlay displays over it, now set appbar higher */ 
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
    max-width: 100vw; /* Override the 80vw that is defaulted */
    background-color: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
}

/* When closed, move the drawer fully off-screen */
.full-width-drawer.k-drawer-overlay:not(.k-drawer-expanded) .k-drawer {
    transform: translateY(-100%);
}

/* When open, show the drawer */
.full-width-drawer.k-drawer-overlay.k-drawer-expanded .k-drawer {
    transform: translateY(0);
}

.full-width-drawer .k-overlay {
    top: 56px;
}

.yj-app-menu-version-bottom {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 0.75rem;
    z-index: 20050;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--kendo-color-on-primary);
    font-size: 0.9rem;
    opacity: 0.95;
    pointer-events: none;
}



/* Styles for the custom panel */
.side-panel {
position: fixed;
top: 56px; /* sit flush below the sticky app bar */
right: 0;
width: 300px;
height: calc(100vh - 56px); /* fill the remaining viewport */
z-index: 14000;
    background-color: #fff;
    box-shadow: -3px 0 6px rgba(0,0,0,0.2);
    /* Initial state: Hidden off-screen */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

/* Side panel click-outside overlay */
.yj-sidepanel-overlay {
    position: fixed;
    inset: 0;
    z-index: 13999; /* just below .side-panel (14000) */
    background: rgba(0, 0, 0, 0.15);
    top: 56px; /* appbar height */
}

/* Expanded state: Slide into view */
.side-panel.expanded {
    transform: translateX(0);
}

.side-panel-content {
    padding-top: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    max-height: calc(100vh - 56px);
    font-size: 0.8rem;
    overflow-y: auto;
}

.k-breadcrumb-last-item .k-breadcrumb-link {
    color: var(--kendo-color-primary);
    text-decoration: none;
}

/* ── Custom breadcrumb (.yj-bc) ─────────────────────────────────────────────────
   Replaces the TelerikBreadcrumb with fully custom HTML.
   Features: commission title truncation, entity-colored label icons (no text)
   for Inspection / Audit / Observation parent items, text-only last item.
   ─────────────────────────────────────────────────────────────────────────── */
.yj-bc {
    padding-top: 6px;
}

.yj-bc__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;        /* wraps on narrow screens instead of clipping */
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;      /* bigger than the original 0.85rem */
}

.yj-bc__item {
    display: inline-flex;
    align-items: center;
    padding-block: 3px;
}

/* Separator icon (fa-solid fa-chevron-right) rendered directly in Razor between items */
.yj-bc__sep {
    color: #5a6070;
    font-size: 0.65rem;
    padding: 0 4px;
    flex-shrink: 0;
    pointer-events: none;
    line-height: 1;
    opacity: 0.6;
}

/* Navigable links: use primary colour so they're clearly clickable */
.yj-bc__link {
    color: var(--kendo-color-primary);
    text-decoration: none;
    cursor: pointer;
    line-height: 1.4;
}

.yj-bc__link--home {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.yj-bc__home-icon {
    font-size: 1.25em;
    line-height: 1;
}

.yj-bc__link:hover {
    text-decoration: underline;
    filter: brightness(1.15);
}

/* Entity icon links (Inspection / Audit / Observation label icons) */
.yj-bc__link--icon {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    padding: 0 2px;
}

.yj-bc__link--icon:hover {
    text-decoration: none;
    filter: brightness(1.25);
}

/* Last (current) item: primary colour, not clickable */
.yj-bc__item--current .yj-bc__current {
    color: var(--kendo-color-primary);
    cursor: default;
}

/* Optional: Ensure the error UI doesn't overlay the app bar */
#blazor-error-ui {
    z-index: 9999; /* Set higher than drawer if needed */
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.form-input-label-align {
    display: flex;
    align-items: center;
    -webkit-align-items: center;
    gap: 10px;
}


@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulsing {
/*    background-color: #3498db;
    border-radius: 10px;
    padding: 10px;
    color: white;*/
    animation: pulse 1.5s infinite;
}

.center-viewport {
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.k-notification-group {
    z-index: 16000;
}



.info-card {
    border: 1px solid lightgrey;
    border-radius: 4px;
    background-color: #ffffff;
    font-size: .9rem;
    padding: .25em;
    margin-bottom: .5rem;
    /*cursor: pointer;*/
}

.info-card-header {
    font-weight: bold;
    font-size: 1rem;
    /*margin-bottom: .25rem;*/
}

.info-card-label {
    font-weight: bold;
}

.info-card-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.info-card-summary-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* When a badge sits alongside the summary text: allow wrapping and top-align */
.info-card-summary-row--badge-row {
    align-items: flex-start;
}

.info-card-summary-text--wrap {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    padding-right: 0.5rem;
}

.info-card-status-box {
    zoom: .75;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    min-width: 80px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.5rem;
    margin-top: 0.2rem;
}

/*Risk Ratings*/
.info-card-status-verylow {
    color: var(--kendo-color-success);
    border: 1.5px solid var(--kendo-color-success);
    background: var(--kendo-color-success-light, #e6f4ea);
}
.info-card-status-low {
    color: var(--kendo-color-info);
    border: 1.5px solid var(--kendo-color-info);
    background: var(--kendo-color-info-light, #e6f1fa);
}
.info-card-status-medium {
    color: var(--kendo-color-warning);
    border: 1.5px solid var(--kendo-color-warning);
    background: var(--kendo-color-warning-light, #fff7e6);
}
.info-card-status-high {
    color: var(--kendo-color-error);
    border: 1.5px solid var(--kendo-color-error);
    background: var(--kendo-color-error-light, #fdecea);
}
.info-card-status-veryhigh {
    color: var(--kendo-color-error-active);
    border: 1.5px solid var(--kendo-color-error-active);
    background: var(--kendo-color-error-light, #fdecea);
}

/*Action States (ActionCardComponent)*/

/* Base visuals so all states render as a consistent "badge" */
.info-card-action-state-pending,
.info-card-action-state-resolved,
.info-card-action-state-rejected,
.info-card-action-state-closed,
.info-card-action-state-unknown {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: 0;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 1px 8px; /* slightly tighter so it feels less "button-like" */
    border-radius: 2px; /* less rounded */
    text-align: center;
    margin-left: 0rem;
    border: 2px solid transparent; /* thicker border */
    box-sizing: border-box;
}
/* Pending: white, black text, grey border; label should be "Open" (handled in Razor) */
.info-card-action-state-pending {
    color: #000000;
    background: #ffffff;
    border-color: #9ca3af;
}
/* Resolved: light green background, darker green text/border; label should be "Resolved" (handled in Razor) */
.info-card-action-state-resolved {
    color: #166534;
    background: #dcfce7;
    border-color: #16a34a;
}
/* Rejected: match the "veryhigh" risk styling */
.info-card-action-state-rejected {
    color: var(--kendo-color-error-active);
    background: var(--kendo-color-error-light, #fdecea);
    border-color: var(--kendo-color-error-active);
}
/* Closed: should not appear; fallback styling if it does */
.info-card-action-state-closed {
    color: #1e40af;
    background: #dbeafe;
    border-color: #2563eb;
}
/* Unknown: neutral fallback */
.info-card-action-state-unknown {
    color: #374151;
    background: #f3f4f6;
    border-color: #d1d5db;
}

.filter-cards-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.fab-popup-menu {
    min-width: 250px;
}

/* ── FAB popup menu with coloured entity icons ───────────────────────────── */
.yj-fab-menu {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.yj-fab-menu__item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: var(--kendo-font-family);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
    color: var(--kendo-color-on-surface, #222);
    transition: background 0.12s ease, color 0.12s ease;
}

.yj-fab-menu__item:hover,
.yj-fab-menu__item:focus {
    background: var(--kendo-color-primary, #1e40af);
    color: #ffffff;
    outline: none;
}

.yj-fab-menu__item:hover i,
.yj-fab-menu__item:focus i {
    filter: brightness(1.3);
}

.new-menu-button .k-icon.k-svg-icon svg {
    width: 32px !important; /* Double the default 16px size */
    height: 32px !important; /* Use !important if needed to override theme styles */
}

/* portal tabs */

.k-tabstrip-content {
    padding-left: 4px;
    padding-right: 4px;
    border: 0;
}

/* small tab headers*/
.k-tabstrip-md .k-tabstrip-items .k-link {
    font-size: small;
    padding-inline: var(--kendo-spacing-2, 8px);
}

/* Active tab bottom border */
.k-tabstrip-top>.k-tabstrip-items-wrapper .k-item:active,
.k-tabstrip-top>.k-tabstrip-items-wrapper .k-item.k-active,
.k-tabstrip-top>.k-tabstrip-items-wrapper .k-item:focus,
.k-tabstrip-item.k-active {
    border: 0;
    border-block-end: 3px solid var(--kendo-color-primary) !important;
    box-shadow: none;
}

.yj-traffic-light-green {
    /*color: var(--kendo-color-success);*/
    color: green;
}
.yj-traffic-light .yj-amber {
    color: var(--kendo-color-warning);
}
.yj-traffic-light .yj-red {
    color: var(--kendo-color-error);
}

/* Only affect the pin dialog */
.k-dialog-wrapper:has(.k-window.k-dialog.yj-pin-dialog-host) {
    padding: 0 !important;
}

/* The actual dialog element */
.k-window.k-dialog.yj-pin-dialog-host {
    width: 100dvw !important;
    max-width: 100dvw !important;
    min-width: 100dvw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
}

/* Content area */
.k-window.k-dialog.yj-pin-dialog-host > .k-window-content.k-dialog-content {
    padding: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

.yj-required {
    color: #d93025; /* Google red */
    font-size: 0.8em; /* Slightly smaller */
    vertical-align: super; /* Raises it like a superscript */
}

.yj-question-header-row {
    display: flex;
    align-items: center; /* Vertically center items */
    justify-content: space-between; /* Push switch to right */
    padding-right: 0rem;
    margin-bottom: 0.3em;
    max-width: 26em;
}
.yj-question-header-label {
    flex: 1;
    font-size: 0.8em
    /* Optional: add left padding if needed */
}
.yj-question-header-row--toggleall .yj-question-header-label {
    text-align: right;
    flex: 1;
    margin-right: 0.5rem;
}
.yj-question-header-switch {
    display: flex;
    align-items: center; /* Vertically center the switch */
    padding-right: .3rem;
}
.yj-question-header-count {
    font-weight: normal;
    margin-left: 0.1em; /* Optional: space between name and count */
    color: #333; /* Optional: adjust color for visibility */
    font-size: 1em;
}

.yj-terminal {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(0.85rem, 1vw, 1rem);
    white-space: pre-wrap;
    letter-spacing: -0.02em;
    color: #6b7280;
}
.yj-terminal-tiny {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    line-height: 1.25;
    white-space: pre-wrap;
    letter-spacing: -0.02em;
    color: #6b7280;
    /*color: #444;*/
    /*color: #555;*/
    /*color: #4a4a4a;*/
}

/* Apply yj-terminal to the wizard step labels */
.yj-wizard .k-step-text {
    /* ### yj-terminal-tiny ### */
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    line-height: 1.25;
    white-space: pre-wrap;
    letter-spacing: -0.02em;
    color: #6b7280;
}


/* Slightly smaller "pill" button to fit in the card corner */
.yj-offline-btn.k-button {
    height: 26px;
    padding: 0 8px;
    font-size: 12px;
    line-height: 1;
}
.yj-offline-state-overlay {
    position: absolute;
    top: 50%;
    right: 18px; /* move left so it doesn't sit under the icon */
    transform: translateY(-50%);
    z-index: 5;
    font-size: 10px;
    color: DarkSalmon;
    background: rgba(255,255,255,.85);
    padding: 1px 4px;
    border-radius: 3px;
    pointer-events: none; /* don't interfere with clicks */
    white-space: nowrap;
    line-height: 1; /* avoids text sitting "high" inside the pill */
}
/* Contain the TelerikLoaderContainer's stacking context within the card so its overlay
   z-index cannot bleed above fixed elements (e.g. the side panel) in the global stack. */
.yj-lookup-card {
    isolation: isolate;
}

/* Make the internal square box 50% the size of the loader container */
.yj-lookup-card
.k-loader-container-inner.k-loader-container-panel {
    transform: scale(0.85);
}
/* ### Not currently working, can't currently get yj-breadcrumb-disabled into the DOM*/
/* Most Telerik crumbs render anchors; override cursor + click affordance */
/* Enable once yj-breadcrumb-disabled is actually present in the DOM */
.yj-breadcrumb-disabled .k-breadcrumb-link,
.yj-breadcrumb-disabled .k-breadcrumb-link:hover,
.yj-breadcrumb-disabled .k-breadcrumb-link:focus {
    cursor: default !important;
    pointer-events: none !important;
    text-decoration: none !important;
}

/* ### Interim fix ###*/
/* Telerik renders "non-url" items as <a href="#">. Make them look/act non-clickable. */
/* Scoped: only breadcrumbs in the app content area */
.app-content .k-breadcrumb .k-breadcrumb-link[href="#"],
.app-content .k-breadcrumb .k-breadcrumb-link[href="#"]:hover,
.app-content .k-breadcrumb .k-breadcrumb-link[href="#"]:focus {
    cursor: default !important;
    pointer-events: none !important;
    text-decoration: none !important;
    color: inherit;
}


.yj-siteplan-selected-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
}

.yj-siteplan-selected-toggle__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.yj-siteplan-selected-toggle__chevron {
    font-size: 18px;
    line-height: 1;
}

.yj-siteplan-options {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yj-siteplan-options__button {
    width: 100%;
    justify-content: flex-start;
}

/* YJ VALIDATION MESSAGES */

/* 1. Individual banners */

/* Container */
.yj-val-summary {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .75rem;
}
/* Each validation message (banner style) */
.yj-val-msg {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    background: #FFF4E5; /* warm warning */
    border: 1px solid #FFD7A3;
    color: #6B3D00;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    line-height: 1.35;
}
    /* icon "badge" */
    .yj-val-msg::before {
        content: "!";
        flex: 0 0 auto;
        width: 22px;
        height: 22px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        font-weight: 800;
        font-size: .85rem;
        background: #FFB74D;
        color: #3A2200;
        margin-top: .05rem;
    }

/* 2. One banner for all valication errors */

.yj-val-banner {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #FFF4E5;
    border: 1px solid #FFD7A3;
    color: #6B3D00;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yj-val-banner__title {
    font-weight: 700;
    margin-bottom: .5rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.yj-val-banner__title::before {
    /*content: "⚠";
    font-size: 1.05rem;*/
    content: "!";
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .85rem;
    background: #FFB74D;
    color: #3A2200;
    margin-top: .05rem;
}

.yj-val-banner__list {
    margin: 0;
    padding-left: 1.25rem;
}
.yj-val-banner__list li {
    margin: .25rem 0;
}

/* 3. Info banner – gentle light blue for advisory/non-error messages */

.yj-info-banner {
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: #EBF5FB;
    border: 1px solid #AED6F1;
    color: #154360;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    gap: .6rem;
}




.yj-pin-marker-icon {
    /* Stable sizing independent of surrounding font-size */
    --yj-pin-size: 18px;
    --yj-pin-color: #dc0043;
    --yj-pin-dot-color: #ffffff;
    position: relative; /* self-contained; don't depend on parent for absolute positioning */
    display: inline-block;
    width: var(--yj-pin-size);
    height: var(--yj-pin-size);
    /* Keep it from stretching/collapsing in flex/grid */
    flex: 0 0 var(--yj-pin-size);
    /* Make alignment predictable next to text */
    vertical-align: middle;
    background: var(--yj-pin-color);
    /* the "map pin" teardrop-ish shape */
    border-radius: 50% 50% 50% 0;
    /* rotate to create the pin point */
    transform: rotate(-45deg);
    transform-origin: 50% 50%;
    box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.yj-pin-marker-icon::after {
    content: "";
    position: absolute;
    /* center the dot reliably */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: calc(var(--yj-pin-size) * 0.35);
    height: calc(var(--yj-pin-size) * 0.35);
    background: var(--yj-pin-dot-color);
    border-radius: 50%;
    box-shadow: inset -2px 2px 4px rgba(0, 0, 0, 0.35);
}


.k-wizard {
    padding-block: var(--kendo-spacing-1);
    padding-inline: var(--kendo-spacing-0);
}

.k-wizard-horizontal .k-wizard-steps {
    margin-block-start: var(--kendo-spacing-2);
}

.k-wizard .k-wizard-step {
    padding: var(--kendo-spacing-1);
}

.k-wizard .k-wizard-step .info-card {
    padding: var(--kendo-spacing-4);
}

.k-wizard .k-wizard-step .info-card .info-card-label {
    margin-top: var(--kendo-spacing-2);
}

/* Page layout: header (breadcrumb) + body (wizard) filling the viewport */
.yj-page.yj-page--wizard {
    min-block-size: calc(100dvh - 56px); /* account for sticky AppBar */
    display: flex;
    flex-direction: column;
}

.yj-page.yj-page--wizard .yj-page__header {
    flex: 0 0 auto;
}

.yj-page.yj-page--wizard .yj-page__body {
    flex: 1 1 auto;
    min-block-size: 0; /* required so children can size/scroll correctly in flex */
    display: flex;
    flex-direction: column;
}

/* Wizard fills the available body height */
.yj-page.yj-page--wizard .yj-page__body .yj-wizard.k-wizard {
    flex: 1 1 auto;
    min-block-size: 0;
    display: flex;
    flex-direction: column;
}

/* Step/content area expands; buttons get pushed to bottom when content is short */
.yj-page.yj-page--wizard .yj-wizard.k-wizard .k-wizard-content,
.yj-page.yj-page--wizard .yj-wizard.k-wizard .k-wizard-step {
    flex: 1 1 auto;
    min-block-size: 0;
}

.yj-page.yj-page--wizard .yj-wizard.k-wizard .k-wizard-buttons {
    margin-top: auto;
    padding-top: 3px;
    background: var(--kendo-color-surface, #fff);
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Wizard pages: prevent a tiny overflow scrollbar from global bottom margins */
.yj-page.yj-page--wizard {
    margin-bottom: 0;
}

/* If this page is inside .app-content, remove its bottom margin too */
.app-content:has(.yj-page.yj-page--wizard) {
    margin-top: 0;
    margin-bottom: 0;
}

/* (Optional) If you still see overflow, remove the wizard buttons padding */
/*.yj-page.yj-page--wizard .yj-wizard.k-wizard .k-wizard-buttons {
    padding-bottom: 0;
}*/

/* Step 6: push Submit/Delete to bottom of available step area */
.yj-step {
    display: flex;
    flex-direction: column;
    min-block-size: 100%;
}

.yj-step__content {
    flex: 0 0 auto;
}

.yj-step__footer {
    margin-top: auto; /* push to bottom */
}

.yj-wizard .k-wizard-buttons .k-button,
.yj-wizard .yj-step__footer .k-button {
    min-width: 100px;
}

/* Make the button strip the full width */
.yj-wizard .k-wizard-buttons-right {
    width: 100%;
}

/* Answer buttons (Yes / No / N/A) */
.yj-answer-buttons.k-button-group {
    display: inline-flex; /* ensure gap works */
    gap: .5rem;
}

/* Override Telerik segmented corner rules (e.g. .k-button-group>.k-button:last-child...) */
.yj-answer-buttons.k-button-group > .k-button,
.yj-answer-buttons.k-button-group > .k-button.k-button,
.yj-answer-buttons.k-button-group > .k-button:first-child:not(:only-child),
.yj-answer-buttons.k-button-group > .k-button:last-child:not(:only-child) {
    border-radius: .375rem !important;
}

/* stop "segmented" look that relies on adjacency */
.yj-answer-buttons.k-button-group > .k-button + .k-button {
    margin-inline-start: 0;
    border-inline-start-width: 1px;
}

/* per-option states
   Add these classes to the corresponding ButtonGroupToggleButton: 
   - yj-answer-btn--no
   - yj-answer-btn--yes
   - yj-answer-btn--na
*/

.yj-answer-buttons .k-button {
    
    color: var(--kendo-color-primary);
    font-weight:bold;
}

/* YES: unselected light with green text/icon */
.yj-answer-buttons .yj-answer-btn--yes.k-button {
    background-color: var(--kendo-color-surface, #fff);
    /*color: var(--kendo-color-success-on-subtle);*/
    /*border-color: var(--kendo-color-success-on-subtle);*/
}

    .yj-answer-buttons .yj-answer-btn--yes.k-button .k-svg-icon,
    .yj-answer-buttons .yj-answer-btn--yes.k-button .k-button-icon {
        color: var(--kendo-color-success-on-subtle);
    }
/* YES: selected green with white text/icon */
.yj-answer-buttons .yj-answer-btn--yes.k-selected {
    background-color: var(--kendo-color-success-on-subtle);
    border-color: var(--kendo-color-success-on-subtle);
    color: var(--kendo-color-on-success, #fff);
}
.yj-answer-buttons .yj-answer-btn--yes.k-selected .k-svg-icon,
.yj-answer-buttons .yj-answer-btn--yes.k-selected .k-button-icon {
    color: var(--kendo-color-on-success, #fff);
}

/* NO: unselected light with red text/icon */
.yj-answer-buttons .yj-answer-btn--no.k-button {
    background-color: var(--kendo-color-surface, #fff);
    /*color: var(--kendo-color-tertiary);*/
    /*border-color: var(--kendo-color-tertiary);*/
}
.yj-answer-buttons .yj-answer-btn--no.k-button .k-svg-icon,
.yj-answer-buttons .yj-answer-btn--no.k-button .k-button-icon {
    color: var(--kendo-color-tertiary);
}
/* NO: selected red with white text/icon */
.yj-answer-buttons .yj-answer-btn--no.k-selected {
    background-color: var(--kendo-color-tertiary);
    border-color: var(--kendo-color-tertiary);
    color: var(--kendo-color-on-tertiary, #fff);
}
.yj-answer-buttons .yj-answer-btn--no.k-selected .k-svg-icon,
.yj-answer-buttons .yj-answer-btn--no.k-selected .k-button-icon {
    color: var(--kendo-color-on-tertiary, #fff);
}

/* N/A: unselected secondary-like (info) and selected primary */
.yj-answer-buttons .yj-answer-btn--na.k-button {
    background-color: var(--kendo-color-secondary, #fff);
    /*color: var(--kendo-color-on-secondary, var(--kendo-color-info));
    border-color: var(--kendo-color-on-secondary, var(--kendo-color-info));*/
}
.yj-answer-buttons .yj-answer-btn--na.k-button .k-svg-icon,
.yj-answer-buttons .yj-answer-btn--na.k-button .k-button-icon {
    color: var(--kendo-color-on-secondary, var(--kendo-color-info));
}
.yj-answer-buttons .yj-answer-btn--na.k-selected {
    background-color: var(--kendo-color-primary);
    border-color: var(--kendo-color-primary);
    color: var(--kendo-color-on-primary);
}
.yj-answer-buttons .yj-answer-btn--na.k-selected .k-svg-icon,
.yj-answer-buttons .yj-answer-btn--na.k-selected .k-button-icon {
    color: var(--kendo-color-on-primary);
}

/* question list dialog as bottom sheet but normal if not thin screen
    put the default "big screen" styles before the thin version ones so they dont override
*/
.k-dialog-wrapper:has(.k-window.k-dialog.yj-mobile-dialog) .k-window.k-dialog.yj-mobile-dialog {
    min-width: 600px !important;
    min-height: 40dvh !important;
    border-radius: 4px 4px 0 0 !important;
    display: flex;
    flex-direction: column;
}

.k-window.k-dialog.yj-mobile-dialog > .k-window-content.k-dialog-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
}


/* dynamic mobile styles for thin screens */
@media (max-width: 768px) {
    .k-notification-group {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        /* Ensure "center" positioning doesn't keep it offset */
        transform: none !important;
        /* Optional: match app padding */
        padding-left: 8px;
        padding-right: 8px;
        box-sizing: border-box;
    }

    /* Immediate child wrapper inside the group (varies by theme/version) */
    .k-notification-group > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    /* Make each notification stretch to the container width */
    .k-notification-group .k-notification {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }



    .full-width-mobile {
        width: 100%;
    }

    /*ignore first button but give other stacked ones margin above */
    .full-width-mobile:not(:first-child) {
        margin-block-start:var(--kendo-spacing-1);
    }

    /* target the animation container used for popups */
    .k-child-animation-container {
        /*transition-duration: 0ms !important;*/
    }

    /* Step 4 question list dialog as bottom sheet */
    .k-dialog-wrapper:has(.k-window.k-dialog.yj-mobile-dialog) {
        padding: 0 !important;
        align-items: flex-end !important;
    }

    .k-dialog-wrapper:has(.k-window.k-dialog.yj-mobile-dialog) .k-window.k-dialog.yj-mobile-dialog {
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        transform: none !important;
        width: 100dvw !important;
        max-width: 100dvw !important;
        min-width: 100dvw !important;
        height: auto !important;
        max-height: 90dvh !important;
        min-height: 40dvh !important;
        margin: 0 !important;
        border-radius: 4px 4px 0 0 !important;
        display: flex;
        flex-direction: column;
    }

    .k-window.k-dialog.yj-mobile-dialog > .k-window-content.k-dialog-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto !important;
    }

}

/* Questions - PanelBar styling */
.yj-questions-panelbar,
.yj-questions-panelbar.k-panelbar .k-panelbar-content .k-scrollview,
.yj-questions-panelbar.k-panelbar .k-panelbar-content .k-scrollview .info-card {
    border: 0;
}
.yj-questions-panelbar.k-panelbar .k-panelbar-item {
    background: #fff;
    margin-bottom: var(--kendo-spacing-2);
    border-radius: var(--kendo-border-radius-xs, 1px);
    box-shadow: var(--kendo-elevation-1, 0 1px 2px rgba(16,24,40,0.05));
    border: 1px solid lightgrey;
}

.yj-questions-panelbar.k-panelbar .k-panelbar-item:last-child {
    margin-bottom: 0;
}

.yj-questions-panelbar.k-panelbar .k-panelbar-header,
.yj-questions-panelbar.k-panelbar .k-link,
.yj-questions-panelbar.k-panelbar .k-panelbar-content,
.yj-questions-panelbar.k-panelbar .k-panelbar-content .k-scrollview,
.yj-questions-panelbar.k-panelbar > .k-panelbar-header > .k-link.k-selected {
    background: #fff;
    
}

.k-panelbar > .k-panelbar-header > .k-link:focus,
.k-panelbar > .k-panelbar-header > .k-link.k-focus {
    box-shadow: none;
}

/* Inspection Questions (Step 4) - Carousel page scrolling */
.yj-carousel-page-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-right: 0.25rem;
    box-sizing: border-box;
}

/* Step 4 PanelBar: ensure scrollIntoView lands below the sticky AppBar */
#insp-step4-panelbar li.k-panelbar-item,
#insp-step4-panelbar li.k-panelbar-item > .k-link,
#insp-step4-panelbar li.k-panelbar-item > .k-panelbar-header,
#insp-step4-panelbar li.k-panelbar-item > .k-panelbar-header > .k-link,
#insp-step4-panelbar li.k-panelbar-item [role="button"],
#insp-step4-panelbar li.k-panelbar-item [role="treeitem"] {
    scroll-margin-top: 72px; /* appbar (~56) + breathing room */
}

/* Step 4: remove expand/collapse animation for a "resume" feel on nav back from Observation creation */
#insp-step4-panelbar .k-panelbar-content {
    transition: none !important;
}

/* Step 4: Question List status badges (Answered / Visited / New) */
.yj-qbadge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    min-width: 72px;
    text-align: center;
    border: 1px solid transparent;
}
.yj-qbadge--answered {
    color: var(--kendo-color-success-on-subtle);
    background: var(--kendo-color-success-subtle);
    border-color: var(--kendo-color-success-on-subtle);
}
.yj-qbadge--unanswered {
    color: var(--kendo-color-warning-on-subtle);
    background: var(--kendo-color-warning-subtle);
    border-color: var(--kendo-color-warning-on-subtle);
}
.yj-qbadge--new {
    color: #424242;
    background: #eeeeee;
    border-color: #bdbdbd;
}

/* Shared: Observation links (Inspection/Audit result completion components) */
.yj-observation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--kendo-color-border, #d9d9d9);
    border-radius: 0.25rem;
    cursor: pointer;
}

.yj-observation-row:hover {
    background-color: var(--kendo-color-base-hover, #f5f5f5);
    color: var(--kendo-color-on-base, #000);
}

.yj-observation-row:focus-visible {
    outline: 2px solid var(--kendo-color-primary, #0d6efd);
    outline-offset: 2px;
}

.yj-observation-row__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yj-observation-row__chevron {
    flex: 0 0 auto;
}

.yj-observation-row__icon {
    display: inline-block;
    width: 1.5em;
    min-width: 1.5em;
    text-align: center;
    vertical-align: middle;
}

.yj-observation-row__warning {
    flex: 0 0 auto;
    color: var(--kendo-color-warning-on-subtle, #b45309);
    font-size: 0.95rem;
    line-height: 1;
}

/* (panelbar validation icon styles removed — now inline) */

/* Shared: Step 4 question list dialog (Inspection/Audit question lists) */
.yj-questionlist-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.yj-questionlist-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--kendo-color-border, #d9d9d9);
    border-radius: 0.25rem;
    cursor: pointer;
    gap: 0.5rem;
}

.yj-questionlist-row:hover {
    background-color: var(--kendo-color-base-hover, #f5f5f5);
    color: var(--kendo-color-on-base, #000);
}

.yj-questionlist-row:focus-visible {
    outline: 2px solid var(--kendo-color-primary, #0d6efd);
    outline-offset: 2px;
}

.yj-questionlist-row__text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.85rem;
}

.yj-questionlist-row__meta {
    flex: 0 0 7.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

.yj-questionlist-row__meta .yj-qbadge {
    min-width: 4.75rem;
    margin: 0;
}

.yj-questionlist-row__chevron {
    flex: 0 0 auto;
}

/* Adaptive DropDownList popup should render above sticky app bar and drawer overlay stack */
.k-actionsheet-container:has(.yj-adaptive-ddl-popup),
.k-actionsheet-container.yj-adaptive-ddl-popup,
.k-animation-container.yj-adaptive-ddl-popup,
.k-animation-container:has(.yj-adaptive-ddl-popup),
.yj-adaptive-ddl-popup {
    z-index: 16010 !important;
}

.yj-mobile-dialog > .k-dialog-content {
    /*margin:0;*/
    padding:4px;
}




/* Notifications */

.yj-noti {
    padding: 5px 8px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    background: #fff;
}

.yj-noti--unread {
    /*border-color: rgba(13, 110, 253, 0.35);*/
    /*background: rgba(13, 110, 253, 0.06);*/
}

.yj-noti__inner {
    display: grid;
    gap: 1px;
}

.yj-noti__badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.12);
}

/* Pending-sync push notification pill — intentionally smaller and lighter than business state badges */
.yj-noti-push-pending {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.08rem 0.38rem;
    border-radius: 999px;
    line-height: 1.2;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    box-sizing: border-box;
}

.yj-noti__title {
    font-weight: 400;
    font-size: 0.75rem;
}

.yj-noti__subtitle {
    font-weight: 700;
    font-size: 0.8rem;
}

.yj-noti__details {
    font-size: 0.75rem;
    color: var(--kendo-color-subtle, #565e64);
}

.yj-noti__time {
    font-size: 0.7rem;
    color: var(--kendo-color-subtle, #565e64);
}

.yj-noti-circle {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid grey;
}

.yj-noti-circle-actions {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    /*Green*/
    background-color: #5FAF7A; /*subtler*/
    /*background-color: #4CAF6D;*/ /*bolder*/
    border: 2px solid grey;
}
.yj-noti-circle-inspections {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #C96F91; /*Pink**/
    /*background-color: #E06C9F;*/
    border: 2px solid grey;
}
.yj-noti-circle-audits {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #7A6BC2; /*Purple*/
    /*background-color: #7C5CE0;*/
    border: 2px solid grey;
}
.yj-noti-circle-incidents {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #D4835A; /* burnt orange - modern replacement for legacy #A06D3D */
    border: 2px solid grey;
}
.yj-noti__link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.yj-saving-indicator {
    position: fixed;
    top: 60px; /* just below the sticky app bar */
    right: 0.75rem;
    z-index: 14000;
    color: #9ca3af;
    font-size: 1.25rem;
    pointer-events: none;
}

/* Stronger pulse for the notification bell dot only */
@keyframes yj-bell-pulse-strong {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    }

    55% {
        transform: scale(1.45);
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.0);
    }
}

.yj-bell-dot {
    /* keep the dot’s position stable while scaling */
    transform-origin: center;
    will-change: transform, box-shadow;
    animation: yj-bell-pulse-strong 0.85s ease-in-out infinite;
}
/* Stop the bell dot pulse when notifications panel is open */
.yj-bell-dot--quiet {
    animation: none !important;
    box-shadow: none !important;
}

/* Wifi connectivity icon states */
.yj-wifi--online {
    color: #388e3c;
}

.yj-wifi--offline {
    color: #bdbdbd;
}

/* Sync status summary – per-commission card */
.yj-sync-commission-card {
    margin-block: 1em;
    padding: 0.5em;
    border: 1px solid darkgrey;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.yj-sync-commission-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4em;
}

.yj-sync-commission-card__title {
    font-weight: bold;
}

.yj-sync-commission-card__title-id {
    font-weight: normal;
}

.yj-sync-commission-cloud-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: normal;
    font-size: 0.8rem;
}

/* Sync status summary – sync issues error banner */
.yj-sync-issues {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
    padding: 0.5em;
    border: 1px solid #f5c2c7;
    background: #f8d7da;
    color: #842029;
    border-radius: 4px;
}

.yj-sync-issues__title {
    font-weight: 600;
}

.yj-sync-issues__list {
    margin-bottom: 0;
    margin-top: 0.25rem;
    padding-left: 1.1rem;
}

.yj-sync-issues__list li {
    padding-left: 0;
}

/* Sync status summary – module rows */
.yj-sync-module-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Sync status summary – workflow pending sub-row beneath each module */
.yj-sync-module-subrow {
    font-size: 0.72rem;
    color: #9ca3af;
    text-align: right;
    line-height: 1.4;
    margin-bottom: 0.1rem;
}

/* Sync status summary – small square refresh icon button */
.yj-sync-icon-btn.k-button {
    width: 28px;
    height: 28px;
    min-width: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Sync status summary – action row (label + icon button) */
.yj-sync-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

/*YJ EXPANDER PANEL*/

.yj-expander-panel {
    width: 100%;
}

.yj-expander-panel-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.yj-expander-panel-icon {
    display: inline-block;
    transition: transform 0.25s ease;
    font-size: 1.1rem;
    line-height: 1;
}

    .yj-expander-panel-icon.open {
        transform: rotate(180deg);
    }

.yj-expander-panel-body-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

    .yj-expander-panel-body-wrapper.open {
        grid-template-rows: 1fr;
    }

.yj-expander-panel-body {
    overflow: hidden;
    padding: 0 0.25rem;
}

.yj-expander-panel-body-wrapper.open .yj-expander-panel-body {
    padding-top: 0.75rem;
}

/* Borderless, title-less expander – shows only the chevron toggle */
.yj-expander-panel--chevron-only .yj-expander-panel-header {
    border: none !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0;
    min-height: 0;
    justify-content: space-between;
}

.yj-expander-panel--chevron-only .yj-expander-panel-header > span:first-child {
    /* Show title text with inherited font (no style change) */
    font-size: 0.8rem;
    font-weight: normal;
    color: inherit;
}

.yj-action-wizard {
        display: contents;
 
}

/* for built in identity login alert messages */
.alert{ 
    color: red;

}

/* Empty-state panels (Actions / Audits / Inspections tabs) */
.yj-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
    color: #d0d0d0;
}

.yj-empty-state__text {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    color: #d0d0d0;
}

.yj-empty-state__icon {
    font-size: 6rem;
    color: #d8d8d8;
    opacity: 0.6;
}

.gdpr-warning {
    font-size: small;
    font-style: italic;
}

.yj-markup-display {
    max-height: 200px;
    max-width: 800px;
    width: 100%;
    overflow: auto;
    /*border: 1px solid #ccc;*/
    padding: 10px;
    box-sizing: border-box;
}

.yj-markup-display--overflowing {
    border: 1px solid #ccc;
    border-radius: 4px;
}