@font-face {
  font-family: Fontastique;
  src: url(../fonts/Fontastique.ttf) format(truetype);
}

.logo-box {
  margin-left: 10px;
}

.logo-box a .logo-sm img {
  margin-left: 15px;
}

.left_header_name {
  font-family: Fontastique;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 4px;
}

.offcanvas {
  z-index: 99999;
  top: 70px;
  --ct-offcanvas-width: 600px;
  --ct-offcanvas-padding-x: 0.7rem;
  --ct-offcanvas-padding-y: 0.9rem;
}

.offcanvas-body {
  overflow-x: hidden !important;
  background-color: #ffffff !important;
  padding: 0.75rem !important;
}

/* .offcanvas-header {
  background-color: #52585f;
}

.offcanvas-header h5 {
  color: #f9f9f9;
  font-size: 20px;
}

.offcanvas-header button {
  color: #f9f9f9 !important;
  font-size: 20px;
  opacity: 1 !important;
} */

.card {
  --ct-card-spacer-y: 0.7rem;
  --ct-card-spacer-x: 0.7rem;
  --ct-card-cap-padding-x: 0.5rem;
  --ct-card-cap-padding-y: 0.5rem;
}

/* Toaster CSS for Overlay */
.jq-toast-wrap {
  z-index: 999999!important;
}

/* .footer {
  padding: 10px 10px !important;
  position: fixed;
} */

.custom-memory {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: end;
}
.filter-item {
  width: 50%;
  /* border: 1px solid #007bff; */
  background-color: #007bff;
  border-radius: 10px;
  margin: 4px;
  margin-top: 0px;
  color: white;
  /* float: left; */
  padding: 10px !important;
  line-break: anywhere;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
}
.bg-info.custom-memory-filter{
  width: 100% !important;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  cursor: pointer;
}
.cutom7{
  width: 10%;
}
.content-page {
  padding: 0 15px 10px 15px !important;
  margin-bottom: 15px !important;
  /* margin-top: 50px !important; */
}

/* Teacher Summary Page MObile Responsive */

/* Left Side Teacher detail start */

ul.info-list {
  list-style-type: none;
  padding: 0;
}
ul.info-list li b {
  position: relative;
  display: inline-block;
  min-width: 144px;
  margin-right: 4px;
  text-align: left;
}
ul.info-list li b:after {
  content: ":";
  position: absolute;
  right: 0;
}

ul.info-list li span {
  position: relative;
  display: inline-block;
  text-align: left;
}

/* Left Side Teacher detail end */

.calling_remarks_tab {
  margin-top: 0px;
}

.ml {
  margin-left: 10px;
}

/* right div timeline css start */

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px !important;
  top: 0 !important;
  width: 2px;
  height: 100%;
  background: #ccc;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 20px 0;
  display: inherit;
  width: 90% !important;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ccc;
  transform: translateY(-50%);
}

.timeline-content {
  padding: 10px;
  background: #f9f9f9;
  border-radius: 5px;
  left: 35px;
  position: relative;
}

.call_record {
  display: flex;
  justify-content: end;
}

/* left div timeline css emnd */

/* Ticket New UI CSS start */

tr td span.btn {
  border: 0 !important;
  padding: 0 !important;
}

/* Ticket New UI CSS end */

.btn-label-right {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #e7f4f5;
  color: black;
  font-weight: bolder;
}

.swal2-container {
  top: 60px !important;
  position: relative;
}

audio {
  width: 250px;
  padding-bottom: 25px;
}

div#queuedChats_1,div#queuedChats_2,div#queuedChats_3{
  overflow: scroll !important;
  /* height: 250px !important; */
}

a.chat-li.active .align-items-start{
  background-color: #eee;
  border-radius:4px;
}

a.phone-list.active .align-items-start {
  background-color: #eee;
  border-radius:4px;
}


/* Campaign Manager CSS Start */

.segment_details {
  box-shadow: inset 0 0 6px 0 #e7e8e9;
  padding: 10px;
}

.segment {
  box-shadow: inset 0 0 6px 0 #e7e8e9;
  padding: 10px;
}

.w-15 {
  width: 15%;
}

.w-15 p {
  margin-bottom: 0 !important;
}

.border-right {
  border-right: 1px dashed #dee2e6;
}

.content-preview-block {
  height: calc(100% - 64px);
}

.card-box {
  border: 1px solid #ced4da;
  border-radius: 10px;
  box-shadow: 0 3px 5px #d6d6d6;
  padding: 10px;
  margin-bottom: 15px;
}

