:root {
    --custom-active-color: #035595;
  }
  
  .svg_fill {
    fill: var(--custom-active-color);
  }
  .custom_active_color {
      color: var(--custom-active-color);
  }
  
  /* Sidebar and page look: see "Shell & dashboard (Nov 2026)" at the end of this file. */
  body.fi-body > div > aside.fi-sidebar .adminUserMenu .fi-dropdown-panel .fi-dropdown-list.p-1:first-child {
      display: none;
  }
  .fi-dropdown-trigger + .fi-dropdown-panel {
      width: 100%;
  }
  
  
  
  /*********** New Color Code ***********/
  .fi-ta-content .fi-ta-cell a.btn.btn-view-report {
      background-color: #035595;
      border-radius: 0.5rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      padding-top: 0.4rem;
      padding-bottom: 0.4rem;
      font-size: 0.875rem;
      line-height: 1.25rem;
      font-weight: 600;
      color: rgb(255 255 255 / var(--tw-text-opacity));
  }
  .fi-ta-content .fi-ta-cell a.btn.btn-view-report:hover {
      background-color: #09090b;
  }
  .fi-ta-content .fi-table-cell-report a.btn.btn-view-report {
      background-color: #035595;
      border-radius: 0.5rem;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      padding-top: 0.4rem;
      padding-bottom: 0.4rem;
      font-size: 0.875rem;
      line-height: 1.25rem;
      font-weight: 600;
      color: rgb(255 255 255 / var(--tw-text-opacity));
  }
  .fi-ta-content .fi-table-cell-report a.btn.btn-view-report:hover {
      background-color: #09090b;
  }
  
  .bg-custom-600,
  button.conversation-blade-form-button {
      background-color: #035595 !important;
      color: #fff !important;
  }
  .bg-custom-600:hover,
  button.conversation-blade-form-button:hover {
      background-color: #09090b !important;
  }
  .text-custom-600,
  .text-custom-500,
  .text-primary-500,
  .choices__list--multiple .choices__item {
      color: #035595 !important;
  }
  .text-custom-600:hover {
      color: #09090b !important;
  }
  .btnDefault {
      background: #035595 !important;
  }
  /*********** New Color Code ***********/
  
  
  
  .sc-chat-window.opened {
      z-index: 1;
  }
  
  
  
  @media screen and (max-width: 525px) {
      body.fi-body > div > aside.fi-sidebar.fi-sidebar-open {
          width: 85%;
      }
  }
  
  
  
  
  @media screen and (min-width: 1024px) {
      body.fi-body > div .fi-main-ctn > .fi-topbar.sticky {
          margin: 30px 0px 0px 0px;
          position: absolute;
          left: 237px;
      }
      body.fi-body > div .fi-main-ctn > .fi-topbar.sticky nav {
          padding: 0;
      }
      body.fi-body > div .fi-main-ctn > .fi-topbar.sticky nav button.group-selector-btn {
          background: #09090b;
          color: #fff;
          box-shadow: none;
      }
      body.fi-body > div .fi-main-ctn > .fi-topbar.sticky nav button.group-selector-btn:hover {
          background: #035595;
      }
  }
  
  
  [x-persist="topbar.end"] .fi-global-search.flex.items-center {
      display: none;
  }
  
  .fi-layout .fi-main .fi-section-content .grid a > div:hover {
      cursor: pointer;
  }
  /**
  .fi-layout .fi-main .fi-section-content .grid a.active > div {
      background: white;
      --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));
      filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
  } **/
  .fi-layout .fi-main .fi-section-content .grid a.active > div {
      background: #b4b0b0;
      --tw-drop-shadow: drop-shadow(0 10px 8px rgb(0 0 0 / .04)) drop-shadow(0 4px 3px rgb(0 0 0 / .1));
      filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
      color: #fff;
  }
  .fi-layout .fi-main .fi-section-content .grid a.active > div p svg {
      fill: #fff;
  }
  
  
  
  /********* New Nav Design ********/
  nav.fi-sidebar-nav .organizationSelector {
      position: absolute;
      top: 0px;
      right: 0px;
  }
  nav.fi-sidebar-nav .adminUserMenu .fi-dropdown.fi-user-menu {
      position: absolute;
      right: 15px;
      top: 15px;
  }
  button.group-selector-btn {
      position: absolute;
      right: 20px;
      top: 14px;
  }
  .organizationSelector .fi-dropdown-list.p-1 {
      /* position: absolute; */
      position: fixed;
      background: white;
      right: 18px !important;
      top: 58px !important;
      box-shadow: 1px 1px 5px #0000003b;
      border-radius: 6px;
  }
  .fi-layout .fi-topbar.sticky nav .organizationSelector .fi-dropdown-list.p-1 {
      right: 0px;
      top: 20px;
  }
  .fi-layout .fi-topbar.sticky nav button[aria-label="User menu"] {
      right: 35px;
      position: relative;
  }
  .fi-layout .fi-topbar.sticky nav .organizationSelector .fi-dropdown-trigger + .fi-dropdown-panel {
      box-shadow: none;
  }
  nav.fi-sidebar-nav ul.fi-sidebar-nav-groups {
      margin-top: -40px;
  }
  .adminUserMenu button.fi-icon-btn.fi-topbar-database-notifications-btn {
      position: absolute;
      top: 20px;
      right: 66px;
  }
  .adminUserMenu button.fi-icon-btn.fi-topbar-database-notifications-btn svg.fi-icon-btn-icon {
      background: #09090b;
      fill: #09090b;
      width: 30px;
      height: 30px;
      padding: 4px;
      border-radius: 50px;
      color: white;
  }
  .adminUserMenu button.fi-icon-btn.fi-topbar-database-notifications-btn .fi-icon-btn-badge-ctn span.fi-badge {
      background: #09090b;
      border: 1px solid #fff;
  }
  .adminUserMenu button.fi-icon-btn.fi-topbar-database-notifications-btn .fi-icon-btn-badge-ctn span.truncate {
      color: #fff;
  }
  
  .fi-topbar nav button.fi-icon-btn.fi-topbar-database-notifications-btn {
      margin-right: 30px;
  }
  .fi-topbar nav  button.fi-icon-btn.fi-topbar-database-notifications-btn {
      position: absolute;
      top: 20px;
      right: 100px;
  }
  .fi-topbar nav button.fi-icon-btn.fi-topbar-database-notifications-btn svg.fi-icon-btn-icon {
      background: #09090b;
      fill: #09090b;
      width: 30px;
      height: 30px;
      padding: 4px;
      border-radius: 50px;
      color: white;
  }
  .fi-topbar nav button.fi-icon-btn.fi-topbar-database-notifications-btn .fi-icon-btn-badge-ctn span.fi-badge {
      background: #09090b;
      border: 1px solid #fff;
  }
  .fi-topbar nav button.fi-icon-btn.fi-topbar-database-notifications-btn .fi-icon-btn-badge-ctn span.truncate {
      color: #fff;
  }
  
  main.fi-main {
      padding-left: 0rem;
      padding-right: 1.5rem;
      max-width: 100%;
  }
  
  @media screen and (min-width: 1024px) {
      .fi-topbar [x-persist="topbar.end"]{
          display: none;
      }
  }
  
  @media screen and (max-width: 1023px) {
      body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav .organizationSelector,
      body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav .adminUserMenu {
          display: none;
      }
      body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav ul.fi-sidebar-nav-groups {
          margin-top: -10px;
      }
  }
  
  @media screen and (max-width: 668px) {
      .organizationSelector button.group-selector-btn {
          display: block !important;
      }
  }
  
  @media screen and (max-width: 425px) {
      body.fi-body > div > aside.fi-sidebar header.fi-sidebar-header .fi-logo {
          font-size: 4vw;
      }
      body.fi-body > div > aside.fi-sidebar.fi-sidebar-open {
          margin: 15px 0px 0px 15px;
          min-width: 295px;
      }
  }
  
  @media screen and (max-width: 320px) {
      body.fi-body > div > aside.fi-sidebar header.fi-sidebar-header {
          padding: 0px 10px;
      }
      body.fi-body > div > aside.fi-sidebar header.fi-sidebar-header .fi-logo {
          font-size: 18px;
      }
  }
  
  /**
  @media screen and (min-device-width: 1024px) and (max-device-width: 1350px) {
      .line_2nd > a {
          width: 31.7%;
          min-width: 29%;
      }
      .line_2nd {
          display: inline-flex;
          flex-wrap: wrap;
      }
  } **/

