/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
  height: 64px;
}

.dark-style .menu .app-brand.demo {
  height: 64px;
}

.app-brand-logo.demo svg {
  width: 38px;
  height: 20px;
}

.app-brand-text.demo {
  font-size: 1.25rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}


/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #25bdad;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #020304
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 300px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1.25rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1.25rem;
}


.layout-menu-fixed body:not(.modal-open) .layout-navbar-full .layout-navbar {
  z-index: 100 !important;
}

/* Custom Css */
.table h6 {
  margin: 0.3rem 0 !important;
}

.rounded {
  border-radius: 50% !important;
}

body.swal2-toast-shown .swal2-container.swal2-top-end {
  z-index: 99999 !important;
}

.fc .fc-timegrid .fc-timegrid-event {
  padding-top: 0.1rem !important;
}

.profile-card {
  overflow-y: auto !important;
  height: 60vh;
}

/* Tooltip container */
.custom-tooltip {
  position: absolute;
  background: #25bdad !important;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  padding: 8px 12px;
  z-index: 99999 !important;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

/* Triangle for tooltip */
.custom-tooltip::before {
  content: "";
  position: absolute;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
  left: 50%;
  bottom: -5px;
  transform: translateX(-50%);
}

/* FullCalendar-like styling */
.custom-tooltip .fc-event-title {
  font-weight: bold;
}

.custom-tooltip .fc-event-time {
  font-size: 12px;
  color: #777;
}

.custom-tooltip a {
  text-decoration: underline;
  color: #007acc;
  cursor: pointer;
}

.custom-file-upload {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #d8d8dd;
  border-left: none;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  cursor: pointer;
}

.custom-file-label {
  padding: 0.7813rem;
  padding-left: 0;
  display: block;
  cursor: pointer;
}

.image-preview-box,
.lab-image-preview-box,
.note-image-preview,
.medical-image-preview {
  width: 100%;
  background: #fff;
  border: 1px solid #d8d8dd;
  display: none;
  border-radius: 8px;
  margin: 10px 0 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: 3px;
}

.image-preview {
  position: relative;
  max-width: 160px;
  height: 150px;
  padding: 0 0.7813rem;
}

.remove-button {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #25bdad;
  border-radius: 50px;
  color: #fff;
  font-size: 12px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

.remove-button-multiple {
  position: absolute;
  top: 5px;
  right: -10px;
  background: #25bdad;
  border-radius: 50px;
  color: #fff;
  font-size: 12px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s ease-in-out;
}

input.profile-pic-input,
input.lab-report-image,
input.note-images,
input.medical-images {
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: absolute;
}

img.profile-pic-preview,
img.medical-image,
img.note-image {
  max-width: 150px;
  height: 120px;
  border-radius: 5px;
  display: block;
  margin: 15px 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.app-calendar-wrapper .app-calendar-sidebar.w-full {
  flex-basis: 12.25rem !important;
}

/* Add this style to your CSS */
.tooth-container {
  position: relative;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.tooth-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.tooth-container:hover .tooth-label .mdi-tooth-outline,
.tooth-container .tooth-label:hover .mdi-tooth-outline {
  color: #25bdad !important;
}

.form-check-input:checked+.tooth-label .mdi-tooth {
  color: #25bdad !important;
}

.form-check-input:checked+.tooth-label .mdi-tooth::before {
  color: #25bdad !important;
}

.fc-timegrid-more-link {
  background-color: #25bdad !important;
  color: #fff !important;
}

.ts-dropdown,
.ts-control,
.ts-control input {
  font-size: 15px !important;
  line-height: 32px !important;
  border: 1px solid #d8d8dd !important;
  border-radius: 0.5rem !important;
}