:root {
    /* Default theme-blue values */
    --bg-main: #0F172A;
    --text-std: #90a1b9;
    --bg-header: #1e293b;
    --bg-card-panel: #13274a;
    --border-card: rgba(255, 255, 255, 0.08);
    --bg-inner: #1e293b;
    --bg-opaque: #1e293b;
    --color-white: #ffffff;
    --bg-table-header: #0F1C3F;
    --border-table-row: rgba(30, 58, 138, 0.15);
    --bg-input: rgba(15, 23, 42, 0.8);
    --text-input: #F1F5F9;
    --theme-bg-azure: #0dcaf0;
    --theme-color-blue: #0F172A;
    --theme-color-azure: #0dcaf0;
    --theme-btn-hover: #1e293b;
    --theme-border-std: #90a1b9;
    --theme-accent-light: #9ec5ff;

    --bg-card: rgba(14, 22, 48, 0.9);
    --border-color: rgba(30, 58, 138, 0.4);
    --border-color-hover: rgba(13, 202, 240, 0.8);
    --accent-blue: #38BDF8;
    --accent-green: #00FF87;
    --accent-purple: #A855F7;
    --accent-pink: #EC4899;
    --accent-yellow: #F59E0B;
    --accent-red: #EF4444;
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body.theme-blue {
    --bg-main: #0F172A;
    --text-std: #90a1b9;
    --bg-header: #1e293b;
    --bg-card-panel: #13274a;
    --border-card: rgba(255, 255, 255, 0.08);
    --bg-inner: #1e293b;
    --bg-opaque: #1e293b;
    --color-white: #ffffff;
    --bg-table-header: #0F1C3F;
    --border-table-row: rgba(30, 58, 138, 0.15);
    --bg-input: rgba(15, 23, 42, 0.8);
    --text-input: #F1F5F9;
    --theme-bg-azure: #0dcaf0;
    --theme-color-blue: #0F172A;
    --theme-color-azure: #0dcaf0;
    --theme-btn-hover: #1e293b;
    --theme-border-std: #90a1b9;
    --theme-accent-light: #9ec5ff;

    --accent-blue: #38BDF8;
    --accent-green: #00FF87;
    --bg-card: rgba(14, 22, 48, 0.9);
    --border-color: rgba(30, 58, 138, 0.4);
}

body.theme-light {
    --bg-main: #F1F5F9;
    --text-std: #475569;
    --bg-header: #FFFFFF;
    --bg-card-panel: #FFFFFF;
    --border-card: rgba(15, 23, 42, 0.08);
    --bg-inner: #F8FAFC;
    --bg-opaque: #E2E8F0;
    --color-white: #0F172A;
    --bg-table-header: #F1F5F9;
    --border-table-row: rgba(15, 23, 42, 0.08);
    --bg-input: #FFFFFF;
    --text-input: #0F172A;

    --accent-blue: #0D9488;
    --accent-green: #10B981;

    --theme-bg-azure: #0D9488;
    --theme-color-blue: #FFFFFF;
    --theme-color-azure: #0D9488;
    --theme-btn-hover: #E2E8F0;
    --theme-border-std: #94A3B8;
    --theme-accent-light: #0F766E;

    --bg-card: rgba(255, 255, 255, 0.9);
    --border-color: rgba(15, 23, 42, 0.08);
}

body.theme-dark {
    --bg-main: #05050A;
    --text-std: #94A3B8;
    --bg-header: #070A12;
    --bg-card-panel: #0A0E1A;
    --border-card: rgba(255, 255, 255, 0.15);
    --bg-inner: #03050B;
    --bg-opaque: #0D1527;
    --color-white: #F8FAFC;
    --bg-table-header: #03050B;
    --border-table-row: rgba(56, 189, 248, 0.15);
    --bg-input: #05050A;
    --text-input: #F8FAFC;

    --accent-blue: #00FF87;
    --accent-green: #00F0FF;

    --theme-bg-azure: #00FF87;
    --theme-color-blue: #05050A;
    --theme-color-azure: #00FF87;
    --theme-btn-hover: #0D1527;
    --theme-border-std: #475569;
    --theme-accent-light: #38BDF8;

    --bg-card: rgba(10, 14, 26, 0.9);
    --border-color: rgba(0, 255, 135, 0.2);
}


body {
    background: var(--bg-main);
    color: var(--text-std);
    min-height:100vh;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    scrollbar-color: var(--bg-opaque) var(--theme-bg-azure);
    scrollbar-width: thin;
    margin: 90px 0 50px 0;
    font-family: var(--font-sans) !important;
    overflow-x: hidden;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}
#passwordProtected {
    text-transform: uppercase;
    font-weight: 700;
    margin: 20px;
}

