.debug {
  outline: 1px solid red !important;
}

.bg-light {
  background-color: #f0f2f5 !important;
}

footer {
  background-color: #f0f2f5 !important;
}

.container-fluid {
  flex: 1;
}
/* FORM STYLING */

.accordion-button.collapsed::after,
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  margin: 10px 10px 10px 10px;
}

.dark.accordion-button.collapsed::after,
.dark.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%6c757d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.dark.accordion-button:not(.collapsed) {
  color: var(--bs-secondary);
}

.is-invalid .form-control {
  border: 1px solid red;
}

.errorlist {
  list-style: none;
  padding-left: 0;
}

/* CALENDAR STYLING */

.weekday-headers,
.calendar-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.calendar-cell {
  aspect-ratio: 1/ 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5%;
  background-color: var(--bs-gray-300);
  font-size: 1.25rem;
}

.calendar-cell .circle {
  border-radius: 100%;
  width: 80%;
  height: 80%;
  max-width: 60px;
  max-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #343a40;
  font-weight: bold;
}

.calendar-cell .circle.active {
  background-color: var(--bs-success) !important;
  color: white;
}

.custom-tooltip.show {
  opacity: 1 !important;
}

.custom-tooltip
  .bs-tooltip-auto[data-popper-placement^='bottom']
  .tooltip-arrow::before {
  border-bottom-color: var(--bs-light) !important;
  /* 
  border-top-color: var(--bs-light) !important;
  border-left-color: var(--bs-light) !important;
  border-right-color: var(--bs-light) !important; */
}

.custom-tooltip .tooltip-inner {
  background-color: var(--bs-light);
  color: var(--bs-secondary);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1rem;
}

.small-label {
  font-size: 0.75rem;
  color: var(--bs-secondary);
}

/* VISIT LIST STYLING */

.order-number {
  margin-right: 1rem;
}

.order-number .circle {
  border-radius: 100px;
  width: 40px;
  height: 40px;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 40px;
  background-color: #fff;
  color: #343a40;
  font-size: 1.25rem;
  font-weight: bold;
}

.order-number.visited .circle {
  background-color: var(--bs-success) !important;
  color: white;
}

.edit-card-column {
  min-width: 6em;
}

@media screen and (max-width: 365px) {
  .btn-with-icon-label {
    display: none;
  }
}

.select2-container {
  width: 100% !important;
  min-width: 0 !important;
}

.select2-container .select2-selection--single {
  height: 38px !important;
  padding: 0.375rem 0.75rem 0.375rem 0rem !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100% !important;
  margin-left: -10px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: inherit !important;
}

.last-modified-card {
  animation-name: animation;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
}

@keyframes animation {
  0% {
    background-color: #d1e7dc;
  }
  50.0% {
    background-color: #d1e7dc;
  }
  100.0% {
    background-color: #f0f2f5;
  }
}

.signature-pad--wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.signature-pad--body {
  position: relative;
  width: 100%;
  height: 100%;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.signature-pad {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}
