@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
@import url('https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
*{ margin: 0; padding: 0;}
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body{
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
    
  font-family: 'Roboto', sans-serif;
  font-style: normal;
  font-weight: 300;
  /* font-smoothing: antialiased; */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  background: #eee;
}

.otp-field {
  flex-direction: row;
  column-gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-field input {
  height: 45px;
  width: 42px;
  border-radius: 6px;
  outline: none;
  font-size: 1.125rem;
  text-align: center;
  border: 1px solid #ddd;
}
.otp-field input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
  display: none;
}

.resend {
  font-size: 12px;
}

.footer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: black;
  font-size: 12px;
  text-align: right;
  font-family: monospace;
}

.footer a {
  color: black;
  text-decoration: none;
}


/* Nav Styles */

.navigation{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: #2676a9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 99;
}
.navigation .navbar{
  height: 100%;
  /* max-width: 1440px; */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 12px;
}
.logo{
  max-width: 350px;
}
.navbar .logo a{
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.navigation .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
.navigation .navbar .links{
  display: flex;
}
.navigation .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
.navigation .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }

.navigation .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}
.navigation .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: #2676a9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
.navigation .navbar .links li:hover .htmlCss-sub-menu,
.navigation .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
  /* line-height: 40px; */
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
}
.navbar .search-box{
  position: relative;
   height: 40px;
  width: 40px;
}
.navbar .search-box i{
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.navbar .search-box .input-box{
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #2676a9;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}
.navbar.showInput .search-box .input-box{
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #2676a9;
}
.search-box .input-box::before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #2676a9;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}
.search-box .input-box input{
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}
.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:1905px) {
  .navigation .navbar{
    max-width: 100%;
    padding: 0 15px;
  }

  .navigation .navbar .nav-links{
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.5) transparent;
    display: flex;
    align-items: center;
  }

  /* Fix dropdown menus being clipped by overflow */
  .navigation .navbar .links li.dropdown {
    position: static;
  }

  .navigation .navbar .links li.dropdown .dropdown-menu {
    position: fixed;
    top: 70px;
    left: auto;
    right: auto;
  }

  /* Scrollbar styling */
  .navigation .navbar .nav-links::-webkit-scrollbar {
    height: 6px;
  }

  .navigation .navbar .nav-links::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
  }

  .navigation .navbar .nav-links::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 3px;
  }

  .navigation .navbar .nav-links::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.7);
  }

  .navigation .navbar .links{
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }

  .navigation .navbar .links li{
    padding: 0 8px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .navigation .navbar .links li a{
    font-size: 13px;
  }

  .logo{
    max-width: 200px;
    flex-shrink: 0;
    margin-right: 10px;
  }
}

@media (max-width:920px) {
  .navigation .navbar .links li{
    padding: 0 6px;
  }
  .navigation .navbar .links li a{
    font-size: 12px;
  }
  .logo{
    max-width: 160px;
  }
}

@media (max-width:800px){
  .navigation .navbar{
    padding: 0 10px;
  }
  .navigation .navbar .links li{
    padding: 0 5px;
  }
  .navigation .navbar .links li a{
    font-size: 11px;
  }
  .logo{
    max-width: 130px;
  }
}

@media (max-width:600px){
  .logo{
    max-width: 100px;
  }
  .navigation .navbar .links li{
    padding: 0 4px;
  }
  .navigation .navbar .links li a{
    font-size: 10px;
  }
}

.navbar .links li a.active {
  font-weight: 900 !important;
  color: yellow;
}

@media (max-width:370px){
  .navigation .navbar .nav-links{
  max-width: 100%;
}
td.w-75{
  width: 50% !important;
}
.logo{
  max-width: 230px;
} 
}

.main-margin{
  margin-top: 90px;
}

.cursor-pointer {
  cursor: pointer;
}

.icon {
  color: black;
}

.icon-rounded {
  border-radius: 100%;
}

.icon-24 {
  width: 24px;
  height: 24px;
}

.icon-36 {
  width: 36px;
  height: 36px;
}

li.qualified {
  list-style-image: url('/img/tick.png');
}

li.unqualified {
  list-style-image: url('/img/cross.png');
}

li.overdue-alert {
  list-style-image: url('/img/alert.png');
}

ul li.unqualified:nth-child(last) {
  padding-bottom: 8px !important;
}

.list-group-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.patient-info {
  flex: 1;
}
.patient-contact {
  flex: 1;
  text-align: right;
}
.chat-container {
  display: flex;
  flex-direction: column;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
}
.chat-message {
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 70%;
  padding: 10px;
}
.chat-message.email {
  background-color: #e0f7fa;
  align-self: flex-end;
}
.chat-message.text {
  background-color: #ebebeb;
  align-self: flex-end;
}
.chat-message .timestamp {
  display: block;
  font-size: 0.8em;
  color: #666;
  text-align: right;
}

.no-emails, .no-texts {
  text-align: center;
  font-size: 1.2em;
  color: #ff6f61;
  background-color: #fff3f0;
  padding: 10px;
  border: 1px solid #ff6f61;
  border-radius: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.readMore {
  color: #2676a9;
  cursor: pointer;
  background-color: transparent;
  border: none;
  text-decoration: underline;
}

#patient-details {
  background-color: #f3f3f3;
  border-radius: 5px;
}

.patient-details h3 {
  margin-bottom: 10px;
  font-weight: bold;
}

.patient-details h4 {
  margin-bottom: 5px;
}

.patient-details b {
  font-weight: bold;
}

/* Styling chat container scrollbar */
.chat-container::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

/* Track (background of the scrollbar) */
.chat-container::-webkit-scrollbar-track {
  background: #f1f1f1; 
}

/* Handle (thumb of the scrollbar) */
.chat-container::-webkit-scrollbar-thumb {
  background: #adadad; 
  border-radius: 4px; 
}

/* Handle on hover */
.chat-container::-webkit-scrollbar-thumb:hover {
  background: #838383; 
}