input, textarea, select {
    user-select: text;
    -webkit-user-select: text;
}

.top-header {
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-card);
    height:90px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 15;
}

.dashboard-card {
    background: var(--bg-opaque);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    position: relative;
}

.card-title-small {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    /*gap: 10px;*/
}

.card-title-small .title-container {
    display: flex;
    flex-direction: column;
}

.card-title-small .title-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.card-title-small .title-subtext {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-std);
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.metric-box {
    background: var(--bg-main);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    position: relative;
    margin-top: 30px;
    border: 1px solid var(--theme-border-std) !important;
}

.clinicalPipelineDesc {
    min-height: 75px;
    margin-bottom: 20px;
    border: 1px solid var(--theme-border-std) !important;
    border-radius: 15px;
    display: flex;
    padding: 10px 20px;
    align-items: center;
    justify-content: space-between;
}

.form-text {
    background: var(--bg-inner);
    border-radius: 10px;
    text-align: center;
    position: relative;
    font-weight: 700;
    width: 60px;
    height: 40px;
    color: var(--theme-color-azure);
    border: 1px solid var(--theme-border-std) !important;
    border-radius: 15px !important;
    margin: 0 !important;
}

.composition-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--theme-color-azure);
    background: transparent;
    max-width: 100%;
    border: none;
    text-align: center;
}

.flow-header {
    border:1px solid var(--border-card);
    border-radius:10px;
    padding:15px;
}

.section-list {
    display: flex;
}

.list-group-item {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    border: none !important;
    background-color: var(--bg-inner) !important;
    color: var(--color-white) !important;
    border-radius: 12px !important;
    margin-top: 6px;
    padding: 10px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.custom-slider {
    width:100%;
}

.progress {
    height:12px;
    background: var(--bg-inner);
    position: relative;
}

.footer-space {
    height:40px;
}

.table-dark-custom {
    --bs-table-bg:transparent;
    --bs-table-color: var(--color-white);
    --bs-table-border-color: var(--border-card);
    background: transparent !important;
    color: var(--text-std) !important;
}

.small-label {
    color: var(--text-std);
    font-size: 12px;
    position: absolute;
    top: -20px;
    left: 0;
    text-transform: uppercase;
    font-weight: 600;
}

.sliderDiv {
    position: relative;
    margin: 40px 0;
}

.flowSplit {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0 20px;
}

.flowSplit label {
    width: 100%;
}

.flowSplit .inputPercLabel {
    color: #0dcaf0;
}

.inputDiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.text-secondary {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 10px;
}

.text-strong {
    font-weight: 900;
}

.text-sub-text {
    display:flex;
    justify-content: space-around;
    flex-direction: column;
}

.icon-image {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 12px !important;
}
.logo-image {
    width: 50px;
    height: 50px;
    padding: 5px;
}
#logoImg {
    width: 100%;
}

.icon-image.big-icon {
    width: 75px;
    height: 75px;
    font-size: 24px;
}

