﻿/*start body*/
/*body {
        @apply font-worksans;
    }*/
/*end body*/

/*start responsive container*/
.responsive-container {
  margin-left: 0.4rem;
  margin-right: 0.4rem;
}

@media (min-width: 1920px) {
  .responsive-container {
    margin-left: 2.5rem;
    margin-right: 2.5rem;
  }
}

@media (min-width: 2560px) {
  .responsive-container {
    margin-left: 18rem;
    margin-right: 18rem;
  }

  .justify-end-wd {
    justify-content: flex-end;
  }

  .ml-wd-8 {
    margin-left: 2rem;
  }
}

@media (min-width: 3440px) {
  .responsive-container {
    margin-left: 22rem;
    margin-right: 22rem;
  }
}
/*end responsive container*/

/*start pulse animation*/
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-animation {
  animation: pulse 1.5s infinite;
}
/*end pulse animation*/

/*.icon-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gray"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.5rem;
  padding-right: 5rem;
  padding-left: 1rem;
}*/

/*@-webkit-keyframes autofill {
  0%,
  100% {
    color: #666;
    background: transparent;
  }
}*/

/*start input radio*/
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ccc;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

input[type="radio"]:checked {
  background-color: #487868; 
  border-color: #487868;
}

input[type="radio"]:hover {
  border-color: #487868;
}

input[type="radio"]:focus {
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.4);
}
/*end input radio*/

/*start input autofill*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #daede8 inset !important;
  box-shadow: 0 0 0px 1000px #daede8 inset !important;
  -webkit-text-fill-color: #000000 !important;
  color: #000000 !important;
  border-style: solid !important;
  border-width: 1.4px !important;
  border-color: #91b8aa !important;
  border-radius: 0.5rem !important;
  font-size: 0.875rem !important;
  line-height: 1.35rem !important;
  outline: none !important;
}
/*end input autofill*/

