/*? Start Color Variable Style */
:root {
  --lowerPurple: #b5179e;
  --darkBlue: #3f5ab0;
  --darkGreen: #117577;
  --lightGrey: #e6e6e6;
  --purple: #6921bd;
  --purpleHover: #6b38a5;
}

/*? End Color Variable Style */

/*? Start Default Style */
/* Font Aviny */
@font-face {
  font-family: "Aviny";
  src: url("../fonts/Aviny.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "iransans" !important;
  word-spacing: -1px;
  overflow-x: hidden;
  /* background-color: #f3eff5; */
  background-color: #f9fafb;
  min-height: 100vh;
}

pre {
  font-family: "iransans" !important;
  font-weight: bold !important;
}

a {
  text-decoration: none !important;
}

th,
td {
  white-space: nowrap;
  text-align: center;
}

tr {
  text-align: center;
}

.table_wrap > td,
.table_wrap > th {
  white-space: unset !important;
}

.IRANSans {
  font-family: "iransans" !important;
}

.Aviny {
  font-family: "Aviny" !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.validMessage {
  color: red;
  text-align: center;
  margin: 0.5rem 0;
}

.showPasswordIcon {
  position: absolute;
  left: 16px;
  top: 14px;
}

.cursorPointer {
  cursor: pointer;
}

.cursorDefault {
  cursor: default !important;
}

.customTextarea {
  min-height: 10rem;
  max-height: 10rem;
}

.text-purple {
  color: var(--purple) !important;
}

.bg-purple {
  background-color: var(--purple) !important;
  color: #fff;
}

.badge-purple {
  background-color: var(--purple);
  color: #fff;
}

.clientDataImg {
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
}

.patient_info_img {
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
}

.minHeightModal {
  min-height: 50vh;
}

.customBackground {
  background: url("./../images/customBackground.jpg") right !important;
}

.btnRounded {
  border-radius: 0.7rem;
  font-weight: bold;
  font-size: 1em;
}

.rounded-pill-right {
  border-top-right-radius: 0.7rem !important;
  border-bottom-right-radius: 0.7rem !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.rounded-pill-left {
  border-top-left-radius: 0.7rem !important;
  border-bottom-left-radius: 0.7rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.calender-modal {
  bottom: unset !important;
  top: 0 !important;
}

.JDatePicker {
  z-index: 1060 !important;
}

.date-input-with-dialog-calendar {
  color: #007bff !important;
  border: none !important;
  background-color: unset !important;
  font-size: 20px;
}

.date-input-with-dialog-empty {
  color: #ff2600 !important;
  border: none !important;
  background-color: unset !important;
  font-weight: bold;
  font-size: 28px;
}

.input-picker--input {
  height: 3rem !important;
}

.defaultCardHeight {
  max-height: 600px;
  overflow-y: auto;
}

.scrollHeightCard {
  max-height: 60vh;
  overflow-y: auto;
}

@media screen and (max-width: 990px) {
  option {
    font-size: 0.9em;
  }
}

.ellipsisHiddenFullName {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.ellipsisHiddenFirstName {
  display: inline-block;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.ellipsisHiddenSubscriptionName {
  display: inline-block;
  max-width: 50vw;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .ellipsisHiddenSubscriptionName {
    display: block;
    width: 300px;
    white-space: wrap;
  }
}

.ellipsisHiddenSubscription {
  display: inline-block;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsisFishPrint {
  white-space: pre-wrap;
}

@media only screen and (min-width: 320px) {
  .ellipsisHiddenSubscription {
    max-width: 50px;
  }
}

@media only screen and (min-width: 425px) {
  .ellipsisHiddenSubscription {
    max-width: 150px;
  }
}

@media only screen and (min-width: 768px) {
  .ellipsisHiddenSubscription {
    max-width: 200px;
  }
}

@media only screen and (min-width: 1024px) {
  .ellipsisHiddenSubscription {
    max-width: 350px;
  }
}

@media only screen and (min-width: 1440px) {
  .ellipsisHiddenSubscription {
    max-width: 600px;
  }
}

.overflowChiefComplaintScroll {
  overflow: auto;
  height: 250px;
}

.h-350px {
  height: 350px !important;
}

.taminBlur {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #ffffff85;
  z-index: 2;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-0-px {
  top: 0;
}

.taminBlurText {
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  border: 3px solid #f1f1f1;
  position: absolute;
  top: 50%;
  border-radius: 15px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 80%;
  padding: 20px;
  text-align: center;
}

.fa-1_5x {
  font-size: 1.5em;
}

.calendarHoliday {
  position: absolute;
  top: 18px;
  border-radius: 4px;
  font-size: 10px;
  left: 0;
  color: white;
  background-color: red;
  padding: 0 10px;
  transform: rotate(310deg);
}

.modal-header .close {
  margin: -1rem 1rem -1rem -1rem;
}

.pre_wrap-white_space {
  white-space: pre-wrap;
}

.border {
  border-radius: 0.5rem !important;
}

.btn-brand-04 {
  background-color: #4e1096;
  color: #fff;
}

.btn-brand-04:hover {
  background-color: #5e16b1;
  color: #fff;
}

#public_banner {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  width: 75%;
}

#public_banner > i {
  position: absolute;
  left: 5px;
  top: 5px;
}

@media only screen and (min-width: 425px) {
  #public_banner {
    width: 45%;
  }
}

@media only screen and (min-width: 1024px) {
  #public_banner {
    width: 35%;
  }
}

@media only screen and (min-width: 1440px) {
  #public_banner {
    width: 25%;
  }
}

.theiaStickySidebar {
  position: sticky;
  top: 10px;
}

.mainHeader {
  /* min-height: 600px; */
}

@media only screen and (max-width: 991px) {
  .light_header li a,
  .light_header a {
    color: #fff !important;
  }

  /* .mainHeader {
    min-height: 450px;
  } */
}

@media only screen and (min-width: 992px) {
  .light_header:not(.affix) li a,
  .light_header:not(.affix) a {
    color: #000 !important;
  }
}

.extraImage {
  width: 115px;
  height: 115px;
  border-radius: 5px;
}

.fishPrintItem {
  font-size: 3.4em;
}

.fishPrintBorder {
  border: 5px solid #000000;
}

.fishPrintbreak {
  border-width: 8px;
  border-color: #000000;
}

/*? End Default Style */

/*? Start Document Style */
.ellipsisHiddenDocument {
  display: inline-block;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.overflowDocumentHidden {
  max-height: "600px";
  overflow-y: "scroll";
}

.documentCardHeader {
  letter-spacing: 1.5px;
}

.documentCard {
  margin: 1rem;
  margin-bottom: 2rem;
  border-radius: 20px;
  border: 1px solid rgb(158, 158, 158);
}

.document_avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  padding: 7px;
  border: 2px dashed var(--purple);
}

.document_profile_item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #d2d2d2;
  margin: 0.5rem auto;
  padding-bottom: 0.3rem;
}

/*? End Document Style */

/*? Start Custom Scroll Bar */
/** Scroll Bar width */
::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

/** Scroll Bar Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey !important;
  border-radius: 10px !important;
}

/** Scroll Bar Handle */
::-webkit-scrollbar-thumb {
  background: #a09f9f !important;
  border-radius: 10px !important;
}

/** Scroll Bar Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #cecece !important;
}

/*? End Custom Scroll Bar */

/*? Start Home Public Style */
.secondWorkProcess {
  margin-top: 28.2rem;
}

@media only screen and (max-width: 991px) {
  .secondWorkProcess {
    margin-top: 4rem;
  }
}

/*? End Home Public Style */

/*? Start Dashboard Style */
.dashboardSmallBox {
  border-radius: 0.25rem;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
  position: relative;
  display: block;
  background: url("./../images/customBackground.jpg");
  margin-bottom: 20px;
  transition: all 0.5s;
}

.dashboardSmallBox:hover {
  transform: scale(0.94);
  transition: all 0.5s;
}

.dashboardSmallBoxInner {
  padding: 10px;
  color: #4a3282;
}

.dashboardInnerHeaderText {
  font-size: 1.2rem;
  font-weight: bold;
}

.dashboardSmallBoxIcon {
  transition: all 0.3s linear;
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 0;
  font-size: 70px;
  color: #5a739c;
}

.dashboardSmallBoxFooter {
  position: relative;
  text-align: center;
  padding: 3px 0;
  color: #4a3282;
  display: block;
  z-index: 10;
  background: rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.dashboardSmallBoxFooter:hover {
  background: rgba(0, 0, 0, 0.15);
}

/*? End Dashboard Style */

/*? Start Newsletter Style */
.bgNewsletter {
  background-color: #e9ecef;
}

.newsletterForm .inputNewsletter,
.newsletterForm-2 .inputNewsletter {
  height: 50px;
  display: block;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  padding-top: 0;
  padding-left: 0;
  padding-bottom: 0;
  padding-right: 25px;
}

.newsletterForm button {
  position: static;

  bottom: 4px;
  height: 42px;
  border: none;
  border-radius: 5px;
  background-color: white;
  display: inline-block;
  color: #000;
  padding-right: 20px;
  padding-left: 20px;
  transition: all 0.3s;
}

.newsletterForm .button-container {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .newsletterForm .button-container {
    position: absolute;
    left: 4px;
    top: 4px;
    bottom: 4px;
    margin-top: 0px;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0px 10px;
    flex-direction: row-reverse;
    width: auto;
  }
  .newsletterForm button {
    background-color: #e9ecef;
  }
}

.newsletterForm-2 .button-container {
  position: absolute;
  left: 4px;
  top: 4px;
  bottom: 4px;
  height: auto;
  border: none;
  border-radius: 5px;
  background-color: #e9ecef;
  display: inline-block;
  color: #000;
  /* padding-right: 20px;
  padding-left: 20px; */
  transition: all 0.3s;
}

.newsletterForm button:hover,
.newsletterForm-2 button:hover {
  background-color: #cfd2d4;
  color: #000;
  transition: all 0.3s;
}

.newsletterForm button:focus,
.newsletterForm-2 button:focus {
  outline: none;
}
/* 
.newsletterFormSecondButton {
  margin-left: 4rem;
} */

.newsletterFormSecondButton:hover {
  color: #fff !important;
}

/*? End Newsletter Style */

/*? Start User Avatar Style */
.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: auto;
}

.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}

.avatar-upload .avatar-edit input {
  display: none;
}

.avatar-upload .avatar-edit input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.avatar-upload .avatar-delete {
  position: absolute;
  right: 148px;
  z-index: 1;
  top: 12px;
}

.avatar-upload .avatar-delete input {
  display: none;
}

.avatar-upload .avatar-delete input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ca0202;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-delete input + label:hover {
  background: #f80202;
}

.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/*? End User Avatar Style */

/*? Start Inquiry Modal Style */
.inquiryModalHeader {
  border-bottom: 2px solid;
  padding-bottom: 5px;
  text-align: center;
}

.inquiryModalText {
  color: #0059ffc4;
  margin-right: 5px;
}

.small_text {
  font-size: 12px;
}

@media (min-width: 768px) {
  .small_text {
    font-size: 16px;
  }
}

.inquiryModalRadio {
  width: 20px;
  height: 20px;
  margin-right: 30px;
}

.inquiry_btn {
  background-color: var(--purple) !important;
  color: #ffffff !important;
  transition: all 0.5s;
}

.inquiry_btn:hover {
  background-color: var(--purpleHover) !important;
}

/*? End Inquiry Modal Style */

/*? Start Prescription Style */
.searchServicesCard {
  cursor: pointer;
  font-size: 1em;
  transition: all 0.5s;
}

.searchListPrescription {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-height: 24rem;
  overflow-y: auto;
}

/*? End Prescription Style */

/*? Start Sketch Pad Style */
#sketchpad {
  border: 0.2rem solid rgb(206, 206, 206);
  border-radius: 0.5rem;
  /* cursor: crosshair; */
  cursor: url("/assets/images/cur.png"), auto;
  display: block;
  resize: vertical;
  height: 600px;
  overflow-x: hidden;
  overflow-y: auto;
}

