.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 999;
}

.input-group {
  position: relative;
}
.input-group .input {
  padding: 13px 13px 13px 16px;
  /*border: none;*/
  border-radius: 4px;
  font: inherit;
  color: #000;
  background-color: transparent;

  border-color: rgb(220, 220, 220) !important;
}
.input-group.with-icon .input {
  padding-left: 2.75rem;
}
.input-group .input-label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, 21px);
  transition: transform 0.3s;
  color: #9d9d9d;
}
.input-group.with-icon .input-label {
  transform: translate(40px, 21px);
}

.input:focus + .input-label,
.input:valid + .input-label {
  transform: translate(0px, -5px) scale(0.7);
  padding-inline: 5px;
  background-color: #fff;
}

.input:focus + .input-label {
  color: #3871e0;
}
.input:is(:focus) {
  border-color: #3871e0 !important;
}

@font-face {
  font-family: "password";
  font-style: normal;
  font-weight: 400;
  src: url(password.ttf);
}

#password {
  font-family: "password";
  letter-spacing: 2px;
}

.chat_logo {
  height: 3.5rem;
}

#upper {
  width: 42rem;
}

#lower {
  width: 42rem;
}

input[type="radio"] {
  display: none;
}
.option {
  padding: 8px 12px 8px 12px;
  border-radius: 7px;
  color: #cdccff;
  font-family: Inter;
  border: 2px solid #cdccff;
  font-size: 12px;
}
.option_selected {
  background: #9f9dfa;
  border: 2px solid #9f9dfa;
  color: #fcfcff;
}

.patient_input {
  margin-left: 2rem;
}

.send_button_ff {
  display: inline-block;
  margin-right: 1.25rem;
  height: 1.75rem;
  margin-top: 10px;
}

.send_button_i {
  display: inline-block;
  right: 1.25rem;
  height: 1.75rem;
}

.main_q {
  font-size: 20px;
}

.chat_q {
  width: 16rem;
  font-size: 12px;
  line-height: 16px;
}

.chat_a {
  width: 20rem;
  font-size: 12px;
  line-height: 16px;
}

.you {
  font-size: 12px;
}

.you_time {
  font-size: 9px;
}

@media only screen and (max-width: 760px) {
  #upper {
    width: 40rem;
  }
  #lower {
    width: 40rem;
  }
}

@media only screen and (max-width: 700px) {
  #upper {
    width: 38rem;
  }
  #lower {
    width: 38rem;
  }
}

@media only screen and (max-width: 650px) {
  #upper {
    width: 32rem;
  }
  #lower {
    width: 32rem;
  }
  .chat_logo {
    height: 3rem;
  }
  .main_q {
    font-size: 18px;
  }
  .option {
    font-size: 9px;
    margin-right: -8px;
  }
  .send_button_ff {
    margin-top: 18px;
    margin-right: 0.75rem;
    height: 1rem;
  }
  .send_button_i {
    margin-top: 7px;
    margin-right: 0.75rem;
    height: 1rem;
  }
}
@media only screen and (max-width: 550px) {
  #upper {
    width: 30rem;
  }
  #lower {
    width: 30rem;
  }
  .chat_logo {
    height: 2.25rem;
  }
  .main_q {
    font-size: 16px;
  }
  .chat_q {
    width: 8rem;
    font-size: 9px;
    line-height: 12px;
  }
  .chat_a {
    width: 16rem;
    font-size: 9px;
    line-height: 12px;
  }
  .patient_input {
    font-size: 12px;
    margin-left: 1.5rem;
  }
  .you {
    font-size: 9px;
  }
  .you_time {
    font-size: 7px;
  }
}

@media only screen and (max-width: 525px) {
  #upper {
    width: 28rem;
  }
  #lower {
    width: 28rem;
  }
}

@media only screen and (max-width: 500px) {
  #upper {
    width: 25rem;
  }
  #lower {
    width: 25rem;
  }
}

@media only screen and (max-width: 400px) {
  .chat_logo {
    height: 1.25rem;
    margin-bottom: 5px;
  }
  #upper {
    width: 20rem;
  }
  #lower {
    width: 20rem;
  }
}

.responsive-height {
  height: 23rem;
}

@media only screen and (max-height: 850px) {
  .responsive-height {
    height: 18rem;
  }
}

@media only screen and (max-height: 800px) {
  .responsive-height {
    height: 16rem;
  }
}

@media only screen and (max-height: 750px) {
  .responsive-height {
    height: 16rem;
  }
}