.icon-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
    background-color: var(--bg-card-panel);
    border: 1px solid var(--theme-color-azure);
    color: var(--theme-color-azure);
    margin-right: 12px !important;
}
.icon-badge.big-icon {
    width: 75px;
    height: 75px;
    font-size: 24px;
}
.icon-badge.theme-azure {
    background-color: rgba(13, 202, 240, 0.15);
    border: 1px solid var(--theme-color-azure);
    color: var(--theme-color-azure);
}
.icon-badge.theme-yellow {
    background-color: rgba(255, 185, 0, 0.15);
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow);
}
.icon-badge.theme-pink {
    background-color: rgba(246, 51, 154, 0.15);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
}
.icon-badge.theme-orange {
    background-color: rgba(255, 137, 4, 0.15);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
}

.bg-azure {
    background-color: var(--theme-bg-azure) !important;
}
.bg-white {
    background-color: var(--color-white) !important;
}
.text-white {
    color: var(--color-white) !important;
}
.text-azure {
    color: var(--theme-color-azure) !important;
}

.color-blue {
    color: var(--theme-color-blue) !important;
}

.color-azure {
    color: var(--theme-color-azure) !important;
}

.text-with-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.btn {
    color: var(--text-std);
}
.btn-custom {
    border-radius: 15px;
    border-color: var(--theme-border-std) !important;
    color: var(--text-std);
    font-weight: 600;
    padding: 10px;
    text-transform: uppercase;
}
.btn-custom.selected {
    background-color: var(--theme-bg-azure);
    color: var(--theme-color-blue);
}

.btn-custom:hover {
    background-color: var(--theme-btn-hover);
}
.speedBtn {
    font-size: 10px;
}
.time-step-btn {
    font-size: 10px;
}

.first-row {
    min-height: 100px;
    padding: 20px;
    background-color: transparent;
}

.bg-light {
    background-color: var(--bg-card-panel) !important;
    border: 1px solid var(--theme-color-azure);
}

.color-white {
    color: var(--color-white);
}

.bg-opaque {
    background-color: var(--bg-opaque);
}

.bg-blue {
    background-color: var(--bg-main);
}

.bg-darkish {
    background-color: var(--bg-inner);
}

.no-bg {
    background-color: transparent;
}

.no-bg:hover, .no-bg:focus {
    background-color: var(--bg-opaque);
}

.label-abs {
    position: absolute;
    width: 100%;
}

.scenario-name {
    position: relative;
    min-height: 60px;
    padding: 0;
}

.first-line-buttons {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.btn-info {
    text-transform: uppercase;
    --tw-tracking: 0.2em;
    letter-spacing: 0.2em;
    font-size: 12px;
    padding: 20px;
    border-radius: 15px;
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),
        0 3px 8px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform .15s ease, box-shadow .15s ease;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.22),
        0 5px 12px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.text-info {
    color: var(--theme-color-azure) !important;
}
.text-with-sub {
    display: flex;
    flex-direction: column;
}

.color-std {
    color: var(--text-std);
}

.color-pink {
    color: #f6339a;
}

.title-text {
    font-size: 18px;
}

.mb10 {
    margin-bottom: 10px;
}

.slider-title {
    font-weight: 900;
    --tw-tracking: 0.2em;
    letter-spacing: 0.2em;
    font-size: 11px;
}

h3.slider-title {
    font-size: 13px;
}

input[type="range"] {
    -webkit-appearance: none;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: var(--bg-main);
    height: 10px;
}

input[type="range"]::-moz-range-track {
    background: var(--bg-main);
    height: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: var(--theme-bg-azure);
    margin-top: -5px;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: var(--theme-bg-azure);
    margin-top: -5px;
    border-radius: 50%;
}

.space-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    --tw-tracking: 0.2em;
    letter-spacing: 0.2em;
    font-size: 10px;
    font-weight: 700;
}

.patientPresentations input[type="range"]::-webkit-slider-thumb {
    background: #f6339a;
}

.patientPresentations input[type="range"]::-moz-range-thumb {
    background: #f6339a;
}

input[type="range"].esi1::-webkit-slider-thumb {
    background: red;
}

input[type="range"].esi1::-moz-range-thumb {
    background: red;
}