/********* Shell & dashboard (Nov 2026) *********
 * Kelly, 1 Nov: the main interface was "clumsy and ugly". Replaces the floating grey 350px
 * sidebar on a blue page with a white rail on a neutral page, and styles the dashboard
 * widget (resources/views/filament/widgets/dashboard.blade.php, vb-* classes).
 * Plain CSS on purpose: this file is served as-is, so no Tailwind theme rebuild is needed. */
:root {
    --vb-brand: #035595;
    --vb-brand-soft: #e8f0f8;
    --vb-page: #f4f6f9;
    --vb-surface: #ffffff;
    --vb-border: #e3e7ed;
    --vb-text: #111827;
    --vb-muted: #6b7280;
    --vb-hover: #f3f5f8;
}
.dark {
    --vb-brand: #6aa8de;
    --vb-brand-soft: rgb(106 168 222 / 0.14);
    --vb-page: #0b0f17;
    --vb-surface: #131925;
    --vb-border: rgb(255 255 255 / 0.08);
    --vb-text: #f3f4f6;
    --vb-muted: #9ca3af;
    --vb-hover: rgb(255 255 255 / 0.05);
}

/* Page */
body.fi-body,
body.fi-body > .fi-layout,
body.fi-body > div > aside.fi-sidebar + .fi-main-ctn {
    background: var(--vb-page);
}