/*start qms mesh gradient bg*/
.bg-qms-room-bg-gradient {
  background: radial-gradient(at 18% 99%, #1a6383 0px, transparent 80%) repeat
      scroll 0% 0%,
    radial-gradient(at 97% 8%, #30d39e 0px, transparent 80%) repeat scroll 0% 0%,
    radial-gradient(at 79% 82%, #1a6383 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 96% 10%, #30d39e 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 42% 20%, #1a6383 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 4% 49%, #30d39e 0px, transparent 80%) repeat scroll 0% 0%,
    radial-gradient(at 57% 33%, #1a6383 0px, #30d39e 80%) repeat scroll 0% 0%;
}

.bg-qms-counter-bg-gradient {
  background: radial-gradient(at 18% 99%, #1a6383 0px, transparent 80%) repeat
      scroll 0% 0%,
    radial-gradient(at 97% 8%, #1a6383 0px, transparent 80%) repeat scroll 0% 0%,
    radial-gradient(at 43% 82%, #1a6383 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 122% 10%, #30d39e 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 68% 20%, #30d39e 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 24% 49%, #30d39e 0px, transparent 80%) repeat scroll 0%
      0%,
    radial-gradient(at 57% 33%, #30d39e 0px, #30d39e 80%) repeat scroll 0% 0%;
}
/*end qms mesh gradient bg*/

/*start sidebar */
.active-icon {
  display: none;
}

.inactive-icon {
  display: inline;
}

#sidebar a.active .active-icon {
  display: inline;
}

#sidebar a.active .inactive-icon {
  display: none;
}

#logo-sidebar {
  transition: width 0.3s ease, opacity 0.3s ease;
}

#logo-sidebar.expanded .sidebar-text {
  opacity: 1;
  visibility: visible;
}
/*end sidebar*/

/*start graph*/
.graph-container {
  position: relative;
  height: 350px; /* Set to desired height */
  width: 100%; /* Optional: set to 100% to make it responsive */
}

.graph-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../Images/Background/clinex-background-dot-graph-image.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}

.graph-canvas {
  position: relative;
  z-index: 1; /* Ensure the canvas is above the background */
  width: 100%; /* Make the canvas responsive */
  height: 100%; /* Make the canvas responsive */
}
/*end graph*/

/*.mr-120 {
  margin-right: 120rem;
}
*/

/*start nav bar*/
a:hover img.tab-a-inactive {
  display: none;
}

a:hover img.tab-a-active {
  display: block;
}

a[aria-selected="true"] img.tab-a-inactive {
  display: none;
}

a[aria-selected="true"] img.tab-a-active {
  display: block;
}

img.tab-a-active {
  display: none;
}

a:hover img.tab-b-inactive {
  display: none;
}

a:hover img.tab-b-active {
  display: block;
}

a[aria-selected="true"] img.tab-b-inactive {
  display: none;
}

a[aria-selected="true"] img.tab-b-active {
  display: block;
}

img.tab-b-active {
  display: none;
}
/*end nav bar*/

/*start custom origin checkbox*/
[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 4px !important;
  background-color: transparent !important;
  cursor: pointer !important;
  outline: none !important;
  appearance: none !important;
  --tw-shadow: 0 0 #0000;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  background-origin: border-box;
  border-color: #6b7280;
  border-width: 1px;
  color: #1c64f2;
  display: inline-block;
  flex-shrink: 0;
  height: 1rem;
  padding: 0;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  vertical-align: middle;
  width: 1rem;
}

[type="checkbox"]:checked {
  background-color: #358f80 !important; 
  color: #358f80 !important; 
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #ffff !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='M1 5.917 5.724 10.5 15 1.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 0.65em 0.55em;
  border-color: transparent;
}
/*end custom origin checkbox*/

/* Style the select element with a custom arrow */
/*.custom-dropdown {
  appearance: none;*/ /* Hide the default dropdown arrow */
  /*-webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;*/ /* Or any other desired background color */
  /*background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.5 5a.5.5 0 0 1 .707 0L8 11.293l5.793-6.293a.5.5 0 0 1 .707.707l-6 6.5a.5.5 0 0 1-.707 0l-6-6.5A.5.5 0 0 1 1.5 5z"/%3E%3C/svg%3E');*/ /* Custom dropdown arrow */
  /*background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5em;*/ /* Add space for the arrow */
  /*border-radius: 0.375rem;*/ /* Tailwind rounded-lg */
/*}*/

/* Optional: Focus styles for accessibility */
/*.custom-dropdown:focus {
  outline: none;
  border-color: #2563eb;*/ /* Custom focus color */
  /*box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);*/ /* Focus ring */
/*}*/
/*
.clear-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    color: #999;
    margin-left: 5px;
}

    .clear-btn:hover {
        color: #333;
    }
*/
/*.hidden {
    display: none;
}
*/

/*start dropdown-menu*/
.dropdown-menu {
  right: 0;
  top: 100%;
  z-index: 900;
  width: max-content;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: visible;
}
/*end dropdown-menu*/

/*.select-green-styled option:checked,
.select-green-styled option[selected],
.select-green-styled option:hover {
  background-color: #bae3d5;
  color: #000000;
}*/

/*.custom-select-focus-for-select:focus {
  outline: none;*/ /* Remove the default focus outline */
  /*border-color: #d1d5db;*/ /* Remove any border color change */
  /*box-shadow: none;*/ /* Disable any focus ring shadow (including --tw-ring-shadow) */
/*}*/

/*.custom-select-focus-for-input:focus {
  outline: none;*/ /* Remove the default focus outline */
  /*border-color: #d1d5db;*/ /* Remove any border color change */
  /*box-shadow: none;*/ /* Disable any focus ring shadow (including --tw-ring-shadow) */
/*}*/

/*start tooltip*/
.tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.tooltip[style*="display: block"] {
  opacity: 1; 
}
/*end tooltip*/

/*start custom origin input number type*/
input[type="number"]:focus {
  border-color: #bae3d5;
  outline: none; 
  box-shadow: none;
  border-width: 1px;
}
/*end custom origin input number type*/

/*audit trail transition*/
.details-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.3s ease, opacity 0.3s ease;
}
/*end audit trail transition*/

/*start vital sign transition*/
#vitalForms {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0s 0.3s; 
}

#vitalForms.expanded {
  max-height: 1000px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
/*end vital sign transition*/

/*start arrow panel dropdown */
.panelarrow .ts-control {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 30px; 
  border: 1px solid #ccc;
  border-radius: 4px;
}

.panelarrow .ts-control svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none; 
  z-index: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panelarrow .ts-dropdown {
  border: 1px solid #ccc; 
  border-radius: 4px;
  margin-top: 5px;
}
/*end arrow panel dropdown */

/*start overwrite dropdown tom-select*/

.ts-control input::placeholder {
  color: #364153;
  font-weight: 500;
}
/*end overwrite dropdown tom-select*/

/*start overwrite css (datepicker)*/
/*.bg-blue-700 {
  background-color: #bae3d5 !important;
  color: black !important;
}

.focus\:ring-blue-300:focus {
  --tw-ring-opacity: 0 !important;
}

.ts-control:not(.rtl) {
  padding-right: 2rem !important;
  white-space: nowrap !important;
}

@media (min-width: 640px) {
  .ts-control:not(.rtl) {
    padding-right: max(
      var(--ts-pr-min),
      var(--ts-pr-clear-button) + var(--ts-pr-caret)
    ) !important;
  }
}

@media (min-width: 768px) {
  .ts-control:not(.rtl) {
    white-space: normal !important;
  }
}*/
/*end overwrite css (datepicker)*/

/*start spinner animation*/
.button-with-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top-color: #112b22;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*.button-with-spinner {
  display: flex;
  align-items: center;
  gap: 10px;
}
*/

/*button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}*/
/*end spinner animation*/

/*start scroll bar hidden scroll*/
.scrollbar-hidden {
  -ms-overflow-style: none; 
  scrollbar-width: none; 
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none; 
}
/*end scroll bar hidden scroll*/

/*start overwrite css (datepicker)*/
.bg-blue-700 {
  background-color: #bae3d5 !important;
  color: black !important;
}

.focus\:ring-blue-300:focus {
  --tw-ring-opacity: 0 !important;
}

.ts-control:not(.rtl) {
  padding-right: 2rem !important;
  white-space: nowrap !important;
}

@media (min-width: 640px) {
  .ts-control:not(.rtl) {
    padding-right: max(
      var(--ts-pr-min),
      var(--ts-pr-clear-button) + var(--ts-pr-caret)
    ) !important;
  }
}

@media (min-width: 768px) {
  .ts-control:not(.rtl) {
    white-space: normal !important;
  }
}

.leading-9 {
  line-height: 2.25rem !important;
}

.grid-cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}
/*end overwrite css (datepicker)*/
