/* 10:26 am dec 22 11:00 */

@keyframes l4 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%
  }
  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%
  }
  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%
  }
  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%
  }
}

@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%
  }

  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%
  }

  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%
  }

  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%
  }
}

.ringq-emoji-picker {
  margin: 4px;
  border-radius: 8px;
  background: #fff;
  border-top: 1px solid #ccc;
  padding: 8px;
  display: none;
  max-height: 150px;
  overflow-x: auto;
  flex-direction: column;
}

.ringq-emoji-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 200px;
}

.ringq-emoji-grid button {
  font-size: 22px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
}

.ringq-emoji-grid button:active {
  background: #eee;
}

#ringq-chat-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none; /* allow clicks to pass through */
}

#chatToggle {
  position: fixed;
  top: 50%;          /* vertically center */
  left: 24px;        /* slightly from left edge */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #25d366;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 0;
}

/* logo */
#main-logo-url {
  background-color: white;
  background-image: var(--ringq-main-logo-url);
  width: 38px;
  height: 38px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 50%;
  overflow: hidden;
}

/* header container */
.ringq-chat-header {
  gap: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
}

/* title */
#ringq_aioragent {
  font-weight: bold;
}

/* chatbubbles */ 
.ringq-message-guest {
  background-color: #e6e6fd;
  text-align: left;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 17px;
  padding-bottom: 17px;
  border: 2px solid #e6e6fd;
  word-wrap: break-word;
  border-radius: 20px;
  font-size: clamp(11px, 1.2vw, 13px);
  border-color: #ccc;
  border-bottom-right-radius: 0px;
}

/* chatbubbles */
.ringq-message-other {
  background-color: white;
  text-align: left;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 17px;
  padding-bottom: 17px;
  border: 2px solid #ccc;
  word-wrap: break-word;
  border-radius: 14px;
  font-size: clamp(11px, 1.2vw, 13px);
  border-bottom-left-radius: 0px;
}

/* chatbubbles */
.ringq-message-guest-other{
  background-color: transparent;
  text-align: left;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 17px;
  padding-bottom: 17px;
  border: 2px solid #ccc;
  word-wrap: break-word;
  border-radius: 20px;
  font-size: clamp(11px, 1.2vw, 13px);
  border-color: #ccc;
  border-bottom-right-radius: 0px;
}

/* theme */
.ringq-applied-theme{
  --ringq-theme-color: #fcba03;
  --ringq-alternative-color: linear-gradient(to top, white) !important;
  overflow: hidden;
}


/* emoji form container */
em-emoji-picker {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: auto;
  width: 350px;
  transform: translate(-50%, -50%);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 12px;
  background: #fff;
}

/* inputfield container */
/* #ringq_chat_inputfield{
  min-height: 80px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 20vh;
  align-items: center;
} */

.ringq_chat_inputfield {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-top: 1px solid #ccc;
}

.ringq_chat_inputfield input {
  flex: 1;
  padding: 10px;
  font-size: 15px;
  border-radius: 20px;
  border: 1px solid #ccc;
  outline: none;
}

.ringq-side-buttons{
  --ringq-main-font-family: Helvetica, Arial, sans-serif !important;
  --ringq-sidebutton-position: fixed; 
  --ringq-sidebutton-position-bottom: 290px;
  position: var(--ringq-sidebutton-position);
  right: var(--ringq-sidebutton-position-right);
  bottom: var(--ringq-sidebutton-position-bottom);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 20;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: auto; /* this makes the button tappable/clickable */
}

.ringq-message-input textarea::placeholder{
   font-family: var(--ringq-main-font-family);
}


#ringq-previewModal{
  font-family: var(--ringq-main-font-family);
}

#ringq-body {
  box-sizing: border-box;
  font-family: var(--ringq-main-font-family);
}

#ringq_upperdiv{
  background: linear-gradient(to top, white, var(--ringq-theme-color)) !important;
  --ringq-main-container-position: fixed;
  --ringq-main-container-position-right: 100px;
  --ringq-main-container-position-bottom: 80px;
  position: var(--ringq-main-container-position);
  bottom: var(--ringq-main-container-position-bottom);
    top: 50%;           /* vertically center */
    transform: translateY(-50%); /* center vertically */
    width: 300px;
    height: 0;          /* start collapsed */
    background: #e5ddd5;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

#ringq_upperdiv.open {
  height: 500px;          /* final height */
  opacity: 1;
  border: 2px solid #11224d;
  border-radius: 1.5rem;
}