/*? End Sketch Pad Style */

/*? Start Arenap Header Style */
.private_header {
  background-color: var(--purple);
  padding: 0.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.insurance_header_logo {
  background-color: #ffffff;
  border: none;
  padding: 0.2rem;
  border-radius: 50%;
  text-align: center;
  margin: 0 0.3rem;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
}

/*? End Arenap Header Style */

/*? Start Rotate Image Style */
.react-viewer-image-transition {
  position: absolute;
  left: 0px;
}

.react-viewer-close > i {
  position: relative;
  top: 5px !important;
  right: 10px !important;
}

.rotate2 {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
}

.rotate3 {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
}

.rotate4 {
  transform: rotate(270deg);
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
}

/*? End Rotate Image Style */

/*? Start Toggle Button Style */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/** Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/*? End Toggle Button Style */

/*? Start Ticket Style */
.messageTicket {
  width: 85%;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  clear: both;
}

.userMessageTicket {
  background-color: #edf3f9;
  float: right;
}

.adminMessageTicket {
  background-color: #fafad2;
  float: left;
}

@media screen and (min-width: 600px) {
  .messageTicket {
    width: 70%;
  }
}

@media screen and (min-width: 1000px) {
  .messageTicket {
    width: 50%;
  }
}

/*? End Ticket Style */

/*? Start Card Style */
.arenap_card {
  border: 1px solid #fefefe;
  border-radius: 0.5rem;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  padding: 1.2rem;
  background-color: #ffffff;
}

.arenap_card_light {
  background-color: #f3eff5;
}

.physician_item_btn {
  border: none;
  border-radius: 2rem;
  color: #ffffff;
  padding: 0.2rem 2rem;
  margin-top: 1rem;
  background-color: var(--purple);
  transition: all 0.5s;
  float: left;
}

.physician_item_btn:hover {
  box-shadow: 3px 1px 10px 6px rgba(228, 228, 228, 0.5);
}

.appointmnet_max_height {
  height: 25rem;
  overflow-y: auto;
}

table th:last-child {
  border-radius: 0.7rem 0 0 0.7rem !important;
}

table th,
tbody tr:first-child td,
.card-header,
.card-footer {
  border: none !important;
}

table th:first-child {
  border-radius: 0 0.7rem 0.7rem 0 !important;
}

thead {
  font-weight: bold;
}

/*? Start Custom Table */
table.custom_table {
  border-collapse: separate;
  border-spacing: 0 7px;
}

table.custom_table td {
  background: #f8f8f8;
}

table.custom_table td:first-child {
  border-top-right-radius: 0.4rem;
}

table.custom_table td:last-child {
  border-top-left-radius: 0.4rem;
}

table.custom_table td:first-child {
  border-bottom-right-radius: 0.4rem;
}

table.custom_table td:last-child {
  border-bottom-left-radius: 0.4rem;
}

/*? End Custom Table */

.card_rounded {
  border-radius: 0.7rem !important;
}

/*? End Card Style */

/*? Start Arenap Button */
.arenap_btn {
  border: none;
  background-color: #fdfdfd;
  box-shadow: 3px 1px 10px 6px rgba(228, 228, 228, 0.5);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.btn {
  border-radius: 0.4rem;
}

.btn-purple {
  color: #fff;
  background-color: var(--purple);
  border-color: var(--purple);
}

.btn-purple:hover {
  color: #fff;
  box-shadow: 3px 1px 10px 6px rgba(228, 228, 228, 0.5);
}

.btn-purple:focus {
  color: #fff;
  background-color: var(--purple);
  border-color: var(--purple);
}

.btnRounded {
  border-radius: 50px;
  font-weight: bold;
  font-size: 1em;
}

.btn_lower_purple {
  color: #fff;
  background-color: var(--lowerPurple);
  border-color: var(--lowerPurple);
}

.btn_dark_blue:hover,
.btn_lower_purple:hover,
.btn_dark_green:hover {
  color: #fff;
}

.btn_dark_blue {
  color: #fff;
  background-color: var(--darkBlue);
  border-color: var(--darkBlue);
}

.btn_dark_green {
  color: #fff;
  background-color: var(--darkGreen);
  border-color: var(--darkGreen);
}

.btn_light_gray {
  color: #000;
  background-color: var(--lightGrey);
  border-color: var(--lightGrey);
}

/*? End Arenap Button */

/*? Start Arenap Color */
.text_purple {
  color: var(--purple);
}

.text_lower_purple {
  color: var(--lowerPurple);
}

.text_dark_blue {
  color: var(--darkBlue);
}

.text_dark_green {
  color: var(--darkGreen);
}

.text_light_gray {
  color: var(--lightGrey);
}

/*? End Arenap Color */

.pulsate {
  -webkit-animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite;
  opacity: 0.5;
}

@-webkit-keyframes pulsate {
  0% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.5;
  }
}

/* --------------------------------------------------- */

.avatar-xs {
  height: 2rem;
  width: 2rem;
}

.avatar-sm {
  height: 2.5rem;
  width: 2.5rem;
}

.avatar-md {
  height: 4.5rem;
  width: 4.5rem;
}

.avatar-lg {
  height: 6rem;
  width: 6rem;
}

.avatar-xl {
  height: 7.5rem;
  width: 7.5rem;
}

.avatar-title {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #3b5de7;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-weight: 500;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
}

/*? Start Step Progress Bar */
.StepProgressBar_step::before {
  right: unset !important;
  left: 50% !important;
}

/*? End Step Progress Bar */

/*? Start Tabs */
.underline_tabs {
  background-color: transparent;
  border-bottom: 1px solid #a5a4a4;
}

.underline_tabs a {
  color: #000;
  border-bottom: 1px solid #000;
  background-color: transparent;
  font-weight: bold;
}

.underline_tabs a.active,
.underline_tabs a:hover {
  color: #6921bd !important;
  border: none !important;
  border-bottom: 2px solid #6921bd !important;
  background-color: transparent !important;
}

.arenap_tabs {
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.arenap_tabs a {
  color: #000;
  margin: 0.2rem;
  font-weight: bold;
}

.arenap_tabs a.active,
.arenap_tabs a:hover {
  border-radius: 0.5rem;
}

.arenap_tabs a.active {
  color: #fff !important;
  background-color: #6921bd !important;
}

/* ظاهر کلی تب‌ها */

.arenap_tabs_new .nav-item {
  margin: 0 0px;
}

/* تب غیرفعال */
.arenap_tabs_new .nav-link {
  background-color: transparent;
  color: rgb(105, 88, 137); /* بنفش روشن */
  border: none;
  border-radius: 20px;
  padding: 12px 20px;
  transition: all 0.3s ease;
  font-weight: 800;
}

/* هاور روی تب */
.arenap_tabs_new .nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* تب فعال */
.arenap_tabs_new .nav-link.active {
  background: linear-gradient(-75deg, #4f1bc5, #7b17c5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  color: #fff !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  font-weight: 700;
}

/* افکت انتخاب تب */
.arenap_tabs_new .nav-link.active::after {
  content: "";
  display: block;
  margin: 5px auto 0;
  width: 40px;
  height: 3px;
  background-color: #fff;
  border-radius: 10px;
}

/* در حالت موبایل یا کوچک شدن عرض، چینش عمودی یا ریسپانسیو */
@media (max-width: 576px) {
  .arenap_tabs_new .nav-tabs {
    flex-direction: column;
  }
}

.tab_scroll {
  width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
}

.tab_scroll > a {
  white-space: nowrap;
}

/*? End Tabs */

/*? Start Step Progress Bar */
.step-progress {
  border: 1px solid #fefefe;
  border-radius: 0.5rem;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  padding: 1rem 6rem;
  background-color: #ffffff;
  margin-bottom: 1rem;
}

#step-progress {
  position: relative;
  margin-bottom: 30px;
}

#step-progress-bar {
  position: absolute;
  background: lightseagreen;
  height: 5px;
  width: 0%;
  top: 50%;
  right: 0;
  z-index: 1;
}

#step-progress-num {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

#step-progress-num::before {
  content: "";
  background-color: lightgray;
  position: absolute;
  top: 50%;
  left: 0;
  height: 5px;
  width: 100%;
}