input[type="range"].esi2::-webkit-slider-thumb {
    background: orange;
}

input[type="range"].esi2::-moz-range-thumb {
    background: orange;
}

input[type="range"].esi3::-webkit-slider-thumb {
    background: yellow;
}

input[type="range"].esi3::-moz-range-thumb {
    background: yellow;
}

input[type="range"].esi4::-webkit-slider-thumb {
    background: green;
}

input[type="range"].esi4::-moz-range-thumb {
    background: green;
}

input[type="range"].esi5::-webkit-slider-thumb {
    background: blue;
}

input[type="range"].esi5::-moz-range-thumb {
    background: blue;
}

.patientPresentations .inputPercLabel {
    color: #f6339a;
}

.slider-div label {
    width: 100%;
    position: relative;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: 5px;
}

.inputPercLabel {
    position: absolute;
    right: 0;
    font-size: 12px;
    top: 5px;
    color: var(--color-white);
}

.bg-pink {
    border: 1px solid #f6339a;
    background-color: rgba(246,51,154,0.2);
    border-radius: 10px;
}

.bg-yellow {
    border: 1px solid #FFB900;
    background-color: rgba(255,185,0,0.2);
    border-radius: 10px;
}

.bg-orange {
    border: 1px solid #FF8904;
    background-color: rgba(255,137,4,0.2);
    border-radius: 10px;
}

.color-yellow {
    color: #FFB900;
}

.color-orange {
    color: #FF8904;
}

.color-red {
    color: red;
}

.color-green {
    color: green;
}

.color-light-green {
    color: #88E788;
}

.bg-light-green {
    border: 1px solid rgba(136,231,136);
    background-color: rgba(136,231,136,0.2);
    border-radius: 10px;
}

.bg-green {
    border: 1px solid green;
    background-color: rgba(0,255,0,0.2);
    border-radius: 10px;
}

.bg-red {
    border: 1px solid red;
    background-color: rgba(255,0,0,0.2);
    border-radius: 10px;
}

.init-target {
    min-height: 60px;
    padding: 20px;
    border: 1px solid var(--theme-border-std);
    border-radius: 15px;
    background: var(--bg-main);
}

.init-target-title {
    text-transform: uppercase;
    --tw-tracking: 0.2em;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 900;
    display: block;
    margin-bottom: 20px;
}

.form-control {
    border-radius: 15px;
    min-height: 45px;
}

.alert {
    border: 1px solid var(--theme-border-std);
    border-radius: 15px;
    padding: 15px;
}

footer {
    position: fixed;
    bottom: 0;
    height: 50px;
    font-size: 12px;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
    background: var(--bg-header);
    border-top: 1px solid var(--border-card);
    flex-direction: column;
    z-index: 15;
}
#toggleTheme {
    margin-right: 10px;
}
.main-div {
    margin-top: 90px;
}

.progress-bar {
    display: block;
    position: absolute;
    height: 100%;
}

.bg-info {
    right: 0;
    background-color: var(--theme-color-azure);
}
.themeIcon {
    display: none;
}
.themeIcon.selected {
    display: block;
}
.overflow-div {
    max-height: 450px;
    overflow: auto;
    position: relative;
}

.blackBg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    border-radius: 10px;
}

#unityContainer {
    width: 100%;
    height: 550px;
    background: #000;
    overflow: hidden;
}

#webContainer {
    width: 100%;
    height: 100%;
    display: block;
}

.tab-nav-btn {
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    padding: 10px;
    border-radius: 15px;
}
.tab-nav-btn.selected {
    color: var(--theme-color-blue) !important;
    background-color: var(--theme-bg-azure);    
}

.small-text {
    font-size: 10px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&display=swap');



h1, h2, h3, h4, .font-display {
    font-family: var(--font-display), sans-serif;
}

.font-mono {
    font-family: var(--font-mono), monospace !important;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.3);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.2);
    border-radius: 99px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 189, 248, 0.4);
}

.dash-card {
    border-radius: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(12px);
}

.dash-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.05);
}

