/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 64px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .carousel-item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.cookie-consent {
    margin: 0;
    border-width: 0 0 1px;
    border-radius: 0;
}

.cookie-consent-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
    line-height: 1;
}

.porder-priority-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-top: 4px;
    padding: 3px 8px;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

.porder-priority-badge-critical {
    background: #b3261e;
    border-color: #8f1d17;
}

.porder-priority-badge-high {
    background: #b85c00;
    border-color: #8f4700;
}

.porder-priority-badge-normal {
    background: #2f6fb2;
    border-color: #23598f;
}

.porder-priority-badge-low {
    background: #4d7f43;
    border-color: #3a6431;
}

.porder-priority-badge-default {
    background: #6f8292;
    border-color: #5d6d79;
}

/* Shared blue/rose zebra rows for data grids */
.np-table-zebra > tbody > tr:nth-child(odd) {
    background-color: #eaf3ff;
}

.np-table-zebra > tbody > tr:nth-child(even) {
    background-color: #fff0f5;
}

/* Simulation lines use the same blue/rose palette, one tone per whole line. */
.simulation-line-card.simulation-line-blue {
    background-color: #eaf3ff;
}

.simulation-line-card.simulation-line-rose {
    background-color: #fff0f5;
}

.simulation-line-card .table {
    --bs-table-bg: transparent;
}

.simulation-line-card .np-table-zebra > tbody > tr {
    background-color: transparent;
}

/* Fall detection alert styling */
#fallAlertBox {
    display: none;
    padding: 15px;
    margin-top: 10px;
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 5px;
    color: #721c24;
    font-weight: bold;
}

#fallAlertBox.show {
    display: block;
    animation: pulse 1s infinite;
}

/* Heat stress alert styling */
#heatStressAlertBox {
    display: none;
    padding: 15px;
    margin-top: 10px;
    background-color: #fff3cd;
    border: 2px solid #ff6b00;
    border-radius: 5px;
    color: #856404;
    font-weight: bold;
}

#heatStressAlertBox.show {
    display: block;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Machine Health styling */
.machine-health-container {
    margin-top: 15px;
    margin-bottom: 15px;
}