#step-progress-num .step {
  border: 3px solid lightgray;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  font-size: 20px;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

#step-progress-num .step > div {
  color: lightseagreen;
  position: absolute;
  top: 80%;
  font-weight: bold;
  left: 50%;
  transform: translateX(-50%);
  min-width: 150px;
  font-size: 0.7em;
}

#step-progress-num .step.active {
  border-color: lightseagreen;
  background-color: lightseagreen;
  color: #fff;
}

@media screen and (max-width: 690px) {
  #step-progress-num .step > div {
    font-size: 0.5em;
  }

  .step-progress {
    padding: 1rem 3rem;
  }
}

@media screen and (max-width: 475px) {
  #step-progress-num .step > div {
    font-size: 0.4em;
  }

  .step-progress {
    padding: 1rem 1.2rem;
  }
}

/*? End Step Progress Bar */

.boxShadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 10px;
}

/*? Start Price */
.price_card {
  border: 2px solid #6921bd;
  border-top: 6px solid #6921bd;
  border-radius: 10px;
  position: relative;
  background-color: #fff;
}

.price_button {
  position: absolute;
  bottom: -23px;
  right: 50%;
  font-size: 20px;
  text-align: center;
  background: #6921bd;
  border: 1px solid #6921bd;
  border-radius: 10px;
  padding: 0.2rem 3rem;
  color: #fff;
  transform: translateX(50%);
  transition: 0.5s all;
}

