/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.modern-fmd {
  background: radial-gradient(circle at top left, rgba(217, 119, 6, 0.12), transparent 28%), radial-gradient(circle at right 18%, rgba(21, 128, 61, 0.1), transparent 24%), linear-gradient(180deg, #f8f6f2 0%, #eee7db 100%);
  color: #23313d;
}

.modern-content {
  background: transparent;
}

.modern-container {
  padding-bottom: 32px;
}

.modern-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: 8px 0 24px;
}

.modern-page-title {
  margin: 0;
  color: #1f2a37;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.modern-page-subtitle {
  margin: 8px 0 0;
  max-width: 720px;
  color: #667381;
  font-size: 15px;
}

.modern-eyebrow,
.modern-card-eyebrow {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modern-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.modern-chip,
.modern-metric-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(35, 49, 61, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #314252;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(32, 39, 48, 0.06);
}

.modern-metric-pill {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.modern-metric-pill-muted {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

.modern-surface-card {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 26px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 24px 60px rgba(32, 39, 48, 0.08);
  backdrop-filter: blur(12px);
}

.modern-surface-card .card-content {
  padding: 24px;
}

.modern-tabs-shell {
  margin-bottom: 18px;
}

.modern-tabs.nav-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border: 0;
}

.modern-tabs.nav-tabs > li {
  float: none;
  margin: 0;
}

.modern-tabs.nav-tabs > li > a {
  margin: 0;
  border: 1px solid rgba(35, 49, 61, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #506070;
  font-weight: 600;
}

.modern-tabs.nav-tabs > li.active > a,
.modern-tabs.nav-tabs > li.active > a:hover,
.modern-tabs.nav-tabs > li.active > a:focus,
.modern-tabs.nav-tabs > li > a:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #115e59, #0f766e);
  color: #fff;
}

.modern-tab-content {
  padding-top: 6px;
}

.modern-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.modern-kpi-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(35, 49, 61, 0.06);
}

.modern-kpi-card p {
  margin: 0;
  color: #667381;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.modern-kpi-card strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  color: #1f2a37;
}

.modern-chart-card {
  min-height: 100%;
  border: 1px solid rgba(35, 49, 61, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(32, 39, 48, 0.06);
}

.modern-chart-card-primary {
  background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0.92));
}

.modern-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.modern-card-head h3,
.modern-panel-heading h3 {
  margin: 0;
  color: #1f2a37;
  font-size: 22px;
  font-weight: 700;
}

.modern-panel-heading p {
  margin: 6px 0 0;
  color: #667381;
}

.modern-chart {
  min-height: 260px;
}

.modern-chart .ct-label {
  color: #7b8794;
  fill: #7b8794;
}

.modern-chart .ct-grid {
  stroke: rgba(35, 49, 61, 0.08);
  stroke-dasharray: 0;
}

.modern-chart .ct-series-a .ct-line,
.modern-chart .ct-series-a .ct-bar,
.modern-chart .ct-series-a .ct-point,
.modern-chart .ct-series-a .ct-slice-donut {
  stroke: #0f766e !important;
}

.modern-chart .ct-series-b .ct-line,
.modern-chart .ct-series-b .ct-bar,
.modern-chart .ct-series-b .ct-point,
.modern-chart .ct-series-b .ct-slice-donut {
  stroke: #d97706 !important;
}

.modern-chart .ct-series-a .ct-area {
  fill: rgba(15, 118, 110, 0.16) !important;
}

@keyframes ct-modern-dash {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ct-modern-bar {
  from {
    opacity: 0.15;
    transform: scaleY(0.35);
  }

  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes ct-modern-point {
  from {
    opacity: 0;
    transform: scale(0.4);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ct-modern-fade {
  from {
    opacity: 0.2;
  }

  to {
    opacity: 1;
  }
}

.modern-table-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modern-select-wrap {
  min-width: 180px;
}

.modern-data-table-shell {
  padding: 8px 0 0;
}

.modern-data-table.table > thead > tr > th,
.modern-data-table.table > tfoot > tr > th {
  color: #667381;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom-color: rgba(35, 49, 61, 0.08);
}

.modern-data-table.table > tbody > tr > td {
  border-bottom-color: rgba(35, 49, 61, 0.06);
}

.modern-data-table.table > tbody > tr:hover > td {
  background: rgba(15, 118, 110, 0.04);
}

.modern-filter-form {
  display: flex;
  justify-content: flex-end;
}

.modern-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.modern-action-btn {
  border-radius: 999px;
  background: linear-gradient(135deg, #115e59, #0f766e);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.modern-action-btn:hover,
.modern-action-btn:focus {
  color: #fff;
}

.modern-action-btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: #1f2a37;
  border: 1px solid rgba(35, 49, 61, 0.08);
  box-shadow: 0 10px 22px rgba(32, 39, 48, 0.08);
}

.modern-action-btn-secondary:hover,
.modern-action-btn-secondary:focus {
  color: #1f2a37;
}

.modern-info-card {
  border: 1px solid rgba(35, 49, 61, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(32, 39, 48, 0.06);
}

.modern-info-nav .nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-info-nav .nav > li > a {
  border-radius: 16px;
  color: #506070;
  font-weight: 600;
}

.modern-info-nav .nav > li.active > a,
.modern-info-nav .nav > li > a:hover,
.modern-info-nav .nav > li > a:focus {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.modern-subtabs .tab-pane {
  padding: 8px 0;
}

.modern-detail-grid > div {
  margin-bottom: 12px;
  color: #1f2a37;
}

.modern-detail-grid > div:nth-child(odd) {
  color: #667381;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modern-note-card {
  margin-top: 22px;
}

.modern-note-card .card-header {
  padding: 22px 24px 0;
}

.modern-note-form-row {
  margin-bottom: 18px;
}

.modern-note-form {
  width: 100%;
}

.modern-note-input {
  min-height: 110px;
  border-radius: 18px;
  border-color: rgba(35, 49, 61, 0.08);
  box-shadow: none;
}

#dashboard .card:not(.modern-surface-card) {
  border: 1px solid rgba(35, 49, 61, 0.06);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 32px rgba(32, 39, 48, 0.06);
}

#dashboard .card .card-content {
  padding: 22px;
}

#dashboard h6 {
  margin: 0 0 14px;
  color: #1f2a37;
  font-size: 18px;
  font-weight: 700;
}

#dashboard .label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-right: 6px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#dashboard .label-success {
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
}

#dashboard .label-info {
  background: rgba(217, 119, 6, 0.12);
  color: #b45309;
}

#dashboard .label-warning {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

@media (max-width: 991px) {
  .modern-page-header,
  .modern-table-toolbar,
  .modern-card-head {
    flex-direction: column;
  }

  .modern-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .modern-page-title {
    font-size: 28px;
  }

  .modern-kpi-strip {
    grid-template-columns: 1fr;
  }

  .modern-surface-card .card-content {
    padding: 18px;
  }
}

.reference-group {
  color: #1572A1
}

.ytd-group {
  color: rgb(4, 143, 4)
}