.nav-pills .nav-link {
    color: #94A3B8 !important;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #000000 !important;
    background-color: var(--accent-blue) !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.nav-pills .nav-link:hover:not(.active) {
    background-color: rgba(30, 58, 138, 0.2) !important;
    color: #FFFFFF !important;
}

.btn-sim-active {
    background: rgba(0, 255, 135, 0.1) !important;
    border: 1px solid rgba(0, 255, 135, 0.3) !important;
    color: var(--accent-green) !important;
}

.zone-polygon {
    transition: fill 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}

.zone-polygon:hover {
    fill: rgba(56, 189, 248, 0.3) !important;
    stroke: var(--accent-green) !important;
}

@keyframes flowParticle {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        offset-distance: 100%;
        opacity: 0;
    }

}

.flow-particle {
    animation: flowParticle 6s linear infinite;
    offset-rotate: auto;
}

.table-dark-custom th {
    background: var(--bg-table-header) !important;
    color: var(--text-std) !important;
    border-bottom: 1px solid var(--border-card) !important;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.table-dark-custom td {
    background: transparent !important;
    border-bottom: 1px solid var(--border-table-row) !important;
    font-family: var(--font-mono);
    font-size: 0.7rem;
}

.triage-badge {
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
    border: 1px solid;
    font-family: var(--font-mono);
    font-size: 0.65rem;
}

.sparkline-container {
    height: 24px;
}

input.form-control-dark, select.form-select-dark {
    background-color: var(--bg-input) !important;
    border: 1px solid var(--border-card) !important;
    color: var(--text-input) !important;
    font-size: 0.75rem !important;
    border-radius: 0.375rem !important;
}

input.form-control-dark:focus, select.form-select-dark:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15) !important;
    outline: none;
}

.alert-custom-red {
    background: rgba(239, 104, 104, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 0.5rem;
}

.alert-custom-amber {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 0.5rem;
}

.alert-custom-blue {
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 0.5rem;
}

.border {
    border-radius: 15px;
}

#shiftingDataColumn {
    font-size: 12px;
}

.panel.stat-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-card);
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    border-radius: 15px;
    position: relative;
    padding: 20px;
}

.stat-title {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    position: absolute;
    top: 10px;
    left: 10px;
}

.stat-value {
    font-weight: bold;
}

.stat-card .text-secondary {
    position: absolute;
    top: 10px;
    right: 10px;
}

.sectionTitle {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    display: block;
    position: relative;
}

#configDiv {
    display: none;
}

.navdiv {
    display: flex;
    padding: 0 100px;
    align-items: center;
    justify-content: space-around;
    flex-grow: 1;
}

#bookADemo {
    font-size: 14px;
    font-weight: 700;
    margin-right: 20px;
}

.unity-panel {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--border-card);
    position: relative;
}
#timeControls {
    margin-top: 15px;
    justify-content: center;
    flex-direction: column;
}
#cameraControls {
    position: absolute;
    right: 20px;
    top: 15px;
}
.camera-btn, .time-btn {
    padding: 3px 10px;
}
.sim-unity-title {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
}

.data-screen-panel {
    display: none;
}

.data-screen-panel.panel-selected {
    display: block;
}

#currentDataScreen {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 7px;
}
.small-btn {
    font-size: 9px;
    border: 1px solid var(--theme-border-std);
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
}
.forecast-card {
    padding: 20px;
    border: 1px solid var(--border-card);
    margin-bottom: 15px;
    border-radius: 15px;
}

.panel-patient-flow {
    border: 1px solid var(--border-card);
    border-radius: 15px;
}

.flow-item {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 15px;
    padding: 10px;
    position: relative;
}

.flow-item::before {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: '\f061';
    right: -20px;
}

.flow-item.last-item::before {
    content: "";
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 25px;
}