.content-preview-block {
  padding: 10px;
  background-color: #f5f5f5;
  height: 60vh;
  padding: 0px !important;
}

.content-preview-block .chat-head {
  display: flex;
  padding: 10px;
  background: var(--ct-bg-topbar-dark);
  color: #fff;
  border-radius: 4px 4px 0px 0px;
}

.content-preview-block .chat-head .chat-status {
  font-size: 12px;
  color: #f5f5f5;
}

.chat-head img {
  border: 1px #808080 solid;
  border-bottom-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-top-left-radius: 50%;
  width: 50px;
}

.content-preview-block .chat-body {
  height: 100%;
  padding: 10px;
  background-image: url(https://uat.zeapl.com/proton_webpanel/assets/newpanel/images/msg-bg.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 50vh;
  border-radius: 0 0 12px 12px;
  position: relative;
  overflow-y: scroll;
}

.content-preview-block .chat-body:before {
  content: '';
  width: 100%;
  height: 50vh;
  border-radius: 0 0 12px 12px;
  background-color: #989898;
  opacity: .2;
  position: absolute;
  top: 0;
  left: 0;
}

.content-preview-block .chat-body .msg_wrap {
  background-color: #fff;
  max-width: 60%;
  min-width: 30%;
  position: relative;
  margin: 0px 0 2px 0.5em !important;
  padding: 5px 7px;
  clear: both;
  line-height: 1;
  margin-top: 10px;
  border-radius: 0px 7.5px 7.5px 7.5px;
  box-shadow: 0 1px 0.5px rgb(0 0 0 / 15%);
  -webkit-box-shadow: 0 1px 0.5px rgb(0 0 0 / 15%);
  -moz-box-shadow: 0 1px 0.5px rgba(0, 0, 0, .15);
  z-index: 2;
  word-wrap: break-word;
}

.content-preview-block .chat-body .msg_wrap .msg {
  font-size: 14px;
  margin-bottom: 7px;
  line-height: 1.33;
}

.msg {
  white-space: break-spaces;
  font-size: 14px;
  margin-bottom: 7px;
  line-height: 1.33;
  vertical-align: middle;
}

.header_msg {
  color: rgba(0,0, 0, .76);
  font-size: 15px;
  font-weight: bold;
}

.text_msg-one {
  white-space: break-spaces;
}

.footer_msg {
  color: rgba(0, 0, 0, .45);
  font-size: 13px;
}

.content-preview-block .chat-body .msg_wrap .timing {
  text-align: right;
  font-size: 12px;
  color: #afafaf;
}

.content-preview-block .chat-body .msg_wrap:after {
  border-width: 0px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -10px;
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.modal_scrollbar {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  height: 450px !important;
}

/* .modal_scrollbar::-webkit-scrollbar {
  scrollbar-width: 5px;
} */

.campaign_conditions {
  box-shadow: inset 0 0 10px 0 #e7e8e9;
  padding: 10px;
}

.user_parameters {
  box-shadow: inset 0 0 10px 0 #e7e8e9;
  padding: 10px;
}

.add_conditions {
  box-shadow: inset 0 0 10px 0 #e7e8e9;
  padding: 10px;
}

.query_box {
  margin-top: 20px !important;
  box-shadow: inset 0 0 10px 0 #e7e8e9;
  padding: 10px;
}

.tracker_details {
  box-shadow: inset 0 0 10px 0 #e7e8e9;
  padding: 10px;
}

.tracker_details ol {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0; 
}

div .add_condition_builder div .col-md-4 {
  width: 25%;
}

.confirm_campaign {
  display: flex;
  justify-content: center;
}

div.segment h6.disclaimer {
  font-size: 18px;
}

@media (max-width: 650px) {
  div .add_condition_builder div .col-md-4 {
    width: 100%;
  }

  .w-15 {
    width: 100%;
  }
}

.segment_details_value {
  margin-bottom: 0.75rem;
  padding: 0.275rem;
}

.segment_details_value label.text-dark, p {
  display: inline;
}

/* Campaign Manager CSS End */

.chat_loader {
  font-size: 40px !important;
  letter-spacing: 4px;
  display: flex;
  justify-content: center;
  margin-left: 300px;
}

.zPlaceholderSuggestion {
  border: 1px solid #ccc;
  padding: 3px;
}

.zPlaceholderSuggestion:has(ul) {
  position: absolute;
  background-color: #fff;
  width: 300px;
  color: #6c757d;
  z-index: 1;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ced4da;
}

.zPlaceholderSuggestion ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.zPlaceholderSuggestion ul li {
  padding: 5px 0;
}

.zPlaceholderSuggestion ul li:hover {
  background: #eee;
}

.zPlaceholderSuggestion ul {
  height: 150px;
  overflow-y: scroll;
}

div.conditions-container div.row > div {
  padding: 0 !important;
}

/* Login Page, Error 404 and Forgot Password start*/

div.login_button button.btn-danger,
div.username_buttons button.btn-danger,
div.verify_otp button.btn-danger,
div.change_pass button.btn-danger  {
  border-color: #f64e60;
  background-color: #f64e60;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  font-size: 1rem !important;
  font-weight: 500 !important;
}

div.change_expired_pass_button button.btn-danger{
  border-color: #f64e60;
  background-color: #f64e60;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 20px 10px 20px;
  font-size: 1rem !important;
  font-weight: 500 !important;
  display: none;
}

div.login_button button.btn-danger:hover,
div.username_buttons button.btn-danger:hover,
div.verify_otp button.btn-danger:hover,
div.change_pass button.btn-danger:hover {
  background-color: #ff2527;
  color: #ffffff;
  border-color: #ff3a3d;
}

.fv-plugins-icon-container {
  position: relative;
}

.form-control.form-control-solid {
  background-color: #F3F6F9 !important;
  border-color: #F3F6F9;
  color: #3F4254;
  -webkit-transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, -webkit-box-shadow 0.15s ease;
}

.h-auto {
  height: auto !important;
}

.pl-8, .px-8 {
  padding-left: .75rem !important;
}

.pr-8, .px-8 {
  padding-right: .75rem !important;
}

div.contact_container div.form-group .form-control,
div.username_container div.form-group .form-control,
div.otp_container div.form-group .form-control,
div.password_container div.form-group .form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 1.3rem + 2px);
  padding: 0.65rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #3F4254;
  background-color: #ffffff;
  background-clip: padding-box;
  border: 1px solid #E4E6EF;
  border-radius: 0.85rem;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.field-icon {
  float: right;
  margin-top: -35px;
  position: relative;
  z-index: 2;
  margin-right: 15px;
  cursor: pointer;
}

/* .container{
  padding-top:50px;
  margin: auto;
} */

.auth-error-fluid {
  background: url(../images/repeating_meshed_grid.avif) center;
  background-color: #ffffff;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100vh;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  background-size: cover;
}

label.text-hover-primary:hover {
  color: #ff2527 !important;
  cursor: pointer;
}

a.text-hover-primary:hover {
  color: #ff2527 !important; 
}

.error_back {
  float: right; 
  padding: 10px 15px; 
  background-color: #f64e60; 
  color: #ffffff; 
  border-radius: 10px;
}

.error_message{
  font-size: 18px;
}

.error_message p a {
  color: #f64e60;
  font-weight: 600;
}

.error_message p a:hover {
  color: #ff2527;
  font-weight: 600;
}

.error_back:hover {
  background-color: #ff2527;
  color: #ffffff;
  
}

.btn-text-danger {
  border: 0;
  font-size: 16px;
  font-weight: 600;
}

.btn-text-danger:hover {
  color: #ff2527;
}

/* Login Page, Error 404 and Forgot Password End*/


/* Dashboard Page */
/* .h2,
h2 {
  font-size: 0 !important;
} */

.page-title-box .page-title {
  line-height: 45px !important;
}

div.widget-joins.card {
  margin-bottom: 30px;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(8, 21, 66, 0.05);
}

div.widget-joins.card div.card-header {
  padding: 25px;
  border-bottom: none;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  position: relative;
  background-color: transparent;
  text-align: center;
}

div.widget-joins.card div.card-body {
  padding: 25px;
  background-color: transparent;
}

div.widget-joins.card div.card-body .gy-4 {
  --ct-gutter-y: 1.5rem;
}

.widget-joins .widget-card {
  border: 1px solid #5346861a;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  background-color: #ffffff;
}

@media screen and (max-width: 1400px) and (min-width: 1200px) {
  .widget-joins .widget-card {
    padding: 18px 14px;
  }
}

.widget-joins .widget-card h6 {
  color: #000000;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media screen and (max-width: 1400px) and (min-width: 1200px) {
  .widget-joins .widget-card h6 {
    font-size: 16px;
  }
}
/* Dashboard end */



 div.msg_container {
  display: flex;
  justify-content: center;
}

p.msg_short {
  margin-bottom: 0px;
  white-space: nowrap;
  min-width: 150px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.message_preview_box {
  background-color: #dcf8c6;
  padding: 8px;
  width: 100%;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  margin-bottom: 10px;
}

div.card_box {
  height: 330px;
  width: 100%;
  padding: 0;
  display: block;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 4px #0000000a;
  background-color: #ffffff;
  border-radius: 0.2rem;
  overflow: visible;
  inset: 8px;
  margin-bottom: 25px;
  overflow-x: hidden;
  overflow-y: auto;
}

div.campaign_summary {
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 4px #0000000a;
  background-color: #ffffff;
  border-radius: 0.2rem;
  overflow: visible;
  inset: 8px;
  margin-bottom: 25px;
  overflow-x: hidden;
  overflow-y: auto;
}

div.campaign_summary div.card_details {
  overflow: auto;
  scrollbar-color: #adb3bd #ffffff;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  position: relative;
  padding: 15px 15px 0 15px;
}

div.parameter_conditions_box {
  height: 330px;
  width: 100%;
  padding: 0;
  display: block;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 4px #0000000a;
  background-color: #ffffff;
  border-radius: 0.2rem;
  overflow: visible;
  inset: 8px;
  margin-bottom: 25px;
  overflow-x: hidden;
  overflow-y: auto;
}

div.campaign_conditions_box {
  height: 330px;
  width: 100%;
  padding: 0;
  display: block;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 4px #0000000a;
  background-color: #ffffff;
  border-radius: 0.2rem;
  overflow: visible;
  inset: 8px;
  margin-bottom: 25px;
  overflow-x: hidden;
  overflow-y: auto;
}

div.col-md-12 div.card_box {
  height: auto;
  width: 100%;
  padding: 0;
  display: block;
  border: 1px solid #d6d9de;
  box-shadow: 0 1px 4px #0000000a;
  background-color: #ffffff;
  border-radius: 0.2rem;
  overflow: visible;
  inset: 8px;
  margin-bottom: 25px;
  overflow-x: hidden;
  overflow-y: auto;
}

div.card_box:hover {
  border-color: #adb3bd;
  box-shadow: 0.25rem 0.25rem 0.375rem -0.0625rem #0000001b,
      0.25rem 0.25rem 0.25rem -0.125rem #0000001b;
}

.card_body {
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card_details {
  overflow: auto;
  scrollbar-color: #adb3bd #ffffff;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  position: relative;
  padding-bottom: 32px;
}

.details_grid {
  padding-inline-start: 0.375rem;
  display: grid;
  grid-template-rows: 1fr minmax(18px, auto-fit) 0fr 0fr 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.6s ease-in-out, min-height 0.2s ease-in-out;
}

.details_content_grid {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(150px, 2fr);
  gap: 0.25rem;
}

.parameter_conditions_box .details_content_grid {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(150px, 2fr);
  gap: 0.25rem;
}

.content_header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  min-height: 36px;

  .header {
      margin: 0;
      color: rgb(101, 111, 125);
      font-size: 0.875rem;
      font-style: normal;
      font-weight: 600;
      line-height: 16px;
      white-space: nowrap;
  }

  .campaign_conditions_header,
  .parameter_conditions_header {
      word-wrap: break-word;
      width: 350px;
      white-space: normal;
      color: rgb(135, 144, 158);
      line-height: 1.5;
      line-break: auto;
      font-size: 0.9rem;
      font-weight: 400;
  }
}

.content_result {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  padding: 0 6px;
  gap: 4px;

  span {
      color: rgb(135, 144, 158);
      font-size: 0.875rem;
      word-wrap: break-word;
      line-break: auto;
      width: 180px;
      white-space: normal;
  }
}

.media_parameters,
.temp_body_parameters,
.temp_url_parameters {
  box-shadow: 0 0 10px 3px #dddee2;
  padding: 10px;
  margin-bottom: 20px;
}

.page {
  width: 100%;
  height: 100%;
}

.marvel-device {
  position: relative;
  width: 360px;
  height: 640px;
  margin: auto;
  border: 10px black solid;
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-radius: 36px;
}

.marvel-device .screen {
  width: 340px;
  height: 520px;
  background: white;
  text-align: left;
  border-radius: 36px;
}

.screen-container {
  height: 100%;
  border-radius: 25px;
} 

/* Chat */

.chat {
  height: calc(100% - 69px);
}

.chat-container {
  height: calc(100% + 126px);
} 

.otp-input {
  width: 40px;
  height: 40px;
  font-size: 18px;
  padding: 0;
  border: 2px solid #ced4da;
  border-radius: 6px;
}

.otp-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
}
/* User Bar */

.user-bar {
  height: 55px;
  background: #005e54;
  color: #fff;
  padding: 0 8px;
  font-size: 24px;
  position: relative;
  z-index: 1;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.user-bar:after {
  content: "";
  display: table;
  clear: both;
}

.user-bar div {
  float: left;
  transform: translateY(-50%);
  position: relative;
  top: 50%;
}

.user-bar .actions {
  float: right;
  margin: 0 0 0 20px;
}

.user-bar .actions.more {
  margin: 0 12px 0 32px;
}

.user-bar .actions.attachment {
  margin: 0 0 0 30px;
}

.user-bar .actions.attachment i {
  display: block;
  transform: rotate(-45deg);
}

.user-bar .avatar {
  margin: 0 0 0 5px;
  width: 36px;
  height: 36px;
}

.user-bar .avatar img {
  border-radius: 50%;
  display: block;
  width: 100%;
}

.user-bar .name {
  font-size: 17px;
  font-weight: 600;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  margin: 0 0 0 8px;
  overflow: hidden;
  white-space: nowrap;
  width: 110px;
}

.user-bar .status {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

/* Conversation */

.conversation {
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  height: calc(100% - 12px);
  position: relative;
  background: #efe7dd
    url("https://cloud.githubusercontent.com/assets/398893/15136779/4e765036-1639-11e6-9201-67e728e86f39.jpg")
    repeat;
  z-index: 0;
}

.conversation ::-webkit-scrollbar {
  transition: all 0.5s;
  width: 5px;
  height: 1px;
  z-index: 10;
}

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

.conversation ::-webkit-scrollbar-thumb {
  background: #b3ada7;
}

.conversation .conversation-container {
  height: calc(100% - 68px);
  box-shadow: inset 0 10px 10px -10px #000000;
  overflow-x: hidden;
  padding: 0 16px;
  margin-bottom: 5px;
}

.conversation .conversation-container:after {
  content: "";
  display: table;
  clear: both;
}

/* Messages */

.message {
  color: #000;
  clear: both;
  line-height: 18px;
  font-size: 15px;
  padding: 8px;
  position: relative;
  margin: 8px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: -1;
}

.message:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
}

.metadata {
  display: inline-block;
  float: right;
  padding: 0 0 0 7px;
  position: relative;
  bottom: -4px;
}

.metadata .time {
  color: rgba(0, 0, 0, 0.45);
  font-size: 11px;
  display: inline-block;
}

.message:first-child {
  margin: 16px 0 8px;
}

.message.received {
  background: #fff;
  border-radius: 0px 5px 5px 5px;
  float: left;
}

.message.received .metadata {
  padding: 0 0 0 16px;
}

.msg_box_temp {
  padding: 4px;
  border-bottom: 1px solid rgb(17, 27, 23, 0.06);
}

.message.received:after {
  border-width: 0px 10px 10px 0;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -10px;
}

.message.received.carousel:after {
  border-width: 0px 0 0 0;
  border-color: transparent #fff transparent transparent;
  top: 0;
  left: -10px;
}

.message.sent {
  background: #e1ffc7;
  border-radius: 5px 0px 5px 5px;
  float: right;
}

.message.sent:after {
  border-width: 0px 0 10px 10px;
  border-color: transparent transparent transparent #e1ffc7;
  top: 0;
  right: -10px;
}

.carousel_container {
  width: 100%;
  position: relative;
}

.carousel_msg_container {
  width: 100%;
  overflow-y: scroll;
  overflow-x: scroll;
  scrollbar-width: none;
  position: relative;
}

.carousel_msg_grid {
  display: inline-flex;
  flex-direction: row;
  position: relative;
  flex-grow: 1;
}

.carousel_msg_section {
  width: 276px;
  overflow-y: hidden;
  overflow-x: hidden;
  display: inline-block;
}

.msg_box {
  position: relative;
  flex: none;
  font-size: 14.2px;
  line-height: 19px;
  color: #111b21;
  border-radius: 7.5px;
}

.msg_box_grid {
  width: 276px;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  flex-shrink: 1;
  flex-direction: column;
  flex-basis: auto;
  display: flex;
  align-items: stretch;
  align-self: auto;
  justify-content: flex-start;
}

.msg_content {
  padding: 6px 7px 8px 9px;
  box-sizing: border-box;
  -webkit-user-select: text;
}

.image_container {
  margin: -3px -4px 6px -6px;
}

.image_msg_container {
  padding: 3px 3px 3px 3px;
  max-width: 336px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.image_msg_box {
  width: 276px;
  height: 146px;
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100%;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.image_msg_box img {
  flex-basis: auto;
  flex-shrink: 0;
  flex-grow: 0;
}

.msg_container {
  display: inline-block;
  visibility: visible;
  -webkit-user-select: text;
}

.button_content {
  padding: 0 7px 9px 8px;
  margin-top: -8px;
}

.button_container {
  min-width: 0;
  min-height: 0;
  margin: 10px 6px 0 8px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  flex-direction: column;
  flex-basis: auto;
  align-self: auto;
  justify-self: auto;
  order: 0;
  flex-grow: 0;
  border-top: 1px solid rgb(17, 27, 23, 0.06);
}

.button_container button {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 6px 0 2px 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #009de2;
  flex-grow: 1;
  line-height: 20px;
  font-size: 0.875rem;
  cursor: auto !important;
  border: 0px;
  background: none;
}

.button_container button .button_text {
  padding: 4px 4px 4px 4px;
  min-width: 0;
  min-height: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 1;
  flex-wrap: nowrap;
  flex-basis: auto;
  flex-direction: row;
  align-self: auto;
  order: 0;
  flex-grow: 0;
  justify-self: auto;
}

.button_text .button_icon {
  margin: 0 5px 0 5px;
}

/* Compose */

.conversation-compose {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  overflow: hidden;
  height: 50px;
  width: 100%;
  z-index: 2;
}

.conversation-compose div,
.conversation-compose input {
  background: #fff;
  height: 100%;
}

.conversation-compose .emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 5px 0 0 5px;
  flex: 0 0 auto;
  margin-left: 8px;
  width: 48px;
}

.conversation-compose .input-msg {
  border: 0;
  flex: 1 1 auto;
  font-size: 16px;
  margin: 0;
  outline: none;
  min-width: 50px;
}

.conversation-compose .photo {
  flex: 0 0 auto;
  border-radius: 0 0 5px 0;
  text-align: center;
  position: relative;
  width: 48px;
}


.conversation-compose .photo i {
  display: block;
  color: #7d8488;
  font-size: 24px;
  transform: translate(-50%, -50%);
  position: relative;
  top: 50%;
  left: 50%;
}

.conversation-compose .send {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 8px;
  margin-right: 8px;
  padding: 0;
  position: relative;
  outline: none;
}

.conversation-compose .send .circle {
  background: #008a7c;
  border-radius: 50%;
  color: #fff;
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation-compose .send .circle i {
  font-size: 24px;
  margin-left: 5px;
}

.template_message_preview_box,
.Urlprefix_parameter_preview_box,
.body_parameter_preview_box {
  box-shadow: 0 0 10px 3px #dddee2;
  padding: 10px;
  margin-bottom: 20px;
}

/* CSS added for Generic Template */

.header_preview {
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
}

.body_preview {
  font-size: 15px;
  line-height: 19px;
  margin-top: 10px;
}

.footer_preview {
  text-align: left;
  font-size: 13px;
  line-height: 16px;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #9d9d9d;
  font-weight: 500;
}

.custom_button {
  padding: 4px 12px;
}

.gen_btn_container {
  padding: 0 7px 9px 8px;
  margin-top: -8px;
}

.gen_btn {
  min-width: 0;
  min-height: 0;
  margin: 8px 0 0 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: nowrap;
  flex-direction: column;
  flex-basis: auto;
  align-self: auto;
  justify-self: auto;
  order: 0;
  flex-grow: 0;
  border-bottom: 1px solid rgb(17, 27, 23, 0.06);
}

.custom_button .gen_btn_container:nth-child(3) .gen_btn {
  border-bottom: none !important;
}

.gen_btn .gen_btn_box {
  width: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
  padding: 6px 0 2px 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #009de2;
  flex-grow: 1;
  line-height: 20px;
  font-size: 0.875rem;
  cursor: auto !important;
  border: 0px;
  background: none;
}

.gen_btn_text {
  padding: 4px 4px 4px 4px;
  min-width: 0;
  min-height: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-shrink: 1;
  flex-wrap: nowrap;
  flex-basis: auto;
  flex-direction: row;
  align-self: auto;
  order: 0;
  flex-grow: 0;
  justify-self: auto;
}

.gen_btn_icon {
  margin: 0 5px 0 5px;
}

.custom_button .gen_btn_container:nth-child(3) .gen_btn .gen_btn_text {
  cursor: pointer;
}

.preview_ten_btn {
  background: #FFF;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 20px 15px 0;
  border-radius: 25px;
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
}

.preview_ten_btn p {
  margin-bottom: 10px;
  padding: 5px;
  display: block;
}

.preview_ten_btn_header {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  gap: 100px;
}

.preview_ten_btn_header h1 {
  margin: 0;
  font-size: 20px;
}

.close-btn {
  font-size: 24px;
  cursor: pointer;
}

.button-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.button-list li {
  padding: 5px; 
   border-bottom: 1px solid #ddd; 
  cursor: default;
}

.location_parameter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.latitude, .copy_code, .code_expiry {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 0.5rem;
}

.longitude {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 0.5rem;
}

.location_name {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 0.5rem;
}

.location_address {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 0.5rem;
}

.location_box {
  max-width: 270px;
  padding: 3px;
  position: relative;
}

.location_img {
  height: 150px;
  overflow-x: hidden;
  overflow-y: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 6px;
  border-bottom-left-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  visibility: visible;
  -webkit-user-select: text;
}

.location_img img {
  width: 150px;
  visibility: visible;
  pointer-events: none;
  flex-basis: auto;
  flex-shrink: 0;
  z-index: 1;
  flex-grow: 0;
}

.location_text {
  max-width: 270px;
  padding: 7px 4px 4px 6px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-top: 0;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-color: #eff2f5;
}

.text_box {
  position: relative;
  word-wrap: break-word;
}

.location_text_header {
  overflow-y: hidden;
  overflow-x: hidden;
  white-space: nowrap;
  font-weight: 400;
  text-overflow: ellipsis;
  display: block;
  font-size: 0.875rem;
  -webkit-user-select: text;
  visibility: visible;
}

.location_text_body {
  font-size: 0.75rem;
  visibility: visible;
  -webkit-user-select: text;
}

.location_msg {
  padding: 7px 4px 5px 6px;
  max-width: 330px;
  box-sizing: border-box;
}

.lto_box {
  margin: -3px -4px 6px -3px;
  padding: 4px;
}

.lto_img {
  padding: 0;
  max-width: 336px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.lto_img_box {
  width: 276px;
  height: 146px;
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100%;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.lto_img img {
  width: 250px;
  height: 146px;
  visibility: visible;
  pointer-events: none;
  flex-basis: auto;
  flex-shrink: 0;
  z-index: 1;
  flex-grow: 0;
}

.lto_text {
  max-width: 270px;
  padding: 5px 0 0 0;
  box-sizing: border-box;
  border: 1px solid #f4f4f4;
  border-top: 0;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background-color: #f8f8f8;
}

.lto_text_box {
  position: relative;
  word-wrap: break-word;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.lto_icon {
  background: #fff;
  padding: 0px 10px;
  border-radius: 50%;
}

.lto_icon i {
  font-size: 30px;
  color: #000000;
}

.lto_text_header {
  overflow-y: hidden;
  overflow-x: hidden;
  white-space: nowrap;
  font-weight: bold;
  text-overflow: ellipsis;
  display: block;
  font-size: 0.875rem;
  -webkit-user-select: text;
  visibility: visible;
}

.lto_text_body {
  font-size: 0.75rem;
  font-weight: 400;
  visibility: visible;
  -webkit-user-select: text;
}

.lto_text_footer {
  font-size: 0.75rem;
  visibility: visible;
  -webkit-user-select: text;
}

.lto_msg {
  padding: 7px 4px 5px 6px;
  max-width: 330px;
  box-sizing: border-box;
}

.carousel_container .left_arrow {
  width: 45px;
  border: 1px solid #d1d7db;
  height: 45px;
  top: 55%;
  left: -12px;
  border-bottom-left-radius: 100px;
  z-index: 1000;
  border-top-left-radius: 100px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(11, 20, 26, 0.2);
  border-bottom-right-radius: 100px;
  background-color: #ffffff;
  border-top-right-radius: 100px;
  position: absolute;
  padding: 0;
}

.carousel_container .right_arrow {
  width: 45px;
  border: 1px solid #d1d7db;
  height: 45px;
  top: 55%;
  left: 90%;
  border-bottom-left-radius: 100px;
  z-index: 1000;
  border-top-left-radius: 100px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgb(11, 20, 26, 0.2);
  border-bottom-right-radius: 100px;
  background-color: #ffffff;
  border-top-right-radius: 100px;
  position: absolute;
  padding: 0;
}

.carousel_container .left_arrow .left_arrow_sec,
.carousel_container .right_arrow .right_arrow_sec {
  position: relative;
  text-align: center;
  color: #54656f;
}

.not_founded {
  text-align: center;
  margin-top: 20%;
}

.not_founded_b {
  text-align: center;
  margin-top: 10%;
}

.card-body .header_box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 25px;
}

.header_box .card {
  background-color: #f7f9ff !important;
  border: 1px solid #d6d9de;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0.3rem 0.4rem;
}

.header_box .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #adb3bd;
  border-radius: 12px;
  box-shadow: 0.25rem 0.25rem 0.375rem -0.0625rem #9bd5fc, 0.25rem 0.25rem 0.25rem -0.125rem #3c3cf0;
}

.card-body .header_box h4 {
  font-size: 1.1rem;
}

.card-body .header_box h2 {
  font-size: 0.9rem !important;
  color: #0d6efd;
}

@media (992px <=width <=1280px) {
  .card-body .header_box {
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-bottom: 25px;
  }

  .card-body .header_box .col-lg-2 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
      flex: 0 0 auto;
      width: 25%;
  }
}

@media (1280px <=width) {
  .card-body .header_box {
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-bottom: 25px;
  }

  .card-body .header_box .col-lg-2 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
      flex: 0 0 auto;
      width: 20%;
  }
}

@media (580px <=width <=992px) {
  .card-body .header_box {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      margin-bottom: 25px;
  }

  .col-md-2 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
      flex: 0 0 auto;
      width: 33.333%;
  }
}

@media (320px <=width <=580px) {
  .card-body .header_box {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 25px;
  }

  .col-sm-2 {
      -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
      flex: 0 0 auto;
      width: 50%;
  }
}

div.card_box:hover {
  border-color: #adb3bd;
  box-shadow: 0.25rem 0.25rem 0.375rem -0.0625rem #0000001b, 0.25rem 0.25rem 0.25rem -0.125rem #0000001b;
  transform: translateY(-2px);
}

.content_header .header {
  margin: 0;
  color: #3c3cf0;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  word-wrap: break-word;
  width: 320px;
  white-space: normal;
}

.main_query {
  color: #3c3cf0;
  font-weight: bold;
  font-size: 14px;
}

.main_condition {
  color: #000000;
  font-weight: bold;
  font-size: 14px;
}

.main_value {
  color: #17d17a;
  font-weight: bold;
  font-size: 14px;
}

.main_other_query {
  color: #ec4152;
  font-weight: bold;
  font-size: 14px;
}

.whose_color {
  color: #000000;
}

div.carousel_details .card_details {
  overflow: hidden;
  scrollbar-color: #adb3bd #ffffff;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  position: relative;
  padding-bottom: 10px;
}

.carousel_details .card_body .card_details .details_content_grid {
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(150px, 2fr);
  gap: 2rem;
}

.content_header .header {
  margin: 0;
  color: #444444;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  word-wrap: break-word;
  width: 320px;
  white-space: normal;
}

.percentage {
  font-size: 0.9rem !important;
  color: #0d6efd;
  font-weight: 700;
  text-align: center;
}


@media (max-width: 768px) {
  .location_parameter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .latitude, .copy_code, .code_expiry {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0;
  }
  
  .longitude {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0;
  }
  
  .location_name {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0;

  }
  
  .location_address {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 768px) {
  .marvel-device.nexus5 {
    border-radius: 0;
    flex: none;
    padding: 0;
    max-width: none;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }

  .marvel-device > .screen .chat {
    visibility: visible;
  }

  .marvel-device {
    visibility: hidden;
  }

  .marvel-device .status-bar {
    display: none;
  }

  .screen-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .conversation {
    height: calc(100vh - 55px);
  }
  .conversation .conversation-container {
    height: calc(100vh - 120px);
  }
}

.ab_msg_preview {
  .marvel-device{
      border: none;
      position: relative;
      width: 360px;
      height: 640px;
      margin: auto;
  }

  .conversation, .conversation .conversation-container {
      height: 268px;
  }

  .marvel-device .screen {
      width: 280px;
      height: 322px;
      background: white;
      text-align: left;
      border-radius: 36px;
  }

  .lto_img img {
      width: max-content;
  }

  .conversation {
      border-radius: 0!important;
  }
}