/*
 * Custom CSS
 */

:root {
  /* --bs-body-bg: var(--bs-gray-100); */
  --bs-blue: #005eff;
  --bs-nav-link-color: red;
  background-color: var(--bs-light);
}

.tooltip {
  --bs-tooltip-bg: var(--bs-primary);
  --bs-tooltip-max-width: 500px
}

label {
  font-weight: bold;
}

.telehealthSpecialties label, .submitCredits label {
  font-weight: normal !important;
}

header .logo {
  height: 2.4rem;
  padding-top: 3px;
  margin-left: 6px;

}

header .navbar {
  background-color: var(--bs-blue) !important;
}

header .navbar-trans {
  background-color: rgba(0, 94, 255, 0.9) !important;
  --tw-bg-opacity: 0.9;
  backdrop-filter: saturate(0.5) blur(2px);
}

header .nav-link, header .nav-link.dropdown-toggle {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  border-radius: 20px;
}

header .nav-link-active, header .nav-link:hover, header .nav-link.dropdown-toggle.show {
  color: var(--bs-blue) !important;
  background-color: white;
}

header .nav-link.dropdown-toggle.nav-link-active:hover, header .nav-link.dropdown-toggle.nav-link-active.show {
  background-color: #efefef;
}

header .navbar-collapse {
  flex-grow: 0.55;
}

header .dropdown-item {
  color: white;
}

main {
  margin-top: 66px;
  padding: 16px;
  border-bottom: 1px solid var(--bs-gray-300);
}

.btn-primary {
  --bs-btn-bg: var(--bs-blue);
}

.bg-blue {
  background-color: var(--bs-blue);
}

span.account {
  line-height: 25px;
}

span.account > span {
  width: 5.5rem;
  margin-right: 14px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1em;
  font-weight: normal;
}

input[readonly] {
  background-color: rgb(235, 235, 228);
  color: rgb(84, 84, 84);
}

.dashboard-table .nested-table-row > td {
  padding: 16px 0 20px 20px;
  border: 1px solid var(--bs-blue);
}

.dashboard-table {
  border: 1px solid var(--bs-table-border-color);
}

.dashboard-table .nested-table-row {
  background-color: var(--bs-light);
}

.dashboard-table td, .dashboard-table th {
  padding-left: 10px;
  padding-right: 10px;
  vertical-align: middle;
}

.dashboard-table a {
  text-decoration: none;
}

.dashboard-table th a.timestamp {
  font-size: 12pt;
}

.dashboard-table .badge {
  width: 150px;
  font-size: 10pt;
  font-weight: normal;
  padding: 7px;
}

.dashboard-table .btn-sm {
  --bs-btn-padding-y: 0.16rem;
}

.dashboard-table .submit-button {
  width: 100px;
}

.dashboard-table .row-start {
  width: 25px;
  padding-left: 4px;
  padding-right: 0;
}

.dashboard-table .delete-submission {
  margin-top: -3px;
  --bs-btn-padding-x: 0.2rem;
  --bs-btn-padding-y: 0;
}

.submit-network-form label {
  font-weight: bold;
}

.matrix-menus {
  position: fixed;
  width: 160px;
  margin-top: -4px;
  z-index: 10;
}

.matrix-menus label {
  font-size: 10pt;
  font-weight: bold;
  margin-top: -4px
}

.matrix-menus select {
  font-size: 8pt;
  margin-bottom: 0.5rem !important;
}

.matrix .pass-distance {
  display: none;
}

.matrix-switch {
  text-align: left;
  padding-right: 2.3em;
}

.matrix-header {
  height: 200px;
  width: 180px;
  margin-top: -30px;
  position: fixed;
  z-index: 9;
}

.matrix-header td:first-of-type {
  min-width: 178px;
}

.matrix-header td:last-of-type {
  max-width: 31px;
}

.matrix-header td {
  max-width: 29.21px;
  min-width: 29.21px;
}

.matrix tr > td:not(:first-of-type) {
  width: 27px;
}

.matrix td:first-of-type {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  text-align: right;
  padding-right: 4px;
  padding-top: 3px;
}

.matrix tr > td .badge {
  position: relative;
  top: -3px;
}

.matrix tr:not(:first-of-type) > td:not(:first-of-type) {
  text-align: center;
}

.matrix tr > td {
  height: 31px;
  padding-top: 2px;
}

.matrix-header td > div {
  transform: rotate(-60deg);
  position: relative;
  z-index: 2;
  width: 200px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  left: -40px;
  top: 90px;
  font-size: 15px;
}