.flow-data {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.patientFlowIcon {
    font-size: 16px;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    display: flex
}

.btn-scenario-trigger {
    margin-top: 10px;
}

.bigTitle {
    font-size: 18px;
}

.what-if-title {
    align-items: flex-start;
    width: 100%;
    padding: 10px;
}

.border-secondary, .border-bottom {
    border-color: var(--border-card) !important;
}
.hidden {
    display: none !important;
}

.inspector-panel {
    position: absolute;
    top: 74px;
    right: -340px;
    width: 320px;
    height: 100%;
    background: var(--bg-card-panel);    
    border-left: 1px solid var(--border-card);
    border-bottom-right-radius: 15px;
    padding: 20px;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;   
    display: flex;
    flex-direction: column;
}
.inspector-panel.open {
    right: 0;
}
.inspector-header h5 {
    font-size: 11px;
}
#inspector-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 4px;
}
.inspector-section {
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.inspector-label {
    color: var(--text-std);
    font-size: 10px;
    text-transform: uppercase;
    font-family: monospace;
}
.inspector-value {
    color: var(--color-white);
    font-weight: 500;
}
.inspector-plan-step {
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-family: monospace;
    font-size: 10px;
}
.inspector-plan-step.done {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
}
.inspector-plan-step.current {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38BDF8;
    animation: pulse 2s infinite;
}
.inspector-plan-step.todo {
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}
.inspector-value {
    font-size: 10px;
}

[data-patient-id], [data-staff-id] {
    cursor: pointer;
    transition: all 0.2s ease;
}
[data-patient-id]:hover, [data-staff-id]:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(13, 202, 240, 0.3) !important;
    transform: translateY(-1px);
}
#scenario-list {
    width: 100%;
}
.sub-text {
    text-transform: uppercase;
    color: rgb(108 117 125);
    font-weight: 700;
}
.alert-icon, .small-icon {
    width: 20px;
    height: 20px;
}
.table-dark {
    --bs-table-bg: var(--bg-main);
    --bs-table-striped-bg: var(--bg-opaque);
}
.pos-rel {
    position:relative;
}
.deptFilterBtn {
    font-size: 10px;
    padding: 2px;
    flex-grow: 1;
}
#deptFilterGroup {
    width: 100%;
}

.dashboard-panel {
    background: var(--bg-inner);
    border: 1px solid var(--border-card);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.panel-header {
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.panel-title-container {
    display: flex;
    flex-direction: column;
}
.panel-title {
    font-family: var(--font-mono) !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--theme-color-azure) !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.panel-title i {
    font-size: 1rem;
    color: var(--theme-color-azure);
}
.panel-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-std);
    letter-spacing: 0.05em;
    margin-top: 3px;
}

.btn-twin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid var(--theme-border-std);
    background: transparent;
    color: var(--text-std);
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.btn-twin:hover:not(:disabled) {
    background: var(--theme-btn-hover);
    border-color: var(--theme-color-azure);
    color: var(--color-white);
}
.btn-twin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn-twin-primary {
    background: var(--theme-bg-azure);
    color: var(--theme-color-blue) !important;
    border-color: var(--theme-bg-azure);
}
.btn-twin-primary:hover:not(:disabled) {
    background: transparent;
    color: var(--theme-color-azure) !important;
    border-color: var(--theme-bg-azure);
}
.btn-twin-primary:disabled {
    color: var(--theme-color-blue) !important;
    background: var(--theme-bg-azure) !important;
    opacity: 0.5 !important;
}
.btn-twin-sm {
    padding: 6px 12px;
    font-size: 0.7rem;
}
.btn-twin.selected {
    background-color: var(--theme-bg-azure) !important;
    color: var(--theme-color-blue) !important;
    border-color: var(--theme-bg-azure) !important;
}

/* Camera list slide-in panel styles */
.inspector-panel.front-panel {
    z-index: 11;
}

.camera-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.camera-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(13, 202, 240, 0.3);
}

.camera-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
}

.camera-name {
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
}

#toggleCameraLockBtn.locked {
    background-color: #dc3545 !important;
    color: #fff !important;
    border-color: #dc3545 !important;
}