.price_button:hover {
  background: #fff;
  color: #6921bd;
  transition: 0.5s all;
}

.price_card > h1,
.price_card > h2,
.price_card > h3,
.price_card > h4,
.price_card > h5,
.price_card > h6 {
  position: absolute;
  top: -25px;
  right: 50%;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background: #ffffff;
  box-shadow: 0px 4px 8px #6921bd;
  border-radius: 10px;
  padding: 0.3rem 1rem;
  transform: translateX(50%);
}

/*? End Price */

/*? Start Speech to Text */
.microphone-icon-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-image: linear-gradient(128deg, #ffffff, #647c88);
  padding: 8px;
  margin-left: 12px;
  position: relative;
  text-align: center;
  cursor: pointer;
}

.microphone-icon-container.listening::before {
  content: "";
  width: 80px;
  height: 80px;
  background-color: #00000081;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.4);
  border-radius: 50%;
  animation: listening infinite 1.5s;
}

@keyframes listening {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

.microphone_btn_search_clause {
  position: absolute;
  top: 12px;
  right: -8px;
}

/*? End Speech to Text */

/*? Start Auth */
.auth_container {
  background-color: #fff;
  z-index: 20 !important;
  border-radius: 20px;
  height: 100%;
}
.auth_container_new {
  background-color: #f3e8ff !important;
  z-index: 20 !important;
  border-radius: 20px;
  height: 100%;
}

.auth_container input,
.auth_container img {
  border-radius: 0.5rem !important;
  margin-left: 5px;
}

.auth_container label {
  font-weight: bold !important;
}

.auth_container_info {
  background-color: #6921bd;
  border-radius: 20px;
  text-align: center;
  min-height: 580px;
}

.auth_container_info2 {
  background: linear-gradient(
    135deg,
    rgba(204, 153, 255, 0.8),
    rgba(221, 204, 255, 0.4)
  );
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  max-height: 80vh !important; /* حداکثر ارتفاع یکسان با auth_container_new */
  min-height: 580px !important; /* حداقل ارتفاع یکسان با auth_container_new */
  overflow-y: auto; /* اسکرول عمودی در صورت زیاد شدن محتوا */
  padding: 30px 20px;
  transition: all 0.3s ease;
}
/* استایل اسکرول‌بار برای هماهنگی با طراحی */
.auth_container_info2::-webkit-scrollbar {
  width: 8px;
}

.auth_container_info2::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.auth_container_info2::-webkit-scrollbar-thumb {
  background: #7b6ba5; /* رنگ بنفش ملایم هماهنگ با تم */
  border-radius: 10px;
}

.auth_container_info2::-webkit-scrollbar-thumb:hover {
  background: #5e2bd1; /* رنگ کمی تیره‌تر برای حالت هاور */
}

/* حفظ استایل‌های قبلی */
.auth_container_info2 h5,
.auth_container_info2 .form-label,
.auth_container_info2 .fw-medium {
  color: #4a4a4a; /* خاکستری تیره ملایم */
}

.auth_container_info2 .text-muted,
.auth_container_info2 .ti-user,
.auth_container_info2 .ti-lock,
.auth_container_info2 .ti-mobile,
.auth_container_info2 .ti-home,
.auth_container_info2 .ti-image {
  color: rgb(122, 122, 122) !important; /* خاکستری روشن‌تر */
}

.auth_container_info2 .invalid-feedback {
  color: #ff6f91; /* صورتی پاستیلی برای خطاها */
}

.auth_container_info2 .btn-primary {
  background: linear-gradient(165deg, #4f1bc5, #7b17c5);
  border-color: #4f1bc5;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.auth_container_info2 .btn-primary:hover {
  background: linear-gradient(165deg, #5e2bd1, #8b3ddb);
  border-color: #5e2bd1;
}

.auth_container_info2 .text-primary,
.auth_container_info2 a {
  color: rgb(119, 81, 160) !important; /* بنفش ملایم برای لینک‌ها */
}

.auth_container_info2 .text-white {
  color: #4a4a4a !important; /* تغییر متن سفید به خاکستری تیره برای خوانایی */
}

.auth_container_info2 .input-icon.bg-light {
  background-color: #f3e8ff !important; /* بنفش خیلی روشن برای هماهنگی */
}

.auth_container_info2 .badge.bg-purple {
  background-color: #d1c4e9 !important; /* بنفش خیلی روشن پاستیلی */
  color: #4a4a4a !important;
}

.btn-purple {
  background: linear-gradient(165deg, #4f1bc5, #7b17c5);
  border-color: #4f1bc5;
  transition: background 0.3s ease, border-color 0.3s ease;
  width: 100%;
}

.auth_container_info .btn {
  border-radius: 10px !important;
}

.auth_container_info p {
  font-size: 1.2rem;
}

/*? End Auth */

/*? Start Code Input */
.code-input {
  direction: ltr;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.code-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
}

.code-inputs input {
  border: none;
  background-color: #d9d9d9;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  text-align: center;
  height: 68px;
  width: 55px;
  border-radius: 10px;
  margin: 0 4px;
  font-size: 38px;
}

.code-inputs input:focus {
  outline: none;
}

/*? End Code Input */

/*? Start Count Down */
.countdown_style div:first-child {
  margin-left: 0;
}

.countdown_style div span {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  padding-top: 3px;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 768px) {
  .countdown_style div {
    margin-bottom: 10px;
  }
}

@media (max-width: 551px) {
  .countdown_style div {
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: normal;
    text-align: center;
    width: 80px;
    border-radius: 80px;
    height: 80px;
  }

  .countdown_style div span {
    font-size: 0.5em;
  }

  .countdown_style {
    margin-bottom: 30px;
  }
}

/*? End Count Down */

/*? Start Under Contruction */
#under_container {
  color: #fff;
  /* font-family: "Open Sans", sans-serif; */
  font-family: "iransans";
  height: 100vh;
  /* Center and scale the image nicely */
  margin: 0;
  padding: 0;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-image: url("/assets/images/under-bg-image.png");
  overflow-x: hidden;
}

#under_home_container {
  background-color: rgba(70, 70, 70, 0.745);
  border-radius: 1rem;
  padding: 2rem;
  margin: 1rem;
}

#under_Header {
  position: relative;
  line-height: 110px;
  z-index: 1;
  text-align: center;
}

.under_tempBy {
  display: block;
  text-align: center;
  margin-top: 40px;
}

#under_Content h2 {
  padding: 0px;
  margin: 4rem 0 2rem 0;
  text-align: center;
  font-size: 28px;
  color: #fff;
}

