#min-chat.rotate{
  transform: rotateZ(180deg);
  transition: transform 0.3s ease;
}
.switch-toggle {
    display: flex;
    width: fit-content;
}
.switch-toggle label {
    border: 3px solid #62758C;
    display: inline-block;
    padding: 10px;
    position: relative;
    text-align: center;
    transition: background 600ms ease, color 600ms ease;
    cursor: pointer;
    min-width: 60px;
}

.switch-toggle label:hover {
    background: none;
    color: #62758C;
}

.switch-toggle label:after {
    background: #62758C !important;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    transition: left 100ms cubic-bezier(0.77, 0, 0.175, 1);
    width: 100%;
    z-index: -1;
}

.switch-toggle input {
    display: none;
}

.switch-toggle .toggle-left label {
    border-right: 0;
}
.switch-toggle .toggle-left label:after {
    left: 100%;
}

.switch-toggle .toggle-right label {
    margin-left: -3px;
}
.switch-toggle .toggle-right label:after {
    left: -100%;
}

.switch-toggle .item:checked + label {
    cursor: default;
    color: #ffffff;
    transition: color 100ms;
    z-index: 0;
}

.switch-toggle .item:checked + label:after {
    left: 0;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
}

#chat-toggle {
  position: fixed;
  bottom: 48px;
  right: 23px;
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 25%;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 8000;
}

#chat-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 320px;
  max-height: 80vh;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#chat-header {
  background: #4f46e5;
  color: #fff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header h3 {
  margin: 0;
  font-size: 16px;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9fafb;
}

.message {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
  word-wrap: break-word;
}

.bot {
  background: #e5e7eb;
  align-self: flex-start;
}

.user {
  background: #4f46e5;
  color: #fff;
  align-self: flex-end;
}

#input-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  row-gap: 15px;
  align-items: center;
  border-top: 1px solid #ddd;
  padding: 8px;
  background: #efefef;
  padding-bottom: 14px;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.button {
  background: #4f46e5;
  border: none;
  color: #fff;
  margin-left: 8px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#send-btn:hover,
#mic-btn:hover {
  background: #4338ca;
}

#mic-btn.listening {
  background: #ef4444;
}

.patient-consent {
  display: flex;
  justify-content: space-between;
  padding: 6px 6px;
  width: 100%;
  gap: 10px;
  font-size: 14px;
  margin-bottom: unset;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.note-dropdown a {
  width: 100%;
  background: none;
  color: #535353;
  border-color: #cdcdcd;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  padding: 6px 5px;
}

.note-dropdown a::after {
  content: unset !important;
}

.note-dropdown ul li a {
  font-size: 12px !important;
}

#noteTypeMenu {
  height: 200px;
  overflow-x: scroll;
  width: 90%;
}

.staticType {
  text-decoration: none;
  cursor: text;
}

#preLoginModal, #loginModal, #resumeCareWayModal, #closeCareWayModal{
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(5px);
}

#careWayLinkBtn{
  text-align: center;
  align-content: center;
}

.grid-readonly-field {
    width: 95%;
    border: 1px solid #ccc;
    background: #f8f8f8;
    padding: 2px;
    cursor: pointer;
}