.matrix-header td > div > span.specialty-code {
  color: var(--bs-blue);
  margin-right: 8px;
}

.matrix {
  width: 180px;
  margin-top: 192px;
  margin-bottom: 20px;
}

.matrix .round-cell {
  font-size: 9pt;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.matrix .round-cell:hover {
  background-color: var(--bs-blue) !important;
  color: white !important;
  border: 1px solid var(--bs-blue) !important;
}

.matrix > :not(caption) > * > * {
  padding: 0.1em;
}

.matrix .round-cell i {
  font-size: 15pt;
}

/* Color coding styles remain the same */
.matrix .round-cell[data-value^="0"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value="0"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value^="1"], .matrix .round-cell[data-value="1"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value^="2"], .matrix .round-cell[data-value="2"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value^="3"], .matrix .round-cell[data-value="3"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value^="4"], .matrix .round-cell[data-value="4"] {
  background-color: #8c232d;
  color: #f8d7da;
}

.matrix .round-cell[data-value^="5"] {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #ffbbc1;
}

.matrix .round-cell[data-value="5"] {
  background-color: #8c232d;
  color: #f8d7da;
  border: none;
}

.matrix .round-cell[data-value^="6"] {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #ffbbc1;
}

.matrix .round-cell[data-value^="7"] {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #ffbbc1;
}

.matrix .round-cell[data-value="7"] {
  background-color: #8c232d;
  color: #f8d7da;
  border: none;
}

.matrix .round-cell[data-value^="8"] {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #ffbbc1;
}

.matrix .round-cell[data-value="8"] {
  background-color: #8c232d;
  color: #f8d7da;
  border: none;
}

.matrix .round-cell[data-value^="9"] {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #b7d5be;
}

.matrix .round-cell[data-value="9"] {
  background-color: #8c232d;
  color: #f8d7da;
  border: none;
}

.matrix .round-cell[data-value="100"] {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #b7d5be;
}

.matrix .round-cell-error {
  border: 3px dashed red !important;
}

/* ... other color styles ... */

/* Custom styles for tooltip tables */
.matrix .tooltip-inner {
  max-width: 300px;
  text-align: left;
}

.matrix .tooltip-inner table {
  margin-bottom: 0;
  color: white;
}

.matrix .tooltip-inner th, .tooltip-inner td {
  padding: 2px 5px;
}

.matrix tr:not(:first-of-type):hover td {
  background-color: #f3fff6;
}

.matrix .badge, .matrix-header .badge {
  font-size: 10px;
  width: 25px
}

.matrix-header .badge {
  margin-top: 171px;
}

.matrix-header .bg-danger, .matrix .bg-danger {
  cursor: pointer;
}

.matrix-body .tooltip table {
  background: transparent !important;
  color: white !important;
}

.matrix-body .tooltip table td, .matrix-body .tooltip table th {
  text-align: left;
  padding-left: 0;
  max-width: 170px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.matrix-footer {
  margin-bottom: 40px;
  font-size: 10pt;
}

.matrix-footer td:nth-child(1) {
  width: 242px;
}

.matrix-footer td:nth-child(2) {
  width: 500px;
}

.datatable-sm, .datatable-sm td {
  font-size: 9pt;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.offcanvas.offcanvas-bottom {
  height: 750px;
}

.offcanvas-small-blue-text {
  color: var(--bs-blue);
  font-size: 11pt;
}

.offcanvas-bold-text {
  font-weight: bold;
  font-size: 14pt;
}

footer > nav {
  border-top: 1px solid var(--bs-gray-300);
}

footer > nav a {
  text-decoration: none;
  color: var(--bs-body-color);
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.mapboxgl-popup {
  width: 400px;
  max-width: 400px !important;
}

.distance-container {
  position: absolute;
  top: 10px;
  left: 812px;
  z-index: 1;
}

.distance-container > * {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  display: block;
  margin: 0;
  padding: 5px 10px;
  border-radius: 3px;
}

.scrollable-div {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;

  /* For Webkit browsers (Chrome, Safari) */

  &::-webkit-scrollbar {
    width: 8px;
  }

  &::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  &::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
  }

  &::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  /* For Firefox */
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 4rem 0; /* Space out the Bootstrap <hr> more */
  border-top-width: 4px;
  border-top-color: var(--bs-blue);
  opacity: 100;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

  .featurette-heading {
    font-size: 2.5rem;
    font-weight: bold;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 5rem;
  }
}


.v-enter-active,
.v-leave-active {
  transition: opacity 0.5s ease;
}

.v-enter-from,
.v-leave-to {
  opacity: 0;
}
