/* @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap'); */

/* Fonts */

/* Tajawal ExtraLight */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/Tajawal/Tajawal-ExtraLight.ttf") format("truetype");
}

/* Tajawal Light */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/Tajawal/Tajawal-Light.ttf") format("truetype");
}

/* Tajawal Regular */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Tajawal/Tajawal-Regular.ttf") format("truetype");
}

/* Tajawal Medium */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Tajawal/Tajawal-Medium.ttf") format("truetype");
}

/* Tajawal Bold */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Tajawal/Tajawal-Bold.ttf") format("truetype");
}

/* Tajawal ExtraBold */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/Tajawal/Tajawal-ExtraBold.ttf") format("truetype");
}

/* Tajawal Black */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/Tajawal/Tajawal-Black.ttf") format("truetype");
}

@font-face {
  font-family: "din-next-lt-arabic";
  src: url("../fonts/din-next-lt-arabic-regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  overflow: hidden;
  font-family: "Tajawal", sans-serif;
  font-style: normal;
}

/* Utilization */
.text-light-blue {
  color: #2f64c0;
}

.bg-light-blue {
  background-color: #2f64c0;
}

.bi {
  font-family: sans-serif;
}

.cursor-pointer {
  cursor: pointer;
}

/* Utilization End ###############################  */

/* Login page */

.right-section {
  background: url("../images/login_bg.png") no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.right-section .accessablity-icon {
  width: 60px;
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.left-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
}
.top-nav {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.login-option {
  width: 100%;
  max-width: 600px;
}
.login-form h2 {
  font-family: "din-next-lt-arabic", sans-serif;
}

.login-paci-form {
  width: 100%;
  max-width: 600px;
}

.paci-instr-container {
  background-color: #fcfaff;
}

.paci-instr-container ul {
  list-style: none;
  padding: 0;
}

.paci-instr-container ul p .count {
  background-color: var(--bs-primary);
  border-radius: 50%;
  padding: 10px 15px;
  font-family: Tajawal;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  text-align: center;
  color: white;
}

.auth-option-container {
  cursor: pointer;
  background-color: #fdfcff;
  box-shadow: 0 0px 1px rgba(0, 0, 0, 0.1);
}
.auth-option-container:hover {
  box-shadow: 0 0px 1px rgba(0, 0, 0, 0.4);
}

/* Login page End ###############################  */

/* Dashboard */

.sidebar {
  width: 350px;
  height: calc(100vh - 65px);
  position: fixed;
  top: 65px;
  right: -350px;
  background: linear-gradient(247.31deg, #ffffff 0%, #e8f0f9 100%);
  /* box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1); */
  transition: all 0.3s;
  z-index: 1000;
  overflow-y: auto;
}

.main-content.sidebar-open .sidebar {
  right: 0;
}

.main-content {
  margin-right: 0;
  transition: all 0.3s;
}

.main-content.sidebar-open {
  margin-right: 350px;
}

.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

.chatSidebar .title {
  font-family: "din-next-lt-arabic";
  font-weight: 700;
  font-style: Bold;
  font-size: 22px;
  line-height: 17.93px;
  letter-spacing: 0%;
}

.chatSidebar .chat-header h5 span {
  background: linear-gradient(90deg, #32a5f3 0%, #634fe9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-user {
  transition: all 0.2s;
}

.chat-user:hover,
.chat-user.active {
  background-color: rgba(52, 152, 219, 0.1);
}

.unread-count {
  width: 20px;
  height: 20px;
  font-size: 12px;
  background-color: var(--bs-primary);
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-item {
  margin: auto 15px;
}

.nav-link {
  position: relative;
  font-family: "din-next-lt-arabic";
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}

.nav-link.active {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  font-family: "din-next-lt-arabic";
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  width: 100%;
  height: 3px;
  background-color: var(--bs-primary);
}

.sub-header {
  background: hsla(219, 56%, 64%, 1);

  background: linear-gradient(
    45deg,
    hsla(219, 56%, 64%, 1) 0%,
    hsla(0, 0%, 100%, 1) 100%
  );

  background: -moz-linear-gradient(
    45deg,
    hsla(219, 56%, 64%, 1) 0%,
    hsla(0, 0%, 100%, 1) 100%
  );

  background: -webkit-linear-gradient(
    45deg,
    hsla(219, 56%, 64%, 1) 0%,
    hsla(0, 0%, 100%, 1) 100%
  );
}

.sub-header .chatToggle {
  display: block;
}
.main-content.sidebar-open .sub-header .chatToggle {
  display: none;
}

.main-content .page-container {
  padding: 20px;
}

.chatSidebar {
  /* height: calc(100vh - 150px); */
  direction: rtl; /* RTL layout for Arabic */
}

.chat-body {
  min-height: 0; /* ensures scroll works in flex */
}

.chat-message .bubble {
  display: inline-block;
  padding: 10px 14px;
  max-width: 80%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.chat-message.sent {
  text-align: left;
}

.chat-message.sent .bubble {
  width: 90;
  height: 41;
  padding-top: 15px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-left: 10px;
  gap: 10px;
  opacity: 1;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  background: #ffffff;
  box-shadow: 0px 2px 14px 0px #63638b14;
}

.chat-message.received {
  text-align: right;
}

.chat-message.received .bubble {
  width: 90;
  height: 41;
  padding-top: 15px;
  padding-right: 10px;
  padding-bottom: 15px;
  padding-left: 10px;
  gap: 10px;
  opacity: 1;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;

  background: #ffffff;
  box-shadow: 0px 2px 14px 0px #63638b14;
}

.chat-suggestions button {
  white-space: nowrap;
}

.chat-input {
  position: sticky;
  bottom: 0;
}

.chat-input .input {
  justify-content: space-between;
  padding-top: 18px;
  padding-right: 19px;
  padding-bottom: 18px;
  padding-left: 19px;
  opacity: 1;
  border-radius: 10px;
  box-shadow: 0px 4px 14px 0px #006ed226;
  background: #ffffff;
}

.chat-input .input textarea {
  resize: none;
}
.chat-input .input textarea:focus-visible {
  outline: transparent;
}

.chat-input .send-btn {
  box-shadow: 0px 4px 4px 0px #006ed20d;
}

.chat-input .send-options i {
  width: 30px;
  height: 30px;
  gap: 10px;
  opacity: 1;
  border-radius: 10px;
  border-width: 1px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #dae1e5;
}