/* Sidebar rail */
body.fi-body > div > aside.fi-sidebar {
    --sidebar-width: 17rem;
    width: 17rem;
    background: var(--vb-surface);
    border-right: 1px solid var(--vb-border);
    box-shadow: none;
    margin: 0;
    border-radius: 0 !important;
    height: 100vh;
    max-height: none;
}
body.fi-body > div > aside.fi-sidebar header.fi-sidebar-header {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid var(--vb-border);
    --tw-ring-shadow: 0 0 #0000;
    height: 4.25rem;
    padding: 0 1.25rem;
}
body.fi-body > div > aside.fi-sidebar header.fi-sidebar-header .fi-logo {
    color: var(--vb-text);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav {
    padding: 1.25rem 0.75rem;
    gap: 1.25rem;
}
nav.fi-sidebar-nav ul.fi-sidebar-nav-groups {
    margin-top: -36px;
    gap: 1.25rem;
}
body.fi-body > div > aside.fi-sidebar li.fi-sidebar-group .fi-sidebar-group-button {
    padding: 0 0.75rem 0.25rem;
}
body.fi-body > div > aside.fi-sidebar li.fi-sidebar-group span.fi-sidebar-group-label {
    color: var(--vb-muted);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav ul.fi-sidebar-group-items {
    gap: 2px;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav a.fi-sidebar-item-button {
    position: relative;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    gap: 0.7rem;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav a.fi-sidebar-item-button .fi-sidebar-item-label {
    color: var(--vb-text);
    font-size: 0.875rem;
    font-weight: 500 !important;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav a.fi-sidebar-item-button .fi-sidebar-item-icon {
    color: var(--vb-muted);
    width: 1.25rem;
    height: 1.25rem;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav li a.fi-sidebar-item-button:hover {
    background: var(--vb-hover);
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav li.fi-sidebar-item.fi-active > a.fi-sidebar-item-button {
    background: var(--vb-brand-soft);
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav li.fi-sidebar-item.fi-active > a.fi-sidebar-item-button::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 0.45rem;
    bottom: 0.45rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--vb-brand);
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav li.fi-sidebar-item.fi-active > a.fi-sidebar-item-button .fi-sidebar-item-label,
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav li.fi-sidebar-item.fi-active > a.fi-sidebar-item-button .fi-sidebar-item-icon {
    color: var(--vb-brand);
    font-weight: 600 !important;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav a.fi-sidebar-item-button .fi-badge {
    background: var(--vb-brand);
    color: #fff;
}
body.fi-body > div > aside.fi-sidebar nav.fi-sidebar-nav a.fi-sidebar-item-button .fi-badge .truncate {
    color: #fff;
}
nav.fi-sidebar-nav .adminUserMenu .fi-dropdown.fi-user-menu {
    top: 1.05rem;
    right: 1.1rem;
}
.adminUserMenu button.fi-icon-btn.fi-topbar-database-notifications-btn {
    top: 1.2rem;
    right: 4.1rem;
}

/* Main column */
@media screen and (min-width: 1024px) {
    main.fi-main {
        padding: 0 2rem 2rem 2rem;
    }
}
.fi-header-heading {
    letter-spacing: -0.02em;
}
.fi-main .fi-section {
    border-radius: 0.875rem;
    --tw-ring-color: var(--vb-border);
    box-shadow: 0 1px 2px rgb(16 24 40 / 0.04);
}

@media screen and (max-width: 1023px) {
    body.fi-body > div > aside.fi-sidebar,
    body.fi-body > div > aside.fi-sidebar.fi-sidebar-open {
        height: 100vh;
        margin: 0;
        min-width: 0;
        width: min(85vw, 18rem);
    }
    main.fi-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Dashboard widget */
.vb-dash {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: var(--vb-text);
}
.vb-card {
    background: var(--vb-surface);
    border: 1px solid var(--vb-border);
    border-radius: 0.875rem;
    box-shadow: 0 1px 2px rgb(16 24 40 / 0.04);
}
a.vb-link {
    display: block;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.vb-card.vb-link:hover {
    border-color: color-mix(in srgb, var(--vb-brand) 40%, var(--vb-border));
    box-shadow: 0 4px 14px rgb(16 24 40 / 0.07);
}
.vb-headline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.vb-kpi {
    padding: 1.1rem 1.25rem;
}
.vb-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vb-kpi-label {
    color: var(--vb-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.vb-kpi-value {
    margin-top: 0.4rem;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.vb-kpi-note {
    margin-top: 0.3rem;
    color: var(--vb-muted);
    font-size: 0.8rem;
}
.vb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.6rem;
}
.vb-tone-brand  { background: var(--vb-brand-soft); color: var(--vb-brand); }
.vb-tone-green  { background: rgb(22 163 74 / 0.12);  color: #15803d; }
.vb-tone-amber  { background: rgb(217 119 6 / 0.12);  color: #b45309; }
.vb-tone-sky    { background: rgb(2 132 199 / 0.12);  color: #0369a1; }
.vb-tone-slate  { background: rgb(100 116 139 / 0.12); color: #475569; }
.dark .vb-tone-green { color: #4ade80; }
.dark .vb-tone-amber { color: #fbbf24; }
.dark .vb-tone-sky   { color: #38bdf8; }
.dark .vb-tone-slate { color: #cbd5e1; }

.vb-bg-amber  { background: #d97706; }
.vb-bg-violet { background: #7c3aed; }
.vb-bg-indigo { background: #4f46e5; }
.vb-bg-slate  { background: #64748b; }
.vb-bg-red    { background: #dc2626; }
.vb-bg-sky    { background: #0284c7; }

.vb-panel {
    padding: 1.1rem 1.25rem 1.25rem;
}
.vb-panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}
.vb-panel-head h3,
.vb-section-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.vb-panel-head span {
    color: var(--vb-muted);
    font-size: 0.8rem;
}

.vb-outcomes {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}
.vb-outcome {
    padding: 0.75rem 0.85rem;
    border-radius: 0.65rem;
    border: 1px solid var(--vb-border);
}
.vb-outcome:hover {
    background: var(--vb-hover);
}
.vb-outcome-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
}
.vb-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    flex: none;
}
.vb-outcome-label {
    color: var(--vb-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vb-outcome-pct {
    margin-left: auto;
    color: var(--vb-muted);
    font-variant-numeric: tabular-nums;
}
.vb-outcome-value {
    margin: 0.3rem 0 0.55rem;
    font-size: 1.4rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.vb-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--vb-hover);
    overflow: hidden;
}
.vb-bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.vb-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.vb-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 0.75rem;
}
.vb-tiles .vb-tile {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0.6rem;
    border-radius: 0.65rem;
}
a.vb-tile:hover {
    background: var(--vb-hover);
}
.vb-tile-body {
    min-width: 0;
}
.vb-tile-label {
    color: var(--vb-muted);
    font-size: 0.8rem;
    font-weight: 500;
}
.vb-tile-value {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}
.vb-tile-note {
    color: var(--vb-muted);
    font-size: 0.75rem;
}

.vb-charts .fi-wi-chart .fi-section {
    height: 100%;
}
.vb-campaigns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.vb-version {
    text-align: center;
    color: var(--vb-muted);
    font-size: 0.75rem;
}

@media screen and (max-width: 1279px) {
    .vb-outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vb-two-col  { grid-template-columns: minmax(0, 1fr); }
}
@media screen and (max-width: 767px) {
    .vb-headline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
    .vb-kpi { padding: 0.9rem 1rem; }
    .vb-kpi-value { font-size: 1.6rem; }
    .vb-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vb-outcome-label { white-space: normal; }
}
@media screen and (max-width: 420px) {
    .vb-tiles { grid-template-columns: minmax(0, 1fr); }
}