.ringq-login-container {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

.ringq-login-form {
  display: flex;
  flex-direction: column;
}

.ringq-form-group {
  height: 80px;
  position: relative;
}

.ringq-form-group label {
  display: block;
  font-size: clamp(12px, 1.45vw, 14px);
  font-weight: 300;
  color: #4bb0e9;
  margin-bottom: 5px;
  margin-left: 10px;
  position: relative;
}

.ringq-form-group input,
.ringq-form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #3eace7;
  border-radius: 8px;
  background: transparent;
  font-size: clamp(12px, 1.45vw, 14px);
  outline: none;
  z-index: 0;
  box-sizing: border-box;
}

.ringq-form-group select {
  cursor: pointer;
}

.ringq_allLabels {
  z-index: 100;
  display: block;
  font-size: clamp(12px, 1.45vw, 14px);
  font-weight: 300;
  color: #4bb0e9;
  position: relative;
}

.ringq-submit-btn, .ringq-submit-each {
  display: block; 
  pointer-events: none;
  cursor: not-allowed;
  /* position: relative; */
  top: 20px;
  padding: 10px 12px;
  border-radius: 9999px;
  color: white;
  border: none;
  /* cursor: pointer; */
  font-size: 12px;
  font-weight: 300;
  background-color: #1d4ed8;
  width: 100%;
  opacity: 0.3 
}

.ringq-submit-btn.active:hover {
  background-color: #185aa7;
}

.ringq-error-message {
  margin: 0px;
  text-align: center;
  color: red;
  font-size: clamp(11px, 1.2vw, 13px);
  display: none
}

.ringq-file-link {
  text-decoration: none;
  color: black;
  /* added */
  word-break: break-all;
}

.ringq-toggle-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.ringq-toggle-switch {
  position: relative;
  display: inringq_line-block;
  width: 50px;
  height: 26px;
}

.ringq-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ringq-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 26px;
}

.ringq-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.ringq-switch-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ringq-switch-modal {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 320px;
  max-width: 90%;
  text-align: center;
  animation: fadeIn 0.25s ease;
}

.ringq-switch-modal h3 {
  margin-bottom: 15px;
  color: #333;
}