#under_WindowSlide {
  margin: 0 auto;
  position: relative;
  width: 634px;
  height: 170px;
  display: block;
  overflow: hidden;
}

#under_Content h3 {
  text-align: center;
  font-size: 20px;
  font-weight: normal;
  display: block;
  clear: both;
}

#under_subscribe p {
  text-align: center;
}

.under_callback,
.under_simple {
  font-size: 20px;
  background: #27ae60;
  padding: 0.5em 0.7em;
  color: #ecf0f1;
  margin-bottom: 50px;
  -webkit-transition: background 0.5s ease-out;
  transition: background 0.5s ease-out;
}

.under_callback {
  cursor: pointer;
}

.under_ended {
  background: #c0392b;
}

.under_countdown {
  text-align: center;
}

.under_styled {
  margin-top: 30px;
  margin-bottom: 30px;
}

.under_styled div {
  display: inline-block;
  font-size: 3.5em;
  font-weight: 900;
  text-align: center;
  margin: 0 1px;
  width: 136px;
  height: 100px;
  background: rgba(255, 255, 255, 0);
  text-shadow: none;
  vertical-align: middle;
  border-left: 1px solid rgba(255, 255, 255, 0.36);
  text-shadow: 2px 2px rgba(12, 11, 11, 0.56);
}

.under_styled div:last-child {
  border: none;
}

#under_overlay {
  background: rgba(0, 0, 0, 0.14);
  position: fixed;
  top: 0px;
  width: 100%;
  bottom: 0px;
  opacity: 0.8;
}

/* IE7 inline-block hack */
* + html .styled div {
  display: inline;
  zoom: 1;
}

.under_styled div:first-child {
  margin-left: 0;
}

.under_styled div span {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  padding-top: 3px;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
}

@media (max-width: 768px) {
  .under_wrapper {
    width: 100%;
  }

  .under_styled div {
    margin-bottom: 10px;
  }
}

@media (max-width: 420px) {
  .under_styled div {
    margin-bottom: 10px;
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    width: 80px;
    border-radius: 80px;
    height: 80px;
  }

  #under_Content h2 {
    margin: 0px 0px 0px 0px;
    padding: 0px;
    text-align: center;
    font-size: 29px;
    font-weight: 300;
  }

  .under_styled {
    margin-bottom: 30px;
  }

  #under_subscribe input[type="button"] {
    margin-top: 10px;
  }

  #under_subscribe input {
    width: 80%;
  }
}

/*? End Under Contruction */

/* Start Nobat Style */
/*? Start Search Style */
.search_input {
  border: 1px solid #bdbdbd;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0.8rem;
  background-color: #ffffff;
}

.custom_select,
.custom_select > select,
.custom_select > select:focus {
  background-color: #e7e7e7;
  border-radius: 5px;
  border: none;
  appearance: none;
  font-weight: 500;
}