@media only screen and (max-height: 700px) {
  .responsive-height {
    height: 13rem;
  }
}

@media only screen and (max-height: 650px) {
  .responsive-height {
    height: 10rem;
  }
}

@media only screen and (max-height: 600px) {
  .responsive-height {
    height: 8rem;
  }
}

@media only screen and (max-height: 575px) {
  .responsive-height {
    height: 6rem;
  }
}

@media only screen and (max-height: 550px) {
  .responsive-height {
    height: 4rem;
  }
}
@layer base {
  /* Remove daisy ui outline on form elements */
  .input:focus,
  .select:focus,
  .textarea:focus,
  .file-input:focus {
    @apply outline-0 !important;
  }

  /* Reset daisy ui default */
  .select {
    @apply font-normal !important;
  }

  /* Number Input Reset */
  input[type="number"]::-webkit-inner-spin-button,
  input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
  }
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
}
#root {
  height: 100vh;
  position: relative;
}
.clinic-calendar-container {
  height: calc(100vh - 10rem);
}
.patients-table-container {
  height: calc(100vh - 7rem);
}

@keyframes showAnim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1 !important;
  }
}
.show {
  animation: showAnim 300ms;
}

@keyframes showModalAnim {
  0% {
    transform: scale(0.5);
  }
  100% {
    transform: scale(1);
  }
}
.showModal {
  animation: showModalAnim 0.5s;
}

.blueGradient {
  background: linear-gradient(-180deg, #0500ff 5%, #5652ff 30%, #ffffff);
}
.blueGradient2 {
  background: linear-gradient(
    180deg,
    #0500ff 3.65%,
    rgba(109, 106, 255, 0.954097) 48.96%,
    rgba(102, 99, 255, 0.652172) 76.56%,
    rgba(87, 84, 255, 0) 99.98%,
    rgba(86, 82, 255, 0.0208333) 99.99%
  );
}
.blueGradient3 {
  background: linear-gradient(
    90deg,
    #9d9bff 43.39%,
    rgba(195, 193, 255, 0) 100%
  );
}

/* width */
.sbar::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.sbar::-webkit-scrollbar-track {
  filter: drop-shadow(0 4px 4px rgb(0, 0, 0, 0.25));
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 17px;
}

/* Handle */
.sbar::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 17px;
}

.sbar2::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.sbar2::-webkit-scrollbar-track {
  border-radius: 17px;
  background-color: transparent;
}

/* Handle */
.sbar2::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 17px;
  filter: drop-shadow(0 4px 4px rgb(0, 0, 0, 0.25));
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.sbar2-purple::-webkit-scrollbar-thumb {
  background: #5754ff;
}

.sbar2-purple::-webkit-scrollbar-track {
  background: transparent;
}

.board::-webkit-scrollbar {
  width: calc(0.3rem);
}

.board::-webkit-scrollbar-track {
  background: transparent;
}

.board::-webkit-scrollbar-thumb {
  background: #5754ff;
  border-radius: 100px;
}

.sbar3::-webkit-scrollbar {
  width: 4px;
}

.sbar3::-webkit-scrollbar-track {
  background: transparent;
}

.sbar3::-webkit-scrollbar-thumb {
  background: #5754ff;
  border-radius: 100px;
}

.sbar4::-webkit-scrollbar {
  width: 4px;
}

.sbar4::-webkit-scrollbar-track {
  background: transparent;
}

.sbar4::-webkit-scrollbar-thumb {
  background: #313133;
  border-radius: 100px;
}

.shadow01 {
  filter: drop-shadow(0 4px 4px rgb(0, 0, 0, 0.25));
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25),
    inset 0px -4px 0px rgba(0, 0, 0, 0.25);
}
.shadow02 {
  box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.25);
}
.shadow-ntf {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.bg {
  background-color: #5754ff;
  height: 50px;
  width: 50px;
}

.form-field {
  border: none;
}

.slide {
  transition: 0.5s;
}

.rotate90 {
  display: none !important;
  transform: scale(0.5);
}

.chatSadow {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.selectedChat {
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 1);
}

@keyframes writing {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-0.3rem);
  }
  100% {
    transform: translateY(0);
  }
}

.writingAnim > span {
  animation: writing 1s calc(var(--d)) infinite;
  flex-shrink: 0;
}

.sbar2-black::-webkit-scrollbar-thumb {
  background: #333333;
}

.sbar2-black::-webkit-scrollbar-track {
  background: transparent;
}