.ringq-switch-modal-input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.ringq-switch-modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.ringq-switch-modal-buttons-status {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ringq-switch-modal-submit {
  background: #019fe2;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.ringq-switch-modal-edit {
  background: #e6e6fd;
  color: rgb(0, 0, 0);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.ringq-switch-modal-close {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.ringq-switch-modal-submit:hover {
  background: #4578a0;
}

.ringq-switch-modal-edit:hover {
  background: #c9c9e2;
}

.ringq-switch-modal-close:hover {
  background: #d73b2f;
}

.ringq-modal-content {
  position: relative;
  background-color: white;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 80vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ringq-floating-question {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: #e6e6fd;
  color: #00278b;
  font-size: clamp(11px, 1.6vw, 13px);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  font-weight: normal;
  height: 40px;
}



.ringq-floating-question-container {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  width: 90%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  justify-items: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.ringq-chatroom {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 20px;
}

.ringq-input-container {
  height: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ringq-big-container {
  display: flex;
  flex-direction: column;
}

.ringq-big-container1 {
  display: flex;
  flex-direction: column;
}

.ringq-queue-div {
  position: relative;
  /* binago margin-left */
  margin-left: 30px;
  margin-bottom: 10px;
  justify-content: end;
}

.ringq-chatroomHeader {
  text-align: center;
  font-size: clamp(12px, 1.45vw, 14px);
  padding: 10px 20px;
}

.ringq-temporaryDisplay {
  display: none;
  align-items: center;
  width: 100%;
  margin: auto;
  font-size: clamp(11px, 1.2vw, 13px);
  text-align: center;
  justify-content: center;
}

.ringq-message-container {
  display: flex;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
}

/* Binago */

#ringq_messages{
  padding: 12px
}


.ringq-message-text {
  margin-top: 100px;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-size: 1.15rem;
  padding: 0px 25px;
}

.ringq-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.ringq-rating input[type="radio"] {
  display: none;
}

.ringq-message-username{
  display: none;
}

.ringq-rating label {
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  margin: 0 4px;
}

.ringq-usernameProfile {
  position: absolute;
  left: 2px;
  top: -15px;
  text-align: center;
  font-size: clamp(9px, 1.2vw, 11px);
  white-space: nowrap;
  font-weight: 600;
}

.ringq-btnAgent {
  width: 100%;
  position: sticky;
  top: 0px;
  z-index: 1000;
  display: none;

}

#btnAgentbtn1 {
  display: none;
  position: absolute;
  right: 10px;
  top: -15px;
  height: 25px;
  width: 50%;
  font-size: 12px;
  padding: 15px 0;

}

.ringq-btnAgentbtn {
  background-color: #e6e6fd;
}

/* binago */

.ringq-loader {
  margin-top: auto;
  margin-bottom: auto;
  height: 5px;
  width: 15px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}

.ringq-loader1 {
  margin-top: auto;
  margin-bottom: auto;
  height: 10px;
  width: 30px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l4 1s infinite linear;
}

.ringq-modal {
  display: none;
  position: fixed;
  inset: 0;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.ringq-typingIndicator4 {
  display: block;
  position: relative;
  bottom: -20px;
  background-color: transparent;
  color: black;
  padding: 6px;
  font-size: 13px;
  border-radius: 14px;
  border-top-left-radius: 0px;
  z-index: 30;
  left: 50%;
  transform: translateX(-50%);
}

.ringq-typingIndicator5 {
  display: block;
  position: relative;
  top: 20px;
  /* left: 92px; */
  background-color: transparent;
  color: black;
  padding: 12px 12px;
  font-size: 15px;
  border-radius: 14px;
  border-top-left-radius: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
}

.ringq-typingIndicatorAi {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 0px;
  background-color: transparent;
  color: black;
  padding: 12px 12px;
  font-size: 15px;
  border-radius: 14px;
  border-top-left-radius: 0px;
  text-align: left;
  z-index: 30;
}

.ringq-typingIndicatorAi1 {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 0px;
  background-color: transparent;
  color: black;
  padding: 12px 12px;
  font-size: 13px;
  border-radius: 14px;
  border-top-left-radius: 0px;
  text-align: left;
  z-index: 30;
}

.ringq-typingIndicator {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 0px;
  background-color: transparent;
  color: black;
  padding: 6px;
  font-size: 13px;
  border-radius: 14px;
  border-top-left-radius: 0px;
  text-align: left;
  z-index: 30;
}

.ringq_addmessageTimeDiv {
  text-align: center;
  list-style-type: none;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 700;
}

.ringq-unreadIdCount {
  display: none;
  z-index: 50;
  position: absolute;
  bottom: 20px;
  right: 0px;
  background-color: white;
  padding: 5px;
  border-radius: 20px;
  width: 20px;
  height: 20px;
  align-items: center;
  color: red;
  font-size: 12px;
  justify-content: center;
  font-weight: 700;
}

.ringq-numIconDiv {
  position: absolute;
  bottom: 35px;
  right: 2px;
  border-radius: 50%;
  background-color: white;
  height: 20px;
  width: 20px;
  display: none;
  align-items: center;
  justify-content: center;
}

.ringq-status-guest {
  text-align: right;
}

.ringq-status-agent {
  text-align: left;
}

.ringq-message-status {
  font-size: 11px;
  font-weight: 500;
  color: grey;
  font-style: italic;
  margin-right: 10px;
  margin-top: 5px;
}

.ringq-message-closed {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.ringq-borderringq_line {
  position: absolute;
  right: 0;
  left: 0;
  top: 50%;
  border-top-width: 1px;
  border-color: #d1d5db;
}

.ringq-statusMessage {
  position: relative;
  z-index: 10;
  background-color: white;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  border-radius: 9999px;
}

.ringq-margining {
  margin-bottom: 20px;
}

.ringq-timeDiv {
  position: absolute;
  right: 11px;
  bottom: 23px;
  font-size: clamp(9px, 1.2vw, 11px);
  color: grey;
}

.ringq-remove-btn {
  background-color: #009fe3;
  padding: 4px;
  border-radius: 4px;
  border: none;
  margin-left: 10px;
}

.ringq-file-container {
  height: 35px;
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 8px; */
  border-radius: 6px;
}

.ringq-imageClick {
  display: none;
  width: 80%;
  position: absolute;
  top: 25%;
  left: 25%;
}

.ringq-modal2 {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ringq-modal-content5 {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  animation: zoom 0.3s;
}

.ringq-isImageContainer {
  background-color: #e6e6fd;
  padding: 14px 17px;
  border: 2px solid #ccc;
  word-break: break-word;
  border-radius: 8px;
  font-size: 15px;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-items: center;
}

.ringq-close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.ringq_typingClass{
  display: none;
}

.ringq-welcome-page {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ringq-welcome-page:hover {
  box-shadow: 0 0 20px 5px rgba(0, 0, 255, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 50%;
}

.ringq-chaticon {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  color: #000;
  background: #009fe3;
  overflow: hidden;
  border: 2px solid #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
}

.ringq-chaticon img {
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 40px;
  transition: transform 0.3s ease;
}

.ringq-chaticon img:hover {
  transform: scale(1.1);
}

.ringq-message-container1 {
  position: relative;
  margin-left: 30px;
  margin-bottom: 10px;
}

.ringq-message-image {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ringq-message-img {
  margin-left: 0;
  max-width: 100%;
  max-height: 100%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.ringq-message-img {
  padding: 5px !important;
  border-radius: 50px;
  height: 30px;
  width: 30px;
}

/* binago */
#ringq_typingIndicator1 {
  position: absolute;
  left: 115px;
  bottom: 35px;
}

#ringq_typingIndicator2 {
  position: absolute;
  left: 100px;
  bottom: 70px;
}

.ringq-close-btn {
  position: absolute;
  right: 5px;
  top: 25px;
  background: none;
  border: none;
  cursor: pointer;
}

.ringq_file-preview-item {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ringq-close-btn img {
  width: 17px;
  height: 17px;
}

.ringq-separator {
  height: 2px;
  background: black;
  position: absolute;
  top: 60px;
  left: 15px;
  width: 90%;
  margin: auto;
  z-index: 1;
}

#ringq_label1 {
  top: 8px;
  left: 10px;
  width: 70%;
  background-color: var(--ringq-theme-color);
}

#ringq_label2 {
  top: 9px;
  left: 10px;
  width: 48%;
  background-color: var(--ringq-theme-color);
}

#ringq_label3 {
  top: 8px;
  left: 10px;
  width: 36%;
  background-color: var(--ringq-theme-color);
}

.ringq-email-symbol {
  position: relative;
  top: -35px;
  left: 10px;
  color: #3aabe7;
  font-size: 16px;
}

#ringq_email {
  padding-left: 30px;
}

#ringq_email::placeholder,
#ringq_username::placeholder {
  background-color: transparent;
}

.ringq-submit-btn.active:hover {
  background-color: #185aa7;
}

#displayDiv {
  position: relative;
  margin-left: 30px;
  margin-bottom: 10px;
}

#ticketModal {
  position: fixed;
  inset: 0px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.ringq-modal-content, .ringq-modal-content1 {
  background-color: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 24rem;
  text-align: center;
  margin: auto;
}

.ringq-modal-title, .ringq-modal-title1 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f44336;
}

.ringq-modal-message, .ringq-modal-message1 {
  color: #4b5563;
  margin-top: 8px;
}

.ringq-modal-actions,
.ringq-modal-actions1 {
  margin-top: 48px;
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.ringq-btn-yes,
.ringq-btn-yes1,
.ringq-btn-cancel {
  padding: 8px 16px;
  border: none;
  font-weight: 400;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.ringq-btn-yes,
.ringq-btn-yes1 {
  background: #019fe2;
  width: 84px;
}

.ringq-btn-yes:hover,
.ringq-btn-yes1:hover {
  background-color: #1e3a8a;
}

.ringq-btn-cancel {
  background-color: #676a89;
}

.ringq-btn-cancel:hover {
  background-color: #3c3c3c;
}

.ringq-submiterror {
  height: 40px;
  display: block;
  position: relative;
  top: 40px;
  padding: 12px 16px;
  border-radius: 9999px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 300;
  background-color: #1d4ed8;
}


.ringq-fileName {
  font-size: clamp(12px, 1.45vw, 14px);
  color: rgb(0, 0, 0);
  height: 20px !important;
}

.ringq-fileName2 {
  font-size: clamp(12px, 1.45vw, 14px);
  color: rgb(0, 0, 0);
  height: 10px !important;
  left: -10px
}

.ringq-submit-btn1 {
  display: none;
}

.ringq-loader-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: auto;
}
/* 
.ringq-chat-inputfield {
  border-top: 1px solid #009fe3;
  position: relative;
  display: none;
  animation-name: inputfield;
  animation-duration: 0.1s;
  animation-timing-function: ease-in;
} */

/* .ringq-chat{
  margin: auto !important;
} */


.ringq-chat-inputfield {
  display: none; 
  top: 0px;
  left: 0px;
  background-color: white;
  color: #009fe3;
  font-size: clamp(12px, 1.15vw, 14px);
  z-index: 30;
  padding: 0 5px;
  border-bottom-left-radius: 20px;
}

.ringq-message-input {
  padding: 2px;
  text-align: left;
  width: 80%;
  font-size: clamp(12px, 1.45vw, 14px);
  background-color: transparent;
  resize: none;
  height: auto;
  outline: none;
  border: none;
}

.ringq-message-input::placeholder{
  font-size: clamp(11px, 1.2vw, 13px);
}

.ringq-message-input:focus {
  outline: none;
  border: none;
}



.ringq-message-input textarea::placeholder{
  font-family: var(--ringq-main-font-family);
}

.ringq-message-input2 {
  padding: 2px;
  text-align: left;
  width: 80%;
  font-size: clamp(12px, 1.45vw, 14px);
  background-color: transparent;
  resize: none;
  height: auto;
  outline: none;
  border: none;
}

.ringq-message-input2::placeholder{
  font-size: 12px;
}

.ringq-message-input2:focus {
  outline: none;
  border: none;
}

/* bago feb 27 */
.ringq-file-list {
  display: none;
  z-index: 999;
  width: 230px;
  height: 35px;
  margin-top: 3px;
  margin-left: 5px;
  text-align: center;
  color: white;
  border-radius: 10px;
  word-break: break-all;
}

.ringq-emoji-btn {
  width: 30px;
  height: 30px;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.ringq-attach-btn {
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background-color: transparent;
  cursor: pointer;
}

.ringq-send-btn {
  background-color: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
}

.ringq-send-icon {
  height: 50px;
  width: 50px;
  background: none;
}

.emoji-mart {
  background-color: #d10d0d96;
  width: 350px;
  height: 400px;
  position: absolute;
  top: 50px;
  right: 50px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.ringq-greeting{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e6e6fd;
  padding: 10px 0px;
  color: #00278b;
  font-size: clamp(11px, 1.6vw, 13px);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: 90%;
  font-weight: normal;
  height: 40px;
  border-radius: 20px;
  border: 2px solid #ccc;
  border-bottom-left-radius: 0px;
  background-color: transparent;
}

 .ringq-floating-step{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background-color: #e6e6fd;
    color: #00278b;
    font-size: clamp(11px, 1.6vw, 13px);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    /* width: 90%; */
    font-weight: normal;
    /* height: 40px; */
    background-color: transparent;


 }

 .ringq-creds{
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #3eace7;
  border-radius: 8px;
  background: transparent;
  font-size: clamp(12px, 1.45vw, 14px);
  outline: none;
  z-index: 0;
  box-sizing: border-box;
  
 }

.ringq-myimg {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Binago */

#ringq_mychatBox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* padding: 12px; */
  overflow-y: auto;
  flex: 1;
  box-sizing: border-box;
}

.ringq-message {
  padding: 17px 17px;
  border: 2px solid;
  border-radius: 8px;
  word-wrap: break-word;
  font-size: clamp(11px, 1.2vw, 13px);
}

.ringq-step-complete{
  padding: 0px !important;
}

.ringq-isGuestContainer {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.ringq-isGuestContainer-ini {
  display: none;
  flex-direction: column;
  align-items: end;
}

.ringq-isOtherContainer {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.ringq-message-guest {
  background-color: #e6e6fd;
  text-align: left;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 17px;
  padding-bottom: 17px;
  border: 2px solid #e6e6fd;
  word-wrap: break-word;
  border-radius: 20px;
  font-size: clamp(11px, 1.2vw, 13px);
  border-color: #ccc;
  border-bottom-right-radius: 0px;
}

#myEmojiPicker {
  display: none;
}

.ringq-ai-avatar {
  position: absolute;
  bottom: 17px;
  left: -36px;
  border-radius: 50%;
  background-color: white;
  height: 30px;
  width: 30px;
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: center;
}

.ringq-ai-avatar img {
  padding: 5px;
}

#ringq_imagePreview {
  display: block;
}

#closeModal {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 28px;
  width: 28px;
  text-align: center;
  background-color: #4a4a4a;
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

#closeModal:hover {
  background-color: #1a1a1a;
}

.hidden {
  display: none;
}

.ringq-rating>label {
  position: relative;
  max-width: 3rem;
  font-size: 2.4vw;
  color: #4455b6;
  cursor: pointer;
}

.ringq-rating>label::before {
  content: "\2605";
  position: absolute;
  opacity: 0;
}

.ringq-rating>label:hover:before, .ringq-rating>label:hover~label:before {
  opacity: 1 !important;
}

.ringq-rating>input:checked~label:before {
  opacity: 1;
}

.ringq-rating:hover>input:checked~label:before {
  opacity: 0.4;
}

.ringq-invalid-input {
  background-color: rgba(190, 74, 74, 0.932);
  font-size: 10px;
  font-style: italic;
  color: red;
  display: block;
  position: absolute;
  top: 20px;
}

.ringq-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  text-align: center;
}

.ringq-rating>input {
  display: none;
}

/* #ringq_emoji-picker{
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: auto;
  width: 350px;
  transform: translate(-50%, -50%);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 12px;
  background: #fff;
} */

em-emoji-picker {
  position: absolute;
  top: 500;
  left: 50%;
  overflow: auto;
  width: 250px;
  height: 400px;
  transform: translate(-50%, -55%);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 12px;
}


.ringq_resizing_file {
  right: 85px;
}

.ringq_resizing_file1 {
  right: 83px;
}

.ringq_resizing_file2 {
  right: 93px;
}

.ringq_resizing_img {
  right: 52px
}

.ringq_resizing_img1 {
  right: 52px;
}

.ringq_resizing_img2 {
  right: 55px
}

.ringq_resetWidth {
  width: 50%
}


@media (max-width: 1286px) {
  .ringq-rating>label {
    position: relative;
    max-width: 4rem;
    font-size: 2.8vw;
  }
}

@media (max-width: 600px) {

  .ringq_resetWidth {
    width: unset
  }

  /* .ringq-message-other{
    width: unset;
  } */

  .ringq_resizing_img {
    left: 140px;
  }

  .ringq_resizing_img1 {
    left: 140px
  }

  .ringq_resizing_img2 {
    left: 140px
  }

  .ringq_resizing_file {
    left: 100px
  }

  .ringq_resizing_file1 {
    left: 100px
  }

  .ringq_resizing_file2 {
    left: 100px
  }

  .ringq-input-container {
    /* margin-top: 10px; */
    margin-top: auto;
  }

  .ringq-side-buttons{
    top: 50px;
    bottom: 0px;
  }

  #ringq_upperdiv {
    top: auto;
    left: 0;
    bottom: 0 !important;
    width: 100%;
    border-radius: 0 ;
    transform: translateY(100%);
}

#ringq_upperdiv.open {
  transform: translateY(0);
  height: 80vh !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}
  
  /* #ringq_mychatBox {
    max-width: none;
    max-height: none;
    width: 100%;
    height: 100%;
  } */

  .ringq-message-text {
    margin-top: 270px;
  }

  .ringq-remove-btn {
    background-color: #009fe3;
    padding: 4px;
    border-radius: 4px;
    border: none;
  }

  /* bago feb 27 */
  .ringq-file-list {
    display: none;
    z-index: 999;
    width: 80%;
    height: 35px;
    margin-top: 3px;
    margin-left: 5px;
    text-align: center;
    background-color: transparent;
    color: white;
    border-radius: 10px;
    word-break: break-all;
  }

  .ringq-file-container {
    height: 35px;
    width: 100%;
    display: flex;
    border-radius: 6px;
  }

  #fileName {
    flex-grow: 12;
    text-align: left;
  }

  #ringq_imagePreview {
    flex-grow: 1;
  }

  #ringq_removeBtn {
    flex-grow: 1;
  }

  

  .ringq-login-container {
    width: 100%;
    height: 100%;
    margin-bottom: 100px;
    margin-top: 100px;
  }


  .ringq-login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;

  }

  .ringq-modal-content1 {
    display: none;
    position: relative;
    width: 80%;
    text-align: center;
    margin: auto;
    left: 0;
  }

  #ringq_line {
    width: calc(100vw - 30px);
  }

  #ringq_label1 {
    background-color: #e6e9f3;
  }


  #label2 {
    background-color: #eceef6;
  }

  #label3 {
    background-color: #f0f0f8;
  }

  .ringq-rating>label {
    position: relative;
    max-width: 4rem;
    font-size: 10vw;
  }

  #messageInput {
    flex-grow: 4;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #emojiBtn {
    width: 30px;
  }

  #chat_inputfield {
    height: 80px;
  }
}