/*? End Search Style */

.scheduleScroll {
  width: "100%" !important;
  overflow-x: auto !important;
  padding-bottom: 5px;
}

.text_decoration_line {
  text-decoration: line-through;
  opacity: 0.3;
}

.timing {
  background-color: #e9e9e9;
  border: 1px solid #e9e9e9;
  border-radius: 3px;
  color: #757575;
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 5px 5px;
  text-align: center;
  position: relative;
}

.timing:hover {
  background-color: #fff;
}

.timing:last-child {
  margin-bottom: 0;
}

.timing.selected {
  background-color: #42c0fb;
  border: 1px solid #42c0fb;
  color: #fff;
}

.timing.selected::before {
  color: #fff;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-size: 12px;
  font-weight: 900;
  position: absolute;
  right: 6px;
  top: 6px;
}

/* End Nobat Style */

/* .calendar-active {
  border-bottom: solid;
  border-bottom-width: 2;
  border-color: #6921bd;
  color: #6921bd;
} */

.line {
  position: absolute;
  width: calc(25% - 15px);
  height: 3px;
  background-color: #6921bd;
  transition: transform 0.4s ease-in-out;
  right: -4px;
}

@media (min-width: 768px) {
  .line {
    width: calc(16.66667% - 15px);
    right: -5px;
  }
}

