:root {
  --bs-primary: #2196F3;
  --bs-secondary: #00BFFF;
  --bs-danger: #F44B4E;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

.bg-primary,
.btn-primary {
  background-color: var(--bs-primary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.bg-danger,
.btn-danger {
  background-color: var(--bs-danger) !important;
}

.text-danger {
  color: var(--bs-danger) !important;
}

/* General custom button style */
.btn-success,
.btn-primary {
  border-radius: 2rem !important;
  box-shadow: inset 0 3px 3px rgba(255, 255, 255, 0.25);
  padding-left: 15px;
  padding-right: 15px;
  border: none;
}

.btn-outline-danger,
.btn-outline-dark {
  border-radius: 2rem !important;
  padding-left: 15px;
  padding-right: 15px;
}

.btn-outline-secondary {
  border-radius: 2rem;
  padding-left: 15px;
  padding-right: 15px;
}

.ref-txt {
  bottom: 24%;
  font-size: 12px;
  left: 8px;
}

/* Bottom pill to open drawer */
.open-pill {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background-color: #000;
  border-radius: 3px;
  cursor: pointer;
  z-index: 1055;
  transition: opacity 0.8s ease;
}

/* When backdrop is visible, hide the open pill */
body:has(.offcanvas-backdrop.show) .open-pill {
  opacity: 0;
  pointer-events: none;
}

/* Drawer styling */
.offcanvas-bottom.partial {
  height: calc(100vh - 56px);
  top: auto;
  transition: transform 0.8s ease-in-out;
}

/* Pill inside drawer (top) to close */
.drawer-pill {
  width: 120px;
  height: 6px;
  background-color: #000;
  border-radius: 3px;
  margin: 10px auto;
  cursor: pointer;
}

/* Close button at bottom of drawer */
.drawer-close-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1060;
}

/* Custom class for clean minimal tabs */

.minimal-tabs .nav-tabs {
  gap: 1.5rem;
}

.minimal-tabs .nav-tabs .nav-link {
  font-weight: 500;
  border: none;
  background: none;
  color: #000;
  padding: 0.5rem 0;
  transition: color 0.3s;
  /* width: 120px; */
}

.minimal-tabs .nav-tabs .nav-link:hover,
.minimal-tabs .nav-tabs .nav-link:focus {
  background: none;
  color: #000;
  outline: none;
  box-shadow: none;
}

.minimal-tabs .nav-tabs .nav-link.active {
  font-weight: bold;
}

.minimal-tabs .tab-content {
  padding: 1rem 0;
}

/* Badge top-left corner */

.notification-badge {
  position: absolute;
  top: -2px;
  right: -5px;
  font-size: 0.65rem;
  padding: 3px 6px;
  font-weight: 500;
  background-color: #FD9843;
}

.details-list li {
  font-size: 1.125rem;
  list-style-type: none;
  padding: .15rem .5rem .15rem 1.5rem;
  position: relative;
}

/* Remove default accordion button styles */
.accordion-button {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 1rem 0;
  border-bottom: 1px solid #dee2e6;
  transition: none;
  border-radius: 0 !important;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
}

.accordion-button:focus,
.accordion-button:active,
.accordion-button:hover {
  background-color: transparent;
  color: inherit;
  outline: none;
  box-shadow: none;
}

.accordion-item {
  border: none;
}

.wounds-list li:hover {
  background-color: #F8F9FA;
}

/* Remove default caret on dropdown-toggle */
.can-edit-custom::after {
  display: none;
}


.recipients-dropdown .dropdown-toggle {
  border: 1px solid #ccc;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 260px;
}

.recipients-dropdown .dropdown-toggle::after {
  display: none;
}

.recipients-dropdown .dropdown-menu {
  width: 100%;
}

.recipients-dropdown .form-check {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0;
  margin-bottom: 5px;
}

.recipients-dropdown .form-check-input {
  display: none;
}

.recipients-dropdown .form-check-input:checked+.form-check-label {
  border: 2px solid green;
  border-radius: 6px;
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipients-dropdown .form-check-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  width: 100%;
}

.recipients-dropdown .form-check-label .text {
  display: flex;
  flex-direction: column;
}

.recipients-dropdown .form-check-input:checked+.form-check-label .checkmark {
  display: inline-block;
}

.recipients-dropdown .checkmark {
  display: none;
  color: green;
  font-size: 20px;
}

.add-new-recipient {
  font-size: 18px;
  color: #2196F3;
  font-weight: 500;
}

.user-close {
  position: absolute;
  top: 4px;
  right: 8px;
  cursor: pointer;
  color: #807f7f;
}

.user-close .bi-x {
  font-size: 36px;
}

.list-group-item a {
  color: #000;
  text-decoration: none;
}

.patient-btn {
  font-size: 14px;
  white-space: nowrap;
  margin-left: 5px;
}

textarea {
  resize: none;
}





.partial.problem-pic-drawer {
  height: calc(100vh - 300px);
}

.custom-carousel-wrapper {
  max-width: 100%;
}

.custom-carousel-wrapper .carousel {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: auto;
  aspect-ratio: 3 / 2;
  /* 375x250 ratio */
}

.custom-carousel-wrapper .carousel-inner,
.custom-carousel-wrapper .carousel-item,
.custom-carousel-wrapper .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.custom-carousel-wrapper .carousel-control-prev,
.custom-carousel-wrapper .carousel-control-next {
  width: 40px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-carousel-wrapper .carousel-control-prev {
  left: 0;
}

.custom-carousel-wrapper .carousel-control-next {
  right: 0;
}

.custom-carousel-wrapper .carousel-indicators {
  bottom: -25px;
}

.custom-carousel-wrapper .carousel-icon {
  font-size: 1.5rem;
  color: #000;
}

@media (max-width: 400px) {

  .custom-carousel-wrapper .carousel-control-prev,
  .custom-carousel-wrapper .carousel-control-next {
    width: 30px;
  }
}


.thumb {
  width: 70px;
  height: 45px;
  cursor: pointer;
  border: 2px solid transparent;
}

.thumb.active {
  border-color: #198754;
}

#main {
  transition: opacity .3s;
}

#date1,
#date2 {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #21252999;
}

/* Transparent Offcanvas Styles */
.offcanvas.problem-pic-drawer {
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.problem-pic-drawer .offcanvas-body {
  background: transparent;
}

.carousel-navigation-info {
  z-index: 5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Ensure graph remains visible */
.chart-container {
  position: relative;
  z-index: 0;
}

/* Add subtle border to separate from background */
.problem-pic-drawer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Offcanvas Close Button Styles */
.problem-pic-drawer .btn-close {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1060;
}

.problem-pic-drawer .btn-close:hover {
  background-color: #fff;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

.list-group-item.active {
  background-color: #E9ECEF;
  color: initial;
}


.custom-dropdown {
  position: relative;
}

.custom-dropdown .dropdown-toggle-icon::after {
  display: none;
}

.custom-dropdown .dropdown-toggle-icon {
  padding: 0.5rem 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-dropdown .dropdown-toggle-icon:hover {
  background-color: transparent;
}

.custom-dropdown .dropdown-menu {
  margin-top: 0.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.custom-dropdown .bi-chevron-down {
  font-size: 0.875rem;
}

.custom-dropdown .transition-rotate {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-dropdown .dropdown-toggle-icon[aria-expanded="true"] .transition-rotate {
  transform: rotate(-180deg);
}

.nav.nav-tabs button {
  color: inherit;
}


.nav.nav-tabs .nav-link.active {
  font-weight: 600;
}

/* sticky bottom */
#woundListWrapper {
  scrollbar-width: thin;
}

#woundListWrapper::-webkit-scrollbar {
  width: 6px;
}

#woundListWrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

@media screen and (max-width: 400px) {}

@media only screen and (max-width: 400px) {
  #shareTab .nav-link {
    font-weight: 300;
  }
}



.custom-select-with-icon {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem;
  /* space for the icon */
}

.bg-notes {
  background-color: #FD9843;
}

.reference-bg {
  background-color: #D3D3D4;
}



.star-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4em;
  padding: 0;
}

.star-toggle::before {
  font-family: 'bootstrap-icons';
  content: "\f586";
  color: #ccc;
}

.star-toggle:checked::before {
  content: "\f586";
  color: #2196F3;
  font-weight: bold;
}

.star-toggle:checked::before {
  content: "\f586";
  color: #2196F3;
}

.star-toggle:not(:checked)::before {
  content: "\f586";
  color: #ccc;
}

.star-toggle:checked::before {
  content: "\f586";
  color: #2196F3;
}

.nav-tabs{    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
  padding: 0px 10px;
      column-gap: 5px;
  }