.bg-primary-light {
  background-color: #3E5495;
}

.bg-secondary-light {
  background-color: #F4F4F4;
}

.btn-primary-light {
  background-color: #3E5495;
}

.btn-primary-light:hover {
  background-color: #3E5495;
}

.btn-primary {
  background-color: #5D87FF !important;
  border: none !important;
  font-size: 14px !important;
  padding: 10px 20px;
}

.button--danger {
  padding: 9px 12px !important;
  font-size: 14px !important;
}

.header-style {
  height: 200px;
}

.title {
  font-size: 20px;
  font-weight: 500;
  line-height: 25.2px;
}

.region-nav-branding,
.region-nav-additional {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.menu-link {
  line-height: 21.78px;
  color: #6D6D6D;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 13px;
}

.menu-link > i {
  margin-top: -3px;
}

.navbar-ul {
  width: 222px;
}

.menu-link.is-active {
  font-weight: 600;
  color: white;
  background-color: #5D87FF;
  border-radius: 4px;
}

.menu-link:hover {
  font-weight: 600;
  color: white;
  background-color: #5D87FF;
  border-radius: 4px;
}

.breadcrumb-class {
  flex-direction: row;
  padding-bottom: 20px;
  color: white;
  font-weight: 400;
  font-size: 18px;
  gap: 0 10px;
}

.breadcrumb-menu {
  font-size: 12px;
  font-weight: 300;
  color: #6D6D6D;
}

.icon-add {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #5D87FF;
  text-decoration: none;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  margin-top: 25px;
  margin-bottom: 25px;
  gap: 8px;
}

.icon-edit {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.icon-search {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.icon-trash {
  color: #DE6969;
  background-color: #FFDFDF;
}

.icon-users-group {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.icon-target {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.icon-eye {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.icon-list-check,
.icon-progress-check {
  color: #6FCF97;
  background-color: #E8FFF1;
}

.status-complete {
  color: #6FCF97 !important;
}

.status-on-track {
  color: #5D87FF !important;
}

.status-incomplete {
  color: #F2994A !important;
}

.status-off-track {
  color: #EB5757 !important;
}

td.is-active {
  background-color: transparent !important;
}

td.views-field.views-field-label a {
  text-decoration: none;
}

.custom-nav-item-class > a {
  color: #5D87FF;
}

.nav-tabs .nav-link, .media-library-view--widget .view-header .nav-link, .media-library-view--widget .view-header a {
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  --bs-nav-tabs-link-hover-border-color: none;
}

.views-field-delete-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button-action {
  background-color: #5D87FF !important;
  border: none !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 50px !important;
}

.action-links li {
  margin: 0 0 !important;
  padding-bottom: 5px;
}

.views-field-view-group-relationship {
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.views-field-edit-group-relationship {
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.views-field-delete-group-relationship {
  padding-left: 2px !important;
  padding-right: 2px !important;
}

.table-th-class {
  font-size: 14px;
  font-weight: 500;
}

.table-td-class {
  font-size: 14px;
  font-weight: 400;
}

.accordion-title-class {
  margin-bottom: 30px !important;
}

.field-label-class {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333333;
}

.field-item-class {
  font-size: 14px;
  font-weight: 400;
  margin-left: 10px;
  color: #818181;
}

.collapsable-goals-header {
  font-size: 14px;
  font-weight: 500;
  line-height: 17.64px;
}

.collapsable-goals-body {
  font-size: 14px;
  font-weight: 400;
  line-height: 17.64px;
  color: #818181;
}

.collapsable-goals-tr-body {
  border-style: none !important;
  border-width: 0 !important;
}

.collapsable-goals-table {
  border-collapse: unset;
  background-color: white;
  box-shadow: 0px 0px 5px rgba(114, 114, 113, 0.5);
  border-radius: 5px;
  padding: 5px;
}

.collapsable-goals-table tbody tr {
  border-style: none !important;
  border-width: 0 !important;
  border-color: white !important;
}

.collapsable-goals-table tbody tr td.collapsable-goals-body {
  width: 16.66%;
  word-wrap: break-word;
  padding: 10px;
  box-sizing: border-box;
}

.shadow-md {
  box-shadow: 0px 0px 5px rgba(114, 114, 113, 0.5);
}

.disabled-link {
  cursor: not-allowed;
  background-color: #a5b4ff !important;
}

.form-date-picker-class > div > .form-date {
  width: 147px !important;
}

.draggable a.tabledrag-handle {
  padding: 0 10px;
}

.user-form-class {
  clear: left;
  overflow: hidden;
  max-width: 33rem;
  margin: 0;
}

.user-role-settings-class .details-wrapper {
  clear: left;
  overflow: hidden;
  max-width: 36rem;
  margin: 0;
}

.btn-term-edit {
  margin-left: auto;
}

.multiple-fields-remove-button {
  top: 10px !important;
  color: red;
  background-color: transparent !important;
}

@media (max-width: 320px) {
  .btn-primary {
    font-size: 13px !important;
  }
}

@media (max-width: 767px) {
  .content-class,
  .node-preview-container {
    margin-left: 0;
  }
  .button-action {
    width: 100%;
  }
  .container-absolute-class {
    position: absolute !important;
    overflow: hidden !important;
  }
}

@media (min-width: 768px) {
  .icon-add {
    width: auto;
    float: right;
    margin-top: 0;
    margin-bottom: 0;
  }
  .content-class,
  .node-preview-container {
    margin-left: 200px;
  }
  .tab-menu {
    gap: 100px;
  }
  .width-class {
    width: auto !important;
  }
  .navbar-ul {
    width: 150px;
  }
}

@media (max-width: 930px) {
  .user-bulk-action-class {
    width: 100% !important;
    padding-right: 0.5em !important;
  }
}

@media (min-width: 930px) {
  .user-bulk-action-class {
    width: 41.7rem !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 991px) {
  .region-nav-branding,
  .region-nav-additional {
    justify-content: start;
    gap: 0;
  }
  .tabs-custom {
    display: none;
  }
  .nav-pills .nav-link.active, .nav-pills .media-library-view--widget .view-header a.active, .nav-pills .media-library-view--widget .view-header a.is-active, .media-library-view--widget .view-header .nav-pills a.active, .media-library-view--widget .view-header .nav-pills a.is-active, .nav-pills .show > .nav-link, .nav-pills .media-library-view--widget .view-header .show > a, .media-library-view--widget .view-header .nav-pills .show > a {
    width: 175px;
  }
  .sidebar-class {
    width: 195px;
  }
  .table-responsive {
    display: block;
    overflow-x: auto;
  }
  .table-responsive tbody td {
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 991px) {
  .region-nav-branding,
  .region-nav-additional {
    justify-content: start;
    gap: 0;
  }
  .content-class,
  .node-preview-container {
    margin-left: 270px;
  }
  .sidebar-class {
    width: 270px;
  }
  .tab-menu {
    gap: 150px;
  }
  .navbar-ul {
    width: 222px;
  }
}

@media (max-width: 1024px) {
  .custom-nav-item-class.active > a  {
    border: 2px solid #5D87FF;
    padding: 10px 20px !important;
    border-radius: 4px;
    background-color: #5D87FF;
    color: white;
    display: flex;
  }
  .nav-tabs-class {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .region-nav-branding,
  .region-nav-additional {
    justify-content: start;
    gap: 100px;
  }
  .custom-nav-item-class.active > a  {
    border: none;
    border-bottom: 2px solid #5D87FF;
  }
  .nav-tabs-class {
    display: flex !important;
  }
  .custom-nav-item-class > a:hover  {
    border: none;
    border-bottom: 2px solid #5D87FF;
  }
}

.draggable a.tabledrag-handle {
  padding: 0 10px;
}

.print__wrapper.print__wrapper--pdf {
  display: flex;
  justify-content: end;
}

@media print {
  details.line-of-sight-collapsible:not([open]){
      display: none;
  }
}

.node-form {
  margin: 0;
}

.view-companies .view-header a {
  margin-bottom: 10px;;
}

.dev-line-of-sight-btn {
  width: 320px !important;
}

.node--type-year-end-reflection .field.field--name-field-status {
  display: flex;
  align-items: start;
}

.field--name-field-time-period fieldset .fieldset-wrapper > * {
  display: inline;
}

.field--name-field-time-period legend {
  margin-bottom: 0;
}
.ui-dialog-content {  
  overflow: visible !important;
}

.ui-dialog .chosen-container {
  min-width: 100%;
  height: 45px !important;
  border: none;
  padding: 0;
}

/* Fix for Chosen dropdown in modal */
.ui-dialog .chosen-container {
  width: 100% !important; /* Force 100% width */
  max-width: 100%;
  min-width: auto !important;
}

.ui-dialog .chosen-container-single .chosen-single {
  height: 38px;
  line-height: 32px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}

.ui-dialog .chosen-container .chosen-drop {
  width: 100% !important;
  left: 0;
  box-sizing: border-box;
}
.chosen-container-single .chosen-search {
  padding-top: 3px !important;
}
.chosen-container-single .chosen-search input{
  padding: 8px !important;
}

.ui-dialog .chosen-container .chosen-drop .chosen-results{
  font-size: 16px;
}

.ui-dialog .chosen-container-active.chosen-with-drop .chosen-drop {
  left: 0;
  width: 100% !important;
}

/* Line of Sight Hierarchy Styling */
.los-hierarchy-section {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Common section header style */
.los-hierarchy-section h3 {
  color: #2c3e50;
  padding: 0.75rem 1rem;
  margin: 0;
  background: #f8f9fa;
  border-left: 4px solid #5D87FF;
  border-radius: 4px 4px 0 0;
  font-size: 1rem;
  border-left-color: #E5EFFF;
}

/* Table styling with hierarchy colors in headers */
.los-hierarchy-section .table {
  margin: 0;
  background: white;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

/* Table headers with consistent light blue */
.los-company-section .table thead th,
.los-region-section .table thead th,
.los-hospital-section .table thead th,
.los-department-section .table thead th,
.los-team-section .table thead th {
  background: #E5EFFF;  /* Lighter, more blue shade */
  border-bottom: none;
  color: #2c3e50;
  font-weight: 500;
  padding: 0.625rem 0.75rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.los-hierarchy-section .table tbody td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  color: #4a5568;
  font-size: 0.875rem;
  vertical-align: middle;
}

.los-hierarchy-section .table tbody tr:last-child td {
  border-bottom: none;
}

.los-hierarchy-section .table tbody tr:hover {
  background-color: #f8faff;
}

/* Status styling */
.los-hierarchy-section .table td .status {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.los-hierarchy-section .table td .status.draft {
  background-color: #f3f4f6;
  color: #6b7280;
}

.los-hierarchy-section .table td .status.pending {
  background-color: #fff7ed;
  color: #c2410c;
}

.los-hierarchy-section .table td .status.approved {
  background-color: #f0fdf4;
  color: #15803d;
}

.los-hierarchy-section .table td .status.revision {
  background-color: #fef2f2;
  color: #b91c1c;
}

/* Action buttons styling */
.los-hierarchy-section .table .icon-eye,
.los-hierarchy-section .table .icon-edit {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.los-hierarchy-section .table .icon-eye:hover,
.los-hierarchy-section .table .icon-edit:hover {
  background-color: #5D87FF;
  color: white !important;
}

/* Empty state styling */
.los-hierarchy-section .table tr.empty td {
  padding: 1rem;
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

/* Add subtle left border with matching color */
.los-company-section .table tbody td:first-child,
.los-region-section .table tbody td:first-child,
.los-hospital-section .table tbody td:first-child,
.los-department-section .table tbody td:first-child,
.los-team-section .table tbody td:first-child {
  border-left: 2px solid #E5EFFF;
}