/**************/
/* Home Page */
.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hidden-scroll::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.hidden-scroll {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.white-box {
  border-radius: 10px;
  background-color: #ffffff;
  border: 2px solid #efefef;
}

.physicians-specialties-slider .swiper-slide {
  width: auto;
}

.physicians-specialties-slider .swiper-slide button:focus {
  outline: none;
}

.physicians-slider .swiper-slide {
  height: auto;
}

.physicians-slider .slick-slide {
  margin: 0 10px;
}

.physicians-slider .slick-track {
  display: flex !important;
}

.physicians-slider .slick-slide {
  height: inherit !important;
}

.slide {
  height: 100% !important;
}

.physicians-slider .slick-slide > div {
  height: 100%;
}

.mb-6 {
  margin-bottom: 4rem !important;
}

.mt-7 {
  margin-top: 4.25rem !important;
}

.slick-prev:before,
.slick-next:before {
  color: #000 !important;
}

.arenap_card_2 {
  border-radius: 10px;
  padding: 1.2rem;
  background-color: #ffffff;
  border: 2px solid #efefef;
}

a.text-blue:hover,
a.text-blue:active {
  color: #5e73ff;
}

.text-blue {
  color: #4150b6;
}

.physicians-specialties-slider .slick-slide {
  margin: 0 2px;
}

.fw-300 {
  font-weight: 300;
}

.fs-12px {
  font-size: 12px;
}

.fs-13px {
  font-size: 13px;
}

.fs-14px {
  font-size: 14px;
}

.fs-15px {
  font-size: 15px;
}

.fs-16px {
  font-size: 16px;
}

.fs-19px {
  font-size: 19px;
}

.fs-20px {
  font-size: 20px;
}

.fs-22px {
  font-size: 22px;
}

.fs-24px {
  font-size: 24px;
}

.fw-bold {
  font-weight: bold;
}

@media screen and (min-width: 576px) {
  .fs-sm-20px {
    font-size: 20px;
  }
}

@media screen and (min-width: 768px) {
  .fw-md-regular {
    font-weight: 500;
  }

  .fs-md-13px {
    font-size: 13px;
  }
}

@media screen and (min-width: 992px) {
  .fw-lg-bold {
    font-weight: bold;
  }

  .fs-lg-15px {
    font-size: 15px;
  }
}

.text-black,
.text-black a {
  color: #000 !important;
}

.bg-blue a {
  background-color: #4150b6;
}

.bg-blue a:hover,
.bg-blue a:focus {
  background-color: #5e73ff;
  border-color: #5e73ff;
}

.h_iframe-aparat_embed_frame {
  position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  height: auto;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1500px) {
  .container-plus {
    max-width: 1500px;
  }
}

.bg-header {
  background-color: #ffffff;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
}

.list-style-disc {
  list-style-type: disc;
}

.max-height-30vh {
  max-height: 30vh !important;
}

.overflow-y-auto {
  overflow-y: auto;
}

.bg-tag {
  background-color: #ededed;
}

.text-lightgray {
  color: #aaa;
}

.rounded-pill-hard {
  border-radius: 50px;
}

@media screen and (min-width: 576px) {
  .vertical-style a.nav-link {
    color: #000;
  }

  .vertical-style a.nav-link.active {
    background-color: #fff !important;
    color: #6730e3 !important;
    border-top: 1px solid #ededed;
    border-right: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    border-left: none;
  }

  .vertical-style a.nav-link {
    border-left: 1px solid #dee2e6;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .max-height-sm-600px {
    max-height: 600px !important;
  }
}

.opacity-07 {
  opacity: 0.7;
}

.w-fit-content {
  width: fit-content;
}

.inquiry-details {
  border-left: 2px solid var(--lightGrey);
}

.handwriting-white-overlay {
  position: absolute;
  width: 100%;
  height: 600px;
  background-color: #f9fafb;
}

@media print {
  .print-overflow-y-hidden {
    overflow-y: hidden;
  }

  html,
  body,
  div,
  span,
  applet,
  object,
  iframe,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  blockquote,
  pre,
  a,
  abbr,
  acronym,
  address,
  big,
  cite,
  code,
  del,
  dfn,
  em,
  font,
  ins,
  kbd,
  q,
  s,
  samp,
  small,
  strike,
  strong,
  sub,
  sup,
  tt,
  var,
  dl,
  dt,
  dd,
  ol,
  ul,
  li,
  fieldset,
  form,
  label,
  legend,
  table,
  caption,
  tbody,
  tfoot,
  thead,
  tr,
  th,
  td {
    font-size: 20pt !important;
  }
}

.followup-info-icon {
  color: var(--gray);
  font-size: 20px;
}

.followup-info-icon.fa-exclamation-triangle {
  margin-right: -4px !important;
  width: 19px;
}

.title-icon {
  border-left: 2px solid var(--lightGrey);
  padding-left: 5px;
  margin-left: 10px;
}

.followup-pplan {
  margin-top: 10px;
  margin-bottom: 20px;
}

.followup-pplan p {
  display: inline-block;
  font-size: 15px;
}

.followup-pplan p.p-title {
  margin-bottom: 5px;
  margin-left: 5px;
  font-weight: bold;
}

.followup-pplan p.p-value {
  color: var(--gray);
}

.rounded-2 {
  border-radius: 0.5rem;
}

.items .items-p {
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 3rem !important;
  margin-right: 3rem !important;
}

.text-ellipsis {
  text-wrap: nowrap;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.ellipsis-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-loading {
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-loading-btn {
  top: calc(50% + 65px);
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  opacity: 0.9;
  z-index: 20000;
}

.green-checkbox {
  transition: all 0.3s ease;
}

.green-checkbox:hover {
  background: #e2f3e6;
}

.peer:checked + .green-checkbox {
  background: #1e7e34;
  color: #fff !important;
}

.gap-1 {
  gap: 4px;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.gap-5 {
  gap: 20px;
}

.gap-x-2 {
  column-gap: 8px;
}

.min-w-80px {
  min-width: 80px;
}

.min-w-150px {
  min-width: 150px;
}

.max-w-400px {
  max-width: 400px;
}

.max-w-600px {
  max-width: 600px;
}

.border-secondary-light {
  border-color: #959ba0;
}

.stroke-gray-300 {
  stroke: rgb(209, 213, 219);
}

.stroke-blue-700 {
  stroke: var(--purple);
}

.h-48px {
  height: 48px;
}

.bottom-0 {
  bottom: 0;
}

@media only screen and (max-width: 991px) {
  .light_header li a.black-text,
  .light_header a.black-text {
    color: #000 !important;
  }
}

.collapse-chevron {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.patient-name-head {
  position: absolute;
  right: 40px;
  transform: translateY(-50%);
  transition: all 0.5s ease;
}

.patient-name-head.opacity-0 {
  color: #000;
  font-weight: bold;
  font-size: 17px;
  top: 100px;
  opacity: 0;
}

.patient-name-head.opacity-100 {
  color: #000;
  font-weight: normal;
  font-size: 13px;
  top: 50%;
  opacity: 1;
}

.patient-name-card {
  transition: all 1s;
}

.patient-name-card.opacity-0 {
  opacity: 0;
}

.patient-name-card.opacity-100 {
  opacity: 100;
}

.patient-name-image {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease;
  display: inline;
}

@media (min-width: 768px) {
  .patient-name-head {
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    transition: all 0.5s ease;
  }
  .patient-name-image {
    position: static;
    display: inline;
    right: 0px;
    top: 0px;
    transform: translateY(0%);
  }
}

.ai-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 94px;
  height: 94px;
  border-radius: 100%;
  background: linear-gradient(180deg, #2261a6 0%, #235fa6 100%);
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.45);
  padding: 0;
  z-index: 1040;
}

.ai-float-btn svg {
  width: 40px;
  height: 40px;
}

.ai-float-btn p {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-wrap: nowrap;
  margin-bottom: 0;
}

.ai-float-btn::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 50%;
  transform: translateX(50%);
  width: 20px;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-top: 17px solid #235fa6;
  border-bottom: 10px solid transparent;
}

.ai-modal-container .modal-content {
  border-radius: 20px;
  background-color: #eff1f0;
}

.ai-modal p.title {
  font-size: 14px;
}

.circle-close {
  position: absolute;
  left: 0;
  top: 0;
  width: 43px;
  height: 43px;
  border-radius: 100%;
  background-color: #e6e9e8;
  color: #5b5f5e;
  font-size: 23px;
}

.sign-tag {
  display: flex;
  font-size: 12px;
  padding: 5px 10px;
  align-items: center;
  background-color: #cfd4ff;
  border-radius: 50rem;
  gap: 15px;
}

.sign-tag i {
  visibility: hidden;
  color: #fff;
}

.sign-tag:hover {
  background-color: #7aadfa;
}

.sign-tag:hover i {
  visibility: visible;
}

.ai-modal {
}

.ai-modal textarea {
  border: none;
  border-radius: 20px;
  padding: 20px;
}

.ai-modal textarea:focus-visible {
  outline: none;
}

.ai-modal-button {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
}

.ai-modal-button button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 7px 15px;
  border-radius: 50rem;
  background-color: #235fa6;
}

.ai-modal-button button:hover {
  color: #fff;
}

.ai-modal-button button svg {
  width: 30px;
  height: 30px;
}

.pill-input {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.pill-input input {
  border-radius: 50rem;
  background-color: #fff;
  padding: 10px 10px;
  padding-left: 40px;
  border: none;
  width: 100%;
}

.pill-input input:focus-visible {
  outline: none;
}

.pill-input button.action {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.pill-input-select-menu {
  position: absolute;
  width: 100%;
  top: 50px;
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  border-radius: 7px;
  overflow: hidden;
  transition: all 0.3s ease;
  transition-delay: 0.2s;
}

.pill-input-select-menu button {
  position: relative;
  padding: 5px 10px;
  border-radius: 0;
  background-color: #fff;
  color: #000;
  transition: all 0.3s ease;
}

.pill-input-select-menu button i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.pill-input-select-menu button.selected {
  background-color: #bbb;
  color: #fff;
}

.pill-input-select-menu button:hover {
  background-color: #fafafa;
}

.pill-input-select-menu button:first-child {
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
}

.pill-input-select-menu button:last-child {
  border-bottom-right-radius: 7px;
  border-bottom-left-radius: 7px;
}

.pill-input-select-menu button:not(:last-child) {
  border-bottom: 1px solid #ddd;
}

.max-w-150px {
  max-width: 150px;
}

.max-w-300px {
  max-width: 300px;
}

.message-box {
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-width: 70%;
  width: fit-content;
  margin: 5px 0;
}

.my-message-box {
  position: relative;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 20px;
  background-color: var(--darkBlue);
  color: #fff;
  transition: all 0.3s;
}

.my-message-box:hover {
  background-color: #90a2dd;
}

.my-message-box-3dots {
  cursor: pointer;
}

.my-message-box-container .my-message-box-3dots {
  visibility: hidden;
}

.my-message-box-container:hover .my-message-box-3dots {
  visibility: visible;
  display: block;
}

.my-message-box-3dots p {
  margin-bottom: 0;
}

.your-message-box {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 20px;
  background-color: var(--lightGrey);
}

.delete-message-box {
  position: absolute;
  right: 100px;
  top: 0;
  text-wrap: nowrap;
  z-index: 50;
}

.message-input-box {
  display: flex;
  /* justify-content: space-between; */
  align-items: end;
  gap: 4px;
  background: #fff;
  flex: 1 1 0%;
  border-radius: 4px;
}

.min-h-100px {
  min-height: 100px;
}

.attachment-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 3rem;
  border-left: 2px solid var(--lightGrey);
}

.message-input {
  border-color: var(--lightGrey);
  border-radius: 4px;
  max-height: 6.25rem;
  width: 100%;
  height: 100%;
  font-size: 14px;
  padding: 5px 4px;
  outline: none;
}

.send-message-btn {
  border-radius: 4px;
  width: fit-content;
  font-weight: bold;
  height: fit-content;
}

.chat-box::-webkit-scrollbar-thumb:hover {
  background-color: var(--purple);
}

.btn-disabled-style {
  background-color: #ddd;
  color: #aaa;
}

.chat-user-info {
  display: flex;
  justify-content: space-between;
  padding: 1px 4px;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  background-color: var(--purple);
  border-radius: 50rem;
  position: sticky;
  top: 0;
  z-index: 10;
  border: 1px solid #c6c6c6;
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.2);
  color: var(--lightGrey);
}

.chat-user-info-p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
  padding: 5px 15px;
  font-size: 14px;
}

.show-files-box {
  /* position: absolute; */
  /* bottom: 100%; */
  /* left: 0; */
  width: 100%;
  padding: 8px;
  margin-bottom: 8px;
  overflow-x: auto;
  overflow-y: auto;
  background: #00000010;
  border-radius: 10px;
}

.file-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.uploaded-file {
  background: var(--purple);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.uploaded-file-link {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  width: 14%;
  height: 14%;
  border: 1px solid #00000011;
  border-radius: 5px;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
  padding: 5px;
}

.w-min-content {
  width: min-content;
}

.btn-consultation-tools {
  display: flex;
  align-items: center;
  width: auto;
}

.btn-consultation-tools p {
  font-size: 14px;
}

.full-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.cursor-pointer {
  cursor: pointer;
}

.gap-x-1 {
  column-gap: 4px;
}

.gap-y-1 {
  row-gap: 4px;
}

.gap-y-2 {
  row-gap: 8px;
}
.equals-height {
  min-height: 100px;
  overflow: auto;
}
.equal-height {
  min-height: 500px;
}
textarea.equal-height,
.followup-pplan {
  min-height: 500px;
  overflow: auto;
}
.single-row-textarea {
  overflow: auto;
}

.btn-outline-light-2 {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light-2:hover {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.border-l-0 {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.border-r-0 {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.switch-status {
  width: fit-content;
  border-radius: 0.6rem;
  border: 2px solid;
}

.danger-status {
  border-color: #dc3545;
}

.success-status {
  border-color: #28a745;
}

.pointer-events-none {
  pointer-events: none;
}

.thin-form-control {
  height: auto;
  padding: 7px 2px;
}

.alert-orange {
  color: #bd4f00;
  background-color: #ffcdb5;
  border-color: #ffe1ba;
}

.z-2 {
  z-index: 2;
}

.size-40px {
  width: 40px;
  height: 40px;
}

.w-40px {
  width: 40px;
}

.letter-spacing-3px {
  letter-spacing: 3px;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::marker {
  content: "";
  display: none;
}

details[open] summary .icon_detail {
  transform: rotate(180deg);
}

.table-borderless td {
  border: 0 !important;
}
.table-topborderless td {
  border-top: 0 !important;
}

.styleCard {
  background: linear-gradient(135deg, #f8f6ff 0%, #f3eaff 100%);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px 0 rgba(105, 33, 189, 0.08);
  position: relative;
  overflow: hidden;
}

.iconCard {
  background: #6921bd;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(105, 33, 189, 0.55);
}

.request-btn {
  margin-top: 16px;
  background-color: #6921bd;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  width: 200px;
  transition: background-color 0.3s ease;
  box-shadow: 0 3px 8px rgba(105, 33, 189, 0.18);
  float: right;
  align-self: flex-end;
  text-align: right;
}

.request-btn:hover {
  background-color: #9300a9;
}

.shake_btn {
  animation: shake 800ms linear 0s 3 both;
}

@keyframes shake {
  0% {
    transform: scale(1.2);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  0% {
    transform: scale(1);
    opacity: 1;
  }
}
.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-button {
  width: auto;
}

.collapse_folder_check {
  display: none;
}

.toggle_folder_collapse {
  display: none;
}

/* موبایل */
@media (max-width: 768px) {
  .toggle_folder_collapse {
    display: block;
  }
  .collapse_folder_check ~ .tags-container {
    margin-top: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, min-content); /* دو ردیف */
    grid-auto-columns: max-content; /* عرض هر ستون به اندازه محتوا */
    overflow-x: auto;
    gap: 8px;
    max-height: 120px; /* ارتفاع تقریبی برای دو ردیف */
    scroll-snap-type: x mandatory;
  }
  .collapse_folder_check:checked ~ .tags-container {
    margin-top: 10px;
    display: flex;
    max-height: none;
  }
  .collapse_folder_check:checked ~ .toggle_folder_collapse {
    transform: rotate(180deg);
  }

  .tag-item {
    scroll-snap-align: start;
    position: relative;
  }
  .tag-button {
    width: 100%;
  }
}

.modal-full {
  max-width: 1800px;
}
.modal-full .container {
  width: 100% !important;
  margin: 0px 0px;
  max-width: 100%;
}

.insurance_settings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sakhad_card {
  grid-column: span 2 / span 2;
}

@media (max-width: 1200px) {
  .insurance_settings {
    grid-template-columns: repeat(1, 1fr);
  }
  .sakhad_card {
    grid-column: span 1 / span 1;
  }
}

.grid-2-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.grid-3-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-4-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .grid-4-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-4-columns,
  .grid-3-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .grid-4-columns,
  .grid-3-columns,
  .grid-2-columns {
    grid-template-columns: 1fr;
  }
}