.mh-metric {
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.mh-metric.highlight {
    background-color: #fff3cd;
}

.mh-status {
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9em;
}

.mh-status.ok {
    background-color: #d4edda;
    color: #155724;
}

.mh-status.fault {
    background-color: #f8d7da;
    color: #721c24;
}

/* Menu Navigation Improvements */
/* Dropdown menu headers for better organization */
.dropdown-menu .dropdown-header {
    color: #337ab7;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    padding: 3px 20px;
}

/* Industrial Framework menu icons */
.industrial-framework-menu-icon {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    vertical-align: -2px;
}

/* Improved dropdown spacing */
.dropdown-menu > li > a,
.dropdown-menu > li > .dropdown-item {
    padding: 8px 20px;
    transition: background-color 0.2s ease;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > .dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-menu .dropdown-divider {
    margin: 5px 0;
}

/* Breadcrumb styling */
.breadcrumb {
    background-color: #f5f5f5;
    padding: 8px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/ ";
    padding: 0 5px;
    color: #ccc;
}

.breadcrumb-item.active {
    color: #777;
}

/* Branch Index - Button Layout */
/* Make all branch action buttons consistent size */
/* More specific selector to override Bootstrap's .btn-sm defaults */
.branch-action-btn.btn-sm,
.branch-action-btn,
a.btn.branch-action-btn {
    margin-bottom: 8px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    width: 180px !important;
    text-align: left !important;
    display: inline-block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

.branch-action-btn-rose-1,
a.btn.branch-action-btn-rose-1 {
    background-color: #f3a7bb !important;
    border-color: #dc879f !important;
    color: #2b2b2b !important;
}

.branch-action-btn-rose-2,
a.btn.branch-action-btn-rose-2 {
    background-color: #f6b9c8 !important;
    border-color: #e09aac !important;
    color: #2b2b2b !important;
}

.branch-action-btn-rose-3,
a.btn.branch-action-btn-rose-3 {
    background-color: #f9cad6 !important;
    border-color: #e7b0c0 !important;
    color: #2b2b2b !important;
}

.branch-action-btn-blue-1,
a.btn.branch-action-btn-blue-1 {
    background-color: #a8cdf1 !important;
    border-color: #88b3de !important;
    color: #2b2b2b !important;
}

.branch-action-btn-blue-2,
a.btn.branch-action-btn-blue-2 {
    background-color: #b8d8f5 !important;
    border-color: #9ec1e5 !important;
    color: #2b2b2b !important;
}

.branch-action-btn-blue-3,
a.btn.branch-action-btn-blue-3 {
    background-color: #c7e2f8 !important;
    border-color: #b1d0ea !important;
    color: #2b2b2b !important;
}

.branch-action-btn-rose-4,
a.btn.branch-action-btn-rose-4 {
    background-color: #fbe0e7 !important;
    border-color: #eac1cf !important;
    color: #2b2b2b !important;
}

.branch-action-btn-rose-5,
a.btn.branch-action-btn-rose-5 {
    background-color: #fce8ed !important;
    border-color: #edd3dc !important;
    color: #2b2b2b !important;
}

.branch-action-btn-blue-4,
a.btn.branch-action-btn-blue-4 {
    background-color: #d8ebfb !important;
    border-color: #bdd7ef !important;
    color: #2b2b2b !important;
}

.branch-action-btn-blue-5,
a.btn.branch-action-btn-blue-5 {
    background-color: #e5f2fd !important;
    border-color: #cfe0f2 !important;
    color: #2b2b2b !important;
}

.branch-action-btn-lavender-1,
a.btn.branch-action-btn-lavender-1 {
    background-color: #dbe7fb !important;
    border-color: #bfd0eb !important;
    color: #2b2b2b !important;
}

.branch-action-btn-lavender-2,
a.btn.branch-action-btn-lavender-2 {
    background-color: #e4eefc !important;
    border-color: #ccdcee !important;
    color: #2b2b2b !important;
}

.branch-action-btn-lavender-3,
a.btn.branch-action-btn-lavender-3 {
    background-color: #edf5fe !important;
    border-color: #dbe7f6 !important;
    color: #2b2b2b !important;
}

.branch-action-btn.btn-sm img,
.branch-action-btn img,
a.btn.branch-action-btn img,
.branch-action-btn.btn-sm i,
.branch-action-btn i,
a.btn.branch-action-btn i {
    margin-right: 6px !important;
    width: 16px !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Keep general btn-sm styling for other pages */
.btn-sm {
    margin-bottom: 5px;
}

.btn-sm img {
    margin-right: 5px;
}

/* Widen the Configuration dropdown menu to prevent text wrapping */
.navbar-nav .dropdown-menu {
    min-width: 280px; /* Increase from default 160px */
    white-space: nowrap; /* Prevent text from wrapping to multiple lines */
}

/* Optional: Add some padding for better readability */
.navbar-nav .dropdown-menu > li > a,
.navbar-nav .dropdown-menu > li > .dropdown-item {
    padding: 8px 20px;
}

/* Make sure long menu items don't overflow */
.navbar-nav .dropdown-menu > li > a,
.navbar-nav .dropdown-menu > li > .dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Home */
.home-dashboard,
.home-public {
    margin-top: 24px;
}

.home-eyebrow {
    margin: 0 0 5px;
    color: #49616f;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-dashboard-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0 18px;
    border-bottom: 1px solid #d7dee2;
}

.home-dashboard-header h1,
.home-public-overlay h1 {
    margin: 0 0 8px;
    color: #17252d;
    font-size: 32px;
    font-weight: 600;
}

.home-dashboard-intro {
    max-width: 760px;
    margin: 0;
    color: #52636d;
    font-size: 16px;
}

.home-primary-action {
    flex: 0 0 auto;
}

.home-primary-action .bi {
    margin-right: 7px;
}

.home-emergency-feed {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #d89a9a;
    border-left: 5px solid #b23a3a;
    border-radius: 8px;
    background: #fff8f7;
}

.home-emergency-card {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #ead1cf;
    border-radius: 6px;
    background: #fff;
}

.home-emergency-heading,
.home-emergency-sensor {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: baseline;
}

.home-emergency-heading {
    justify-content: space-between;
}

.home-emergency-heading strong {
    color: #a31f1f;
}

.home-emergency-simulation {
    margin-left: 8px;
    color: #674b18;
    font-size: 0.85rem;
    font-weight: 700;
}

.home-emergency-sensors {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.home-emergency-sensor {
    padding-top: 9px;
    border-top: 1px solid #eee;
}

.home-emergency-sensor ul {
    flex-basis: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;
    margin: 0;
    padding-left: 20px;
}

.home-command-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid #d7dee2;
    background: #f4f7f8;
}

.home-command {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 58px;
    padding: 18px 12px;
    border-right: 1px solid #d7dee2;
    color: #24495e;
    font-weight: 600;
    text-align: center;
}

.home-command:last-child {
    border-right: 0;
}

.home-command:hover,
.home-command:focus {
    background: #e7f0f4;
    color: #173e53;
    text-decoration: none;
}

.home-command-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2b647c;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.home-context-note {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid #d7dee2;
    background: #fff9e8;
    color: #604b1c;
}

.home-context-note p {
    margin: 0;
}

.home-context-note .bi {
    padding-top: 2px;
}

.home-context-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 18px;
    border-bottom: 1px solid #d7dee2;
    background: #f4f7f8;
}

.home-context-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

.home-context-search .mb-3 {
    margin-bottom: 0;
}

.home-context-search-field {
    position: relative;
}

.home-search-results {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.home-context-create {
    white-space: nowrap;
}

.home-runtime-connections {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #d7dee2;
    border-left: 5px solid #53788b;
    border-radius: 8px;
    background: #f7fafb;
}

.home-runtime-connections.is-inactive {
    border-color: #d89a9a;
    border-left-color: #b23a3a;
    background: #fff8f7;
}

.home-runtime-connections.is-online {
    border-color: #93c8a2;
    border-left-color: #287a43;
    background: #f5fbf6;
}

.home-runtime-connections-list {
    display: grid;
    gap: 10px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    max-height: 320px;
    overflow-y: auto;
}

.home-runtime-connections-list[hidden] {
    display: none;
}

.home-runtime-connections-list > .home-runtime-company {
    padding: 10px 12px;
    border: 1px solid #d7dee2;
    border-radius: 6px;
    background: #fff;
}

.home-runtime-company-name {
    color: #24495e;
}

.home-runtime-branch-list {
    display: grid;
    gap: 8px;
    margin: 10px 0 0 12px;
    padding: 0 0 0 16px;
    border-left: 2px solid #d7dee2;
    list-style: none;
}

.home-runtime-branch-list > .home-runtime-branch {
    min-width: 0;
}

.home-runtime-branch-name {
    padding: 0;
    border: 0;
    background: none;
    color: #24495e;
    font-weight: 700;
    text-align: left;
    text-decoration: underline;
    cursor: pointer;
}

.home-runtime-branch-name:hover,
.home-runtime-branch-name:focus-visible {
    color: #17688f;
}

.home-runtime-service-list {
    display: grid;
    gap: 4px;
    margin: 10px 0 0 12px;
    padding: 0 0 0 16px;
    border-left: 2px solid #d7dee2;
    list-style: none;
}

.home-runtime-service-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    min-width: 0;
    padding: 4px 8px;
}

.home-runtime-service-list li strong {
    min-width: 130px;
}

.home-runtime-endpoint {
    overflow-wrap: anywhere;
}

.home-runtime-service-list .home-runtime-connection-online {
    background: #f5fbf6;
}

.home-runtime-connection-online strong {
    color: #287a43;
}

.home-runtime-service-list .home-runtime-connection-offline {
    background: #fff8f7;
}

.home-runtime-connection-offline strong {
    color: #a31f1f;
}

.home-branch-workspace {
    padding: 24px 0 8px;
}

.home-workspace-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-workspace-action {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px 10px;
    min-height: 94px;
    padding: 14px;
    border: 1px solid #d7dee2;
    border-radius: 4px;
    background: #fff;
    color: #24495e;
}

.home-workspace-action:hover,
.home-workspace-action:focus {
    border-color: #9fb7c4;
    background: #f7fbfc;
    color: #173e53;
    text-decoration: none;
}

.home-workspace-action .bi {
    grid-row: 1 / span 2;
    padding-top: 2px;
    color: #2b647c;
    font-size: 20px;
    text-align: center;
}

.home-workspace-action strong {
    font-size: 15px;
}

.home-workspace-action small {
    color: #5d6c74;
    line-height: 1.35;
}

.home-branch-link.disabled,
.home-branch-link.disabled:hover,
.home-branch-link.disabled:focus {
    cursor: not-allowed;
    opacity: 0.55;
    text-decoration: none;
}

.home-section {
    padding: 28px 0 10px;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 16px;
}

.home-section-heading h2,
.home-recording-guide h2 {
    margin: 0;
    color: #22343e;
    font-size: 22px;
}

.home-section-heading > p {
    max-width: 520px;
    margin: 0;
    color: #667780;
    text-align: right;
}

.home-annotation-grid > div {
    margin-bottom: 16px;
}

.home-annotation {
    display: flex;
    min-height: 166px;
    gap: 14px;
    padding: 18px;
    border: 1px solid #d7dee2;
    border-left-width: 4px;
    border-radius: 4px;
    background: #fff;
}

.home-annotation h3 {
    margin: 0 0 7px;
    color: #263943;
    font-size: 17px;
    font-weight: 600;
}

.home-annotation p {
    min-height: 60px;
    margin-bottom: 8px;
    color: #5d6c74;
}

.home-annotation a {
    font-weight: 600;
}

.home-annotation-icon {
    width: 26px;
    padding-top: 2px;
    font-size: 19px;
    text-align: center;
}

.home-annotation-danger { border-left-color: #b23a3a; }
.home-annotation-danger .home-annotation-icon { color: #b23a3a; }
.home-annotation-shift { border-left-color: #28748e; }
.home-annotation-shift .home-annotation-icon { color: #28748e; }
.home-annotation-fault { border-left-color: #c06b19; }
.home-annotation-fault .home-annotation-icon { color: #c06b19; }
.home-annotation-maintenance { border-left-color: #3f7852; }
.home-annotation-maintenance .home-annotation-icon { color: #3f7852; }
.home-annotation-condition { border-left-color: #665d8b; }
.home-annotation-condition .home-annotation-icon { color: #665d8b; }
.home-annotation-material { border-left-color: #74633e; }
.home-annotation-material .home-annotation-icon { color: #74633e; }

.home-recording-guide {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
    gap: 36px;
    margin: 12px 0 8px;
    padding: 22px;
    border-top: 3px solid #2b647c;
    background: #eef3f5;
}

.home-recording-guide ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding-left: 22px;
}

.home-recording-guide li {
    padding-left: 4px;
    color: #445861;
}

.home-public-hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #1d313b;
}

.home-public-image {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.home-public-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 590px;
    padding: 44px;
    background: rgba(245, 248, 249, 0.92);
}

.home-public-overlay > p:not(.home-eyebrow) {
    margin-bottom: 20px;
    color: #4d606a;
    font-size: 17px;
}

.home-public-overlay .navbar-nav {
    float: none;
    margin: 0;
}

.home-public-overlay .navbar-nav > li {
    float: left;
}

.home-public-overlay .navbar-nav > li > a {
    margin-right: 8px;
    padding: 10px 16px;
    border: 1px solid #28627b;
    border-radius: 4px;
    color: #28627b;
}

.home-public-capabilities {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid #d7dee2;
    border-top: 0;
}

.home-public-capabilities > div {
    min-height: 180px;
    padding: 28px;
    border-right: 1px solid #d7dee2;
}

.home-public-capabilities > div:last-child {
    border-right: 0;
}

.home-public-capabilities .bi {
    color: #2b647c;
    font-size: 22px;
}

.home-public-capabilities h2 {
    margin: 12px 0 8px;
    color: #293b45;
    font-size: 20px;
}

.home-public-capabilities p {
    color: #60717a;
}

.admin-menu-submenu {
    position: relative;
}

.admin-menu-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    display: none;
    margin-top: -6px;
    margin-left: -1px;
    min-width: 230px;
}

.admin-menu-submenu:hover > .dropdown-menu,
.admin-menu-submenu:focus-within > .dropdown-menu {
    display: block;
}

.admin-menu-submenu > .admin-menu-group {
    padding-right: 32px;
    white-space: nowrap;
}

.admin-menu-child-icon {
    width: 14px;
    height: 14px;
    margin-right: 7px;
    vertical-align: -2px;
}

.admin-menu-child > li > a:hover .admin-menu-child-icon,
.admin-menu-child > li > a:focus .admin-menu-child-icon {
    opacity: 0.9;
}

.admin-menu-icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
    vertical-align: -4px;
}

.admin-menu-caret {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #5d7683;
    transform: translateY(-50%);
}

@media screen and (max-width: 991px) {
    .home-command-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-command {
        border-bottom: 1px solid #d7dee2;
    }

    .home-recording-guide,
    .home-recording-guide ol,
    .home-context-picker,
    .home-workspace-grid {
        grid-template-columns: 1fr;
    }

    .home-public-capabilities {
        grid-template-columns: 1fr;
    }

    .home-public-capabilities > div {
        border-right: 0;
        border-bottom: 1px solid #d7dee2;
    }
}

@media screen and (max-width: 767px) {
    .home-dashboard-header,
    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-section-heading > p {
        text-align: left;
    }

    .home-command-bar {
        grid-template-columns: 1fr;
    }

    .home-command {
        justify-content: flex-start;
        text-align: left;
    }

    .home-context-search {
        grid-template-columns: 1fr;
    }

    .home-public-hero,
    .home-public-image {
        min-height: 420px;
    }

    .home-public-overlay {
        max-width: none;
        padding: 28px 22px;
        background: rgba(245, 248, 249, 0.95);
    }

    .home-dashboard-header h1,
    .home-public-overlay h1 {
        font-size: 27px;
    }

    .admin-menu-submenu > .dropdown-menu {
        position: static;
        display: block;
        float: none;
        margin: 0;
        padding-left: 12px;
        border: 0;
        box-shadow: none;
    }

    .admin-menu-caret {
        display: none;
    }
}
.profile-field-label {
    display: flex;
    align-items: flex-end;
    min-height: 3rem;
    line-height: 1.15;
}

.simulation-sensor-status-column {
    width: 4rem;
    min-width: 4rem;
}

.simulation-sensor-status-icon,
.simulation-group-status-icon {
    cursor: help;
}

.simulation-group-heading {
    min-width: 0;
}

.simulation-group-sensors {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.simulation-group-sensor-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    min-height: 1.9rem;
    padding: .2rem .55rem;
    border: 1px solid #b9d5f5;
    border-radius: .45rem;
    background-color: #eaf3ff;
    color: #24496f;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: center;
}

.simulation-group-header-status {
    position: relative;
    cursor: help;
    flex: 0 0 auto;
    align-self: center;
    margin-left: auto;
    padding: .35rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .75);
}

.simulation-safety-group-card:hover,
.simulation-safety-group-card:focus-within {
    position: relative;
    z-index: 10;
}

.simulation-group-header-status:hover::after,
.simulation-group-header-status:focus::after {
    content: attr(data-status-message);
    position: absolute;
    inset-inline-end: 0;
    bottom: calc(100% + .4rem);
    z-index: 1080;
    width: min(19rem, 75vw);
    padding: .5rem .75rem;
    border-radius: .3rem;
    border: 1px solid #b88700;
    background: #fff8df;
    color: #212529;
    font: normal .875rem/1.4 var(--bs-body-font-family, sans-serif);
    white-space: normal;
    text-align: start;
    overflow-wrap: anywhere;
    box-shadow: 0 .2rem .5rem #0002;
}
