@charset "UTF-8";
/**
 * Main stylesheet — compiles to public/css/app.css
 *
 * Each partial owns one concern. To add styles for a new feature,
 * create a new _feature.scss file and @use it here.
 *
 * Build:  npx sass src/styles/app.scss public/css/app.css
 * Watch:  npx sass --watch src/styles/app.scss public/css/app.css
 */
.mainnav__top-content {
  padding-top: 1rem;
}

.mainnav-toggler {
  cursor: pointer;
}

html, body {
  overflow: hidden;
  height: 100%;
}

#content.content {
  overflow-y: auto;
  height: calc(100vh - var(--nf-header-height, 50px));
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
}

.badge-status {
  font-size: 0.75em;
  padding: 0.3em 0.6em;
  border-radius: 999px;
}

.edit-link-btn {
  opacity: 0.6;
}
.edit-link-btn:hover {
  opacity: 1;
}

.color-swatch {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: inline-block;
  vertical-align: middle;
}

.btn-xs {
  padding: 0.15rem 0.5rem;
  font-size: 0.72rem;
  border-radius: 3px;
}

.bg-purple {
  background-color: #6f42c1 !important;
  color: #fff;
}

#blockModal .tab-pane:not(.active) {
  display: none !important;
}

#blockModal .modal-body {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.tabulator {
  border: none;
  border-radius: 0;
  font-size: 0.8125rem;
}
.tabulator .tabulator-header {
  background: #f0f2f5;
  border-bottom: 2px solid #ced4da;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #495057;
}
.tabulator .tabulator-header .tabulator-col {
  background: transparent;
  border-right: 1px solid #dee2e6;
}
.tabulator .tabulator-header .tabulator-col:last-child {
  border-right: none;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
  margin-top: 4px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input, .tabulator .tabulator-header .tabulator-col .tabulator-header-filter select {
  font-size: 0.78rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 2px 6px;
  background: #fff;
  color: #212529;
  width: 100%;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus, .tabulator .tabulator-header .tabulator-col .tabulator-header-filter select:focus {
  outline: none;
  border-color: #86b7fe;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.15);
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row {
  border-bottom: 1px solid #e9ecef;
  color: #212529;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-even {
  background: #f8f9fa;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-odd {
  background: #fff;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row:hover {
  background: #e8f0fe !important;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell {
  border-right: 1px solid #e9ecef;
  padding: 6px 10px;
  vertical-align: middle;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell:last-child {
  border-right: none;
}
.tabulator .tabulator-footer {
  background: #f0f2f5;
  border-top: 2px solid #ced4da;
  font-size: 0.78rem;
  color: #495057;
  padding: 6px 12px;
}
.tabulator .tabulator-footer .tabulator-page {
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin: 0 2px;
  padding: 2px 8px;
  background: #fff;
  color: #495057;
  font-size: 0.78rem;
}
.tabulator .tabulator-footer .tabulator-page.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  font-weight: 600;
}
.tabulator .tabulator-footer .tabulator-page:disabled {
  opacity: 0.4;
}
.tabulator .tabulator-footer .tabulator-page-size {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.78rem;
  background: #fff;
  color: #495057;
  margin-left: 8px;
}
.tabulator .tabulator-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.tabulator .tabulator-placeholder .tabulator-placeholder-contents {
  text-align: center;
  color: #6c757d;
  padding: 2rem;
}
.tabulator .tabulator-placeholder .tabulator-placeholder-contents .empty-icon {
  font-size: 2.5rem;
  opacity: 0.35;
  margin-bottom: 0.75rem;
  display: block;
}
.tabulator .tabulator-placeholder .tabulator-placeholder-contents .empty-title {
  font-size: 1rem;
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.25rem;
}
.tabulator .tabulator-placeholder .tabulator-placeholder-contents .empty-text {
  font-size: 0.82rem;
  color: #6c757d;
}

.mainnav {
  overflow-x: hidden;
  background: var(--nf-mainnav-bg, #fff);
}

.mn--min .mainnav__top-content .border-bottom {
  border-bottom: none !important;
}

.mn--min .mainnav__menu .nav-link .nav-icon, .mn--min .mainnav__menu .nav-link i {
  opacity: 0.4;
}
.mn--min .mainnav__menu .nav-link.active .nav-icon, .mn--min .mainnav__menu .nav-link.active i {
  opacity: 1;
  color: var(--nf-mainnav-min-icon-active-color, var(--bs-primary)) !important;
}

.mn--min .mainnav__menu .has-sub .mininav-content {
  display: none !important;
}

.mn--min .mainnav__menu .has-sub .mininav-content.mn-open {
  display: block !important;
  position: fixed !important;
  margin: 0 !important;
  z-index: 1050;
  min-width: 160px;
  background: var(--nf-mainnav-bg, #fff);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  border-radius: 6px;
  padding: 4px 0;
}

.header__inner {
  padding-inline-end: 0.625rem !important;
}

.header__content,
.mn--min .header__content {
  padding-inline-start: 0.625rem !important;
}

.sidebar {
  min-width: 300px;
  max-width: 340px;
}

.sidebar__inner {
  padding-top: 0 !important;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.sidebar-header__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #495057;
}

#sidebarContent {
  padding: 12px 14px;
}
#sidebarContent .opportunity-item {
  background: #fff;
  border: 1px solid #e2e6ea;
  border-left: 3px solid #adb5bd;
  border-radius: 6px;
  padding: 8px 10px;
  margin-bottom: 7px;
  cursor: grab;
  font-size: 0.8rem;
  transition: box-shadow 0.15s, border-color 0.15s;
  line-height: 1.4;
}
#sidebarContent .opportunity-item:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-color: #adb5bd;
}
#sidebarContent .opportunity-item.dragging {
  opacity: 0.5;
  cursor: grabbing;
}
#sidebarContent .opportunity-item.opp-selected {
  border-color: #0d6efd;
  border-left-color: #0d6efd !important;
  background: #e7f1ff;
  box-shadow: 0 0 0 1px #0d6efd;
}
#sidebarContent .opportunity-item.opp-dimmed {
  opacity: 0.35;
  pointer-events: none;
}
#sidebarContent .opportunity-item.opp-eligible {
  border-left-color: #0d6efd !important;
  cursor: pointer;
}
#sidebarContent .opportunity-item.opp-eligible:hover {
  background: #f0f6ff;
}
#sidebarContent .opportunity-item .fw-semibold {
  font-size: 0.8rem;
  color: #212529;
}
#sidebarContent .opportunity-item .opp-meta {
  color: #6c757d;
  font-size: 0.73rem;
  margin-top: 2px;
}
#sidebarContent .opportunity-item .opp-dates {
  font-size: 0.73rem;
  color: #495057;
  margin-top: 1px;
}
#sidebarContent #sidebarList {
  overflow-y: auto;
  max-height: calc(100vh - 180px);
}
#sidebarContent #sidebarSearch {
  margin-bottom: 8px;
}
#sidebarContent .nav-tabs {
  margin-bottom: 10px;
}

#notifList .list-group-item {
  cursor: pointer;
}
#notifList .list-group-item.unread {
  background: #f0f6ff;
}

.zoom-slider-wrap {
  align-items: center;
}

.zoom-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  color: #868e96;
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
  font-weight: 300;
  transition: color 0.15s;
}
.zoom-icon-btn:hover {
  color: #343a40;
}
.zoom-icon-btn:disabled {
  color: #dee2e6;
  cursor: default;
}

.zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 2px;
  border-radius: 1px;
  background: #dee2e6;
  outline: none;
  cursor: pointer;
}
.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #868e96;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}
.zoom-slider::-webkit-slider-thumb:hover {
  background: #343a40;
}
.zoom-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #868e96;
  cursor: pointer;
  border: none;
}

.gantt-full-page #content.content {
  overflow: hidden;
}
.gantt-full-page footer {
  display: none;
}
.gantt-full-page.sb--show::before {
  pointer-events: none !important;
  opacity: 0 !important;
}

.audit-entry .card-body {
  transition: background 0.15s;
}
.audit-entry:hover .card-body {
  background: #f8f9fa;
}
.audit-entry .badge {
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}

.changes-detail table td, .changes-detail table th {
  padding: 0.2rem 0.4rem;
}
