/* Geist je lokalno upakovan, kao u referentnom sp-project dizajnu. */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  --bs-body-font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bs-body-font-size: .929rem;
  --bs-body-line-height: 1.45;
  --bs-body-color: #242b39;
  --bs-body-bg: #f8f9fc;
  --bs-secondary-color: #667085;
  --bs-tertiary-bg: #f4f7fb;
  --bs-border-color: #e7eaf0;
  --bs-border-radius: .571rem;
  --bs-border-radius-sm: .429rem;
  --bs-border-radius-lg: .714rem;
  --bs-primary: #3b6dd6;
  --bs-primary-rgb: 59, 109, 214;
  --bs-link-color: #305ebd;
  --bs-link-color-rgb: 48, 94, 189;
  --bs-link-hover-color: #244990;
  --bs-link-hover-color-rgb: 36, 73, 144;
}
html { position: relative; min-height: 100%; font-size: 16px; overflow-x: clip; }
body { margin-bottom: 52px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .h1, .h2, .h3 { letter-spacing: -.025em; }
h1, .h2 { font-size: 1.7rem; font-weight: 600; }
h2, .h4 { font-size: 1.3rem; }
h3, .h5 { font-size: 1.143rem; }
.min-width-0 { min-width: 0; }
a { text-underline-offset: .15em; }
.btn, .form-control, .form-select { font-size: .929rem; }
.btn { --bs-btn-padding-y: .4rem; --bs-btn-padding-x: .857rem; --bs-btn-font-weight: 500; --bs-btn-border-radius: .571rem; }
.btn-sm { --bs-btn-padding-y: .25rem; --bs-btn-padding-x: .571rem; font-size: .857rem; }
.btn-primary {
  --bs-btn-bg: #3b6dd6; --bs-btn-border-color: #3b6dd6;
  --bs-btn-hover-bg: #305ebd; --bs-btn-hover-border-color: #305ebd;
  --bs-btn-active-bg: #244990; --bs-btn-active-border-color: #244990;
  --bs-btn-disabled-bg: #3b6dd6; --bs-btn-disabled-border-color: #3b6dd6;
}
.btn-outline-primary { --bs-btn-color: #305ebd; --bs-btn-border-color: #ccd9f2; --bs-btn-hover-bg: #3b6dd6; --bs-btn-hover-border-color: #3b6dd6; }
.btn-outline-secondary { --bs-btn-color: #4b5565; --bs-btn-border-color: #dce1e9; --bs-btn-hover-bg: #f4f7fb; --bs-btn-hover-color: #242b39; --bs-btn-hover-border-color: #b6bfcd; }
.lifecycle-controls .btn:disabled {
  --bs-btn-disabled-color: #667085;
  --bs-btn-disabled-bg: #eef1f5;
  --bs-btn-disabled-border-color: #dce1e9;
  --bs-btn-disabled-opacity: 1;
}
.form-control, .form-select { background-color: #fff; border-color: var(--bs-border-color); padding-top: .4rem; padding-bottom: .4rem; }
.form-control:focus, .form-select:focus { border-color: #8aa9e8; box-shadow: 0 0 0 .2rem rgba(59,109,214,.12); }
.form-label { color: #667085; font-size: .857rem; font-weight: 500; margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.card { --bs-card-bg: #fff; --bs-card-spacer-y: 1rem; --bs-card-spacer-x: 1rem; --bs-card-cap-bg: #fafbfd; }
.card-header { padding: .75rem 1rem; }
details.card > summary { cursor: pointer; }
.alert { --bs-alert-padding-y: .75rem; --bs-alert-padding-x: 1rem; }
.shadow-sm, .box-shadow { box-shadow: 0 1px 2px rgba(24,34,50,.04), 0 4px 16px rgba(24,34,50,.03) !important; }
.panel-navigation { --bs-navbar-padding-y: .6rem; }
a.navbar-brand { margin-right: 1.5rem; }
.panel-navigation .nav-link { padding: .45rem .65rem; color: #667085; border-radius: var(--bs-border-radius-sm); font-size: .929rem; }
.panel-navigation .nav-link:hover { color: #242b39; background: #f4f7fb; }
.panel-navigation .nav-link.active { color: #305ebd; background: #eaf0fc; font-weight: 600; }
.table { --bs-table-bg: #fff; --bs-table-color: #242b39; --bs-table-border-color: #edf0f5; --bs-table-striped-bg: #fafbfd; --bs-table-hover-bg: #f4f7fb; --bs-table-active-bg: #eaf0fc; margin-bottom: 0; font-variant-numeric: tabular-nums; }
.table > :not(caption) > * > * { padding: .65rem .75rem; }
.table thead th { background: #f4f7fb; color: #667085; font-size: .786rem; font-weight: 600; letter-spacing: .035em; white-space: nowrap; }
.table thead a { color: inherit; text-decoration: none; }
.table thead a:hover { color: #305ebd; }
.table td a:not(.btn) { text-decoration: none; font-weight: 500; }
.table td a:not(.btn):hover { text-decoration: underline; }
.table-responsive { margin-bottom: 1rem; }
.panel-table-surface { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius-lg); background: #fff; }
.pagination { --bs-pagination-padding-x: .7rem; --bs-pagination-padding-y: .4rem; --bs-pagination-font-size: .857rem; --bs-pagination-color: #4b5565; --bs-pagination-border-color: #e7eaf0; --bs-pagination-active-bg: #3b6dd6; --bs-pagination-active-border-color: #3b6dd6; --bs-pagination-hover-color: #305ebd; --bs-pagination-hover-bg: #f4f7fb; }
.nav-tabs { --bs-nav-tabs-border-color: #e7eaf0; --bs-nav-tabs-link-active-color: #305ebd; --bs-nav-tabs-link-active-bg: #fff; }
.nav-tabs .nav-link { color: #667085; padding: .65rem .75rem; font-size: .857rem; }
.nav-tabs .nav-link.active { font-weight: 600; }
.nav-pills { --bs-nav-pills-link-active-bg: #3b6dd6; }
.badge { font-weight: 500; border-radius: 999px; padding: .4em .65em; }
.text-bg-secondary { color: #475569 !important; background: #e9edf3 !important; }
.text-bg-primary { color: #1e3a8a !important; background: #dbe7fb !important; }
.text-bg-success { color: #14532d !important; background: #d5ecdc !important; }
.text-bg-warning { color: #7a5a00 !important; background: #fef3c7 !important; }
.text-bg-danger { color: #991b1b !important; background: #fee2e2 !important; }
.footer { position: absolute; bottom: 0; width: 100%; padding: 1rem 0; font-size: .786rem; background: #fff; }

.login-panel { max-width: 30rem; }
.container-logs {
  max-height: 32rem;
  overflow: auto;
  background: #172133;
  color: #eef3fb;
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.status-donut,
.status-donut canvas {
  width: 9rem;
  height: 9rem;
}
.status-swatch {
  display: inline-block;
  flex: 0 0 .65rem;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
}
.status-swatch-running { background-color: #247a59; }
.status-swatch-exited { background-color: #5c6d8e; }
.status-swatch-other { background-color: #ad691b; }

.host-history-plot {
  height: 12rem;
}
.host-history-key {
  display: inline-block;
  width: 1.1rem;
  vertical-align: middle;
  border-top: .2rem solid currentColor;
}
.host-history-cpu { color: #247a59; }
.host-history-memory { color: #3b6dd6; border-top-style: dashed; }
