body {
    background:#0F172A;
    color:#90a1b9;
    min-height:100vh;
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    scrollbar-color: #1e293b #0dcaf0;
    scrollbar-width: thin;
    margin: 90px 0 50px 0;
    font-family: var(--font-sans) !important;
    overflow-x: hidden;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

.top-header {
    background:#1e293b;
    border-bottom:1px solid rgba(255,255,255,.1);
    height:90px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

.dashboard-card {
    background:#13274a;
    border:1px solid rgba(255,255,255,.08);
    border-radius:10px;
    padding:18px;
    height:100%;
    position: relative;
}

.card-title-small {
    font-size:.8rem;
    font-weight:700;
    text-transform:uppercase;
    color:#9ec5ff;
    margin-bottom:15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.metric-box {
    background:#0d1d3f;
    border-radius:15px;
    padding:12px;
    text-align:center;
    position: relative;
    margin-top: 35px;
    border: 1px solid #90a1b9 !important;
}

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

.form-text {
    background:#0d1d3f;
    border-radius:10px;
    text-align:center;
    position: relative;
    font-weight: 700;
    width: 60px;
    height: 40px;
    color: #0dcaf0;
    border: 1px solid #90a1b9 !important;
    border-radius: 15px !important;
    margin: 0 !important;
}

.composition-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3db6ff;
    background: transparent;
    max-width: 100%;
    border: none;
    text-align: center;
}

.flow-header {
    border:1px solid rgba(255,255,255,.08);
    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;
    border-radius: 15px !important;
    margin-top: 5px;
    padding: 10px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.custom-slider {
    width:100%;
}

.progress {
    height:12px;
    background:#0d1d3f;
    position: relative;
}

.footer-space {
    height:40px;
}

.table-dark-custom {
    --bs-table-bg:transparent;
    --bs-table-color:#fff;
    --bs-table-border-color:rgba(255,255,255,.08);
    background: transparent !important;
    color: #E2E8F0 !important;
}

.small-label {
    color: #9aa7c7;
    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;
    margin-right: 10px;
    font-size: 18px;
}

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

.bg-azure {
    background-color: #0dcaf0 !important;
}

.text-azure {
    color: #0dcaf0;
}

.color-blue {
    color: #0F172A !important;
}

.color-azure {
    color: #0dcaf0;
}

.text-with-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-custom {
    border-radius: 15px;
    border-color: #90a1b9 !important;
    color: #90a1b9;
    font-weight: 600;
    padding: 10px;
    text-transform: uppercase;
}
.btn-custom.selected {
    background-color: #0dcaf0;
    color: #0F172A;
}

.btn-custom:hover {
    background-color: #1e293b;
}
.speedBtn {
    font-size: 10px;
}

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

.bg-light {
    background-color: #132840 !important;
    border: 1px solid #0dcaf0;
}

.color-white {
    color: white;
}

.bg-opaque {
    background-color: #1e293b;
}

.bg-blue {
    background-color: #0F172A;
}

.bg-darkish {
    background-color: #182234;
}

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

.no-bg:hover, .no-bg:focus {
    background-color: #1e293b;
}

.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-with-sub {
    display: flex;
    flex-direction: column;
}

.color-std {
    color:#90a1b9;
}

.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: #0F172A;
    height: 10px;
}

input[type="range"]::-moz-range-track {
    background: #0F172A;
    height: 10px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background: #0dcaf0;
    margin-top: -5px;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: #0dcaf0;
    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: 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 #90a1b9;
    border-radius: 15px;
}

.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 #90a1b9;
    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%;
    border-top: 1px solid rgba(255, 255, 255, .1);
    flex-direction: column;
    z-index: 2;
}

.main-div {
    margin-top: 90px;
}

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

.bg-info {
    right: 0;
}

.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;
}

.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');

:root {
    --bg-main: #080C1E;
    --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;
}

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: #0F1C3F !important;
    color: #94A3B8 !important;
    border-bottom: 1px solid var(--border-color) !important;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
}

.table-dark-custom td {
    background: transparent !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.15) !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: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(30, 58, 138, 0.4) !important;
    color: #F1F5F9 !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 rgba(255,255,255,0.1);
    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;
}

#simulationDiv {
    display: none;
}

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

.text-secondary.selected {
    color: #0f172a !important;
    background-color: #0dcaf0;
    border-radius: 15px;
}

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

.unity-panel {
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
#timeControls {
    position: absolute;
    top: 10px;
    right: 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;
}

.forecast-card {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
    border-radius: 15px;
}

.panel-patient-flow {
    border: 1px solid rgba(255, 255, 255, 0.1);
    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 {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    width: 20px;
    height: 20px;
}

.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: rgba(255,255,255,0.1) !important;
}
