/* Project-specific Tabler adjustments belong here. */

.navbar-brand-image {
  width: auto;
  height: 60px;
  min-height: 60px;
  margin: 16px;
}

.tabler-interface-bar {
  min-height: auto;
  padding-block: 0.625rem;
  background: var(--tblr-bg-surface);
  border-top: 1px solid var(--tblr-border-color);
  border-bottom: 1px solid var(--tblr-border-color);
}

/* Keep navigation compact even below navbar-expand-md's breakpoint. */
.tabler-interface-bar .navbar-nav {
  gap: 0.375rem;
}

.tabler-interface-bar .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 36px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--tblr-border-radius);
  font-size: 0.875rem;
  line-height: 1.25;
  white-space: nowrap;
}

.tabler-interface-bar .nav-link .ti {
  margin: 0 !important;
  font-size: 1.125rem;
}

.tabler-interface-bar .nav-link:hover,
.tabler-interface-bar .nav-link:focus-visible {
  background: var(--tblr-bg-surface-secondary);
}

.tabler-interface-bar button.nav-link {
  background: transparent;
  border: 0;
  font-family: inherit;
}

.tabler-interface-bar .tabler-module-links .nav-link {
  background: var(--tblr-bg-surface-secondary);
  border: 1px solid var(--tblr-border-color);
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.tabler-interface-bar .tabler-module-links .nav-link:hover,
.tabler-interface-bar .tabler-module-links .nav-link:focus-visible {
  background: var(--tblr-primary-lt);
  border-color: var(--tblr-primary);
  color: var(--tblr-primary);
}

.tabler-interface-bar .tabler-module-links .nav-link.active {
  background: var(--tblr-primary);
  border-color: var(--tblr-primary);
  color: #fff;
}

@media (max-width: 1199.98px) {
  .tabler-interface-bar .tabler-account-links {
    margin-left: 0 !important;
  }
}

.notification-indicator {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.45rem;
  min-width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 2px solid var(--tblr-bg-surface);
  border-radius: 50%;
}

.page-body {
  margin-top: 16px;
}

.page-body .page-header {
  margin-top: 0;
}

.page-body table thead th {
  color: #000000;
  font-size: 10px;
  font-weight: 700;
}

.page-body table thead th a,
.page-body table thead th a:hover,
.page-body table thead th a:focus,
.page-body table thead th a:visited {
  color: #000000;
}

.table-action-button {
  width: 32px;
  min-width: 32px;
  height: 32px;
  padding: 0;
}

.table-action-button .ti {
  font-size: 16px;
}

.mytask-pipeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 8px;
}

.mytask-pipeline-item {
  min-height: 58px;
  padding: 6px 4px;
  white-space: normal;
  line-height: 1.1;
  flex-direction: column;
  gap: 4px;
}

.mytask-pipeline-item strong {
  display: block;
}

.node-section-toolbar {
  border-color: #dce2ee;
  box-shadow: 0 2px 6px rgba(31, 41, 55, 0.08);
}

.node-section-item {
  flex: 1 1 160px;
  min-width: 150px;
  min-height: 44px;
  padding: 4px 10px 4px 4px;
  background: var(--tblr-bg-surface-secondary);
  border-radius: var(--tblr-border-radius);
}

.node-section-link {
  flex: 1 1 auto;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--tblr-body-color);
  font-weight: 600;
  border-radius: var(--tblr-border-radius);
}

.node-section-link:hover,
.node-section-link:focus {
  color: var(--tblr-primary);
  background: var(--tblr-primary-lt);
}

.node-section-item.is-active .node-section-link {
  color: #ffffff;
  background: var(--tblr-primary);
}

.node-section-item .form-switch {
  min-height: auto;
  padding-left: 2.5rem;
}

.node-section-item .form-check-input {
  width: 2.25rem;
  height: 1.25rem;
  margin-top: 0;
  cursor: pointer;
}

.node-section-item .form-check-input:checked {
  background-color: var(--tblr-success);
  border-color: var(--tblr-success);
}

.node-summary-card {
  color: inherit;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.node-summary-card:hover,
.node-summary-card:focus {
  color: inherit;
  box-shadow: var(--tblr-box-shadow-card);
  transform: translateY(-1px);
}

.node-summary-card.is-active {
  box-shadow: 0 0 0 1px var(--tblr-primary), var(--tblr-box-shadow-card);
}

.contractors-locations-map {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 360px;
  background: #f1f3f8;
  border: 1px solid var(--tblr-border-color);
  border-radius: var(--tblr-border-radius);
}

.locations-map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  color: var(--tblr-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.locations-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.locations-map-legend-swatch {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}

.location-sheet-input {
  width: 120px;
  margin-left: auto;
  text-align: right;
}

.footer {
  padding-block: 12px;
  background: #ffffff;
  border-top: 1px solid #cccccc;
}

.page-body .container,
.page-body .container-sm,
.page-body .container-md,
.page-body .container-lg,
.page-body .container-xl,
.page-body .container-xxl {
  width: 100%;
  max-width: none;
}

.okuntube-thumbnail {
  object-fit: cover;
}

.okuntube-placeholder-icon {
  font-size: 3rem;
}

.okuntube-demo-thumbnail {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: linear-gradient(135deg, #206bc4, #123966);
}

.filter-choice { position: relative; }
.filter-choice-summary { cursor: pointer; list-style: none; }
.filter-choice-summary::-webkit-details-marker { display: none; }
.filter-choice-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1050;
  width: max(100%, 260px);
  max-width: calc(100vw - 32px);
  padding: 0.75rem;
}
.filter-choice-list { max-height: 240px; overflow-y: auto; }
.filter-choice-option { display: block; padding-block: 0.25rem; margin-bottom: 0; }
.filter-choice-option[hidden] { display: none; }
.filter-choice-chip { cursor: pointer; white-space: normal; text-align: left; }

select.form-select[hidden] { display: none !important; }
