html {
  scroll-behavior: smooth;
}

:root {
  --main-bg-color: #3a7bd5;
}

::-webkit-scrollbar {
  width: 4px;
  height: 6px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--main-bg-color);
  border-radius: 8px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--main-bg-color);
}

body {
  margin: 0;
  padding: 0;
  background-color: #eee;
}

.theme-container {
  width: 60%;
  margin: auto;
}

.theme-container p {
  padding: 8px 12px;
  font-size: 14px;
}

.theme-div {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  background-color: var(--main-bg-color);
}

.icon {
  height: 100px;
  width: 150px;
  pointer-events: none;
}

.chat {
  color: white !important;
  padding: 8px 12px;
  font-size: 28px !important;
  position: absolute;
  bottom: 20px;
  right: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  /* transform: rotateY(180deg); */
  transition: ease 0.3s all;
}

.loader {
  font-family: "cabin";
  position: fixed !important;
  height: 88vh !important;
  width: 420px !important;
  /* bottom: 0; */
  right: 20px;
  top: 20%;
  bottom: 0px;
  box-shadow: 0 0 3px #0000007d;
  border-radius: 6px;
  border: solid #ccc 1px;
  background-color: #fff;
  display: none;
  z-index: 1000;
  border-radius: 10px;
  zoom: 90%;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.loader-heading {
  font-size: 18px !important;
  color: #8605c2;
}

.spinner-border {
  color: #473080;
}

.chatDiv {
  font-family: "cabin";
  position: fixed !important;
  height: 88vh !important;
  width: 420px !important;
  /* bottom: 0; */
  right: 20px;
  top: 20%;
  bottom: 0px;
  box-shadow: 0 0 3px #0000007d;
  border-radius: 6px;
  border: solid #ccc 1px;
  background-color: #fff;
  display: none;
  z-index: 1000;
  border-radius: 10px;
  zoom: 90%;
}

.chatHeader {
  border-bottom: solid 1.5px #bbb;
  padding: 0.5rem 0.675rem;
}

.chatHeader-icon {
  color: var(--main-bg-color);
  font-size: 22px;
}

.chatHeader h5 {
  font-size: 15px !important;
  font-weight: 600;
  margin: auto;
}

.chat-header-icon {
  width: 50px;
  height: 40px;
}

.activeDiv {
  width: 8px;
  height: 7px;
  border-radius: 50%;
  background-color: green;
  margin: 28px auto auto 0.785rem;
}

.closeBtn {
  padding: 5px 8px;
  border: 0;
  border-radius: 50%;
  color: white;
  background-color: var(--main-bg-color) !important;
  cursor: pointer;
  outline: none !important;
  font-size: 12px !important;
  margin: auto 0;
}

.closeBtn:hover {
  transform: scale(1.2);
  transition: 0.1s all ease-in;
}

.chatFooter {
  border-top: solid 1.5px #bbb;
  padding: 0.375rem 0.675rem;
  position: absolute;
  bottom: 0;
  background: #e7e7e7;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  overflow: hidden;
  z-index: 1000;
  display: flex;
}

.chatForm {
  width: 100%;
}

.submit {
  padding: 8px 12px;
  border: 0;
  border-radius: 50%;
  color: white;
  background-color: var(--main-bg-color);
  cursor: pointer;
  outline: 0 !important;
}

.chatInput {
  box-shadow: none !important;
  font-size: 14px;
  transition: 0.2s border ease-in-out;
  border: solid 1.5px #bbb;
  border-radius: 6px;
  color: gray;
  padding: 20px;
  font-size: 12px !important;
  border-radius: 30px;
}

.chat-mic {
  color: rgba(0, 0, 0, 0.596);
  background-color: #ffffff;
  font-weight: bold;
  border: solid 1px #0000005c;
}

.chatInput:focus {
  border: solid 1.5px var(--main-bg-color);
}

.chatBody,
.settings-screen,
.paymentDiv {
  overflow: scroll;
  flex-direction: column;
  height: 73vh;
  font-size: 14px !important;
  padding-left: 8px;
  padding-right: 8px;
  scroll-behavior: smooth;
  /* background-image: url('../images/chat-background.jpg');
    background-position: center;
    background-repeat: repeat;
    background-size: cover; */
}

.settings-screen {
  display: none;
  overflow: hidden !important;
  height: 70vh;
  transition: opacity 0.8s;
}

.settings-options {
  padding: 1rem;
  border-bottom: solid 1px #dddddd;
}

.user {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 0.775rem;
  margin-bottom: 0.4rem;
  transition: ease 0.3s all;
}

.user-content {
  padding: 0.525rem 0.675rem !important;
  background-color: var(--main-bg-color);
  border-radius: 6px;
  margin-bottom: 0 !important;
  font-weight: 500;
  font-size: 12px !important;
  color: white !important;
  margin-left: 70px;
  line-height: 20px;
  text-align: left;
  box-shadow: 0 0 2px 0px var(--main-bg-color);
  position: relative;
}

.bot {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  transition: ease 0.3s all;
  align-items: flex-end;
}

.bot-content {
  padding: 0.525rem 0.675rem !important;
  background-color: #f3f3f3;
  margin-bottom: 0 !important;
  font-weight: 500;
  font-size: 12px !important;
  line-height: 23px;
  border-radius: 6px;
  margin-right: 70px;
  position: relative;
  color: gray !important;
}

/* .bot-content::before {
    content: " ";
    bottom: 0px;
    border-style: solid;
    border-width: 6px 22px 10px 0px;
    border-color: transparent #ececec transparent transparent;
    position: absolute;
    left: -21px;
} */

/* .user-content::before {
    content: " ";
    bottom: 0px;
    border-style: solid;
    border-width: 8px 20px 10px 15px;
    border-color: transparent transparent transparent var(--main-bg-color);
    position: absolute;
    right: -32px;
} */

.btn-category,
.btn-subCategory,
.optionBtn,
.default-setting,
.exit-setting {
  color: var(--main-bg-color);
  background-color: white;
  border: solid 1.5px var(--main-bg-color);
  border-radius: 20px;
  font-weight: 600;
  padding: 6px 12px;
  outline: 0 !important;
  cursor: pointer;
  margin-left: 1rem;
  margin-top: 0.675rem;
  font-size: 12px !important;
  transition: 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-category::before,
.btn-subCategory::before,
.optionBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 0%;
  background-color: var(--main-bg-color) !important;
  z-index: -1;
  transition: 0.3s ease-in-out;
  border-radius: 0;
  transform-origin: bottom;
  margin: auto;
}

.select::before,
.tableBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 0%;
  background-color: white !important;
  z-index: -1;
  transition: 0.3s ease-in-out;
  border-radius: 0;
  transform-origin: bottom;
  margin: auto;
}

.btn-category:hover::before,
.btn-subCategory:hover::before,
.optionBtn:hover::before,
.select:hover::before,
.tableBtn:hover::before {
  width: 100%;
  border-radius: 50%;
  height: 180%;
}

.btn-category:hover,
.btn-subCategory:hover,
.optionBtn:hover,
.tableBtn:hover,
.default-setting:hover,
.exit-setting:hover {
  background-color: var(--main-bg-color);
  color: white;
  font-weight: 500;
}

.selected {
  pointer-events: none;
  opacity: 0.9;
  user-select: none;
}

.active {
  background-color: var(--main-bg-color) !important;
  color: white;
}

@media screen and (max-width: 600px) {
  .chatDiv,
  .loader,
  .speechDiv {
    height: 100vh !important;
    width: 100% !important;
    position: initial !important;
    overflow: hidden;
    position: relative;
  }

  .chatBody {
    height: 86vh;
    position: relative;
    display: flex;
  }

  .chatFooter {
    position: fixed;
  }

  .theme-container {
    display: none;
  }

  .themeOptions {
    margin-left: -4.25rem;
  }
}

.loading-gif {
  width: 30px;
  height: 8px;
}

.timestamp {
  margin: 0;
  font-size: 10px !important;
  font-weight: 600;
  margin-left: 22px;
  margin-right: 22px;
  color: #0000007d !important;
  margin-bottom: 1rem;
}

.user-img,
.bot-img {
  width: 25px;
  height: 20px;
  border-radius: 50%;
}

.btn-wrapper,
.opt-wrapper {
  margin-left: 20px;
  margin-bottom: 30px;
}

.submit:hover {
  color: rgb(0, 125, 252);
  background: white;
  box-shadow: rgba(2, 6, 16, 0.2) 0px 6px 24px;
  transition: 0.3s ease-in-out;
}

.scrollDown {
  position: absolute;
  bottom: 70px;
  right: 20px;
  background: #eee;
  color: black;
  z-index: 124011;
  font-size: 15px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50%;
  box-shadow: 0 0 15px var(--main-bg-color);
  cursor: pointer;
  transition: 0.2s ease-in;
}

.rotate {
  transform: rotateX(180deg);
}

.rotateDown {
  transform: rotateX(0deg);
}

.horzCard {
  background: white;
  padding: 0.375rem 0.375rem 0.675rem 0.375rem;
  box-shadow: 0px 0px 2px #000000d6;
  border-radius: 10px;
  transition: 0.3s transform ease;
}

.horzCard:hover {
  transform: translateY(-5px);
  border: solid 1.5px var(--main-bg-color);
  box-shadow: 0 0 7px var(--main-bg-color);
}

.horzCard-table {
  padding: 0.375rem;
  padding-left: 0.575rem !important;
  font-size: 11px;
  font-weight: bold;
  color: #000000b0;
}

.horzCard-btn {
  text-align: center;
}

.select,
.tableBtn {
  margin-left: 0.5rem !important;
  font-size: 10px !important;
  margin-top: 0.375rem !important;
  background-color: var(--main-bg-color);
  color: white;
  font-size: 10px;
  border-radius: 13px;
  font-weight: 600;
  padding: 6px 12px;
  outline: 0 !important;
  cursor: pointer;
  font-size: 12px !important;
  border: none;
  transition: all 0.2s ease-in-out;
  position: relative;
  overflow: hidden;
}

.select:hover,
.tableBtn:hover {
  background-color: white;
  border: solid 1.5px var(--main-bg-color);
  color: var(--main-bg-color);
  font-weight: 600;
}

.card-span {
  outline: none !important;
  color: var(--main-bg-color);
}

.horzCard-img {
  width: 120px;
  height: 90px;
  border-radius: 50%;
}

.card-wrapper {
  display: flex;
  padding: 1rem 0.375rem 1rem 0.875rem;
  overflow-x: scroll;
  margin-bottom: 1rem;
}

/* td,
th {
    border: 1px solid #cccccc;
    text-align: left;
    padding: 7px;
    font-size: 12px;
} */

table {
  width: 100% !important;
  border-collapse: collapse;
  margin: auto !important;
  font-size: 12px;
  text-transform: capitalize;
}

.tableHeader-icon {
  background-color: #eeeeee;
  border-radius: 50%;
}

.vert-wrapper {
  border: solid 1.5px darkgray;
  width: 80%;
  margin: auto;
  padding-bottom: 10px;
  border-radius: 5px;
}

.tableHead {
  color: var(--main-bg-color);
}

.speechDiv {
  position: absolute;
  height: 80vh;
  width: 420px;
  bottom: 20px;
  right: 20px;
  border: solid #ccc 1px;
  border-bottom: 0px;
  background-color: #fff;
  z-index: 1001;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  display: none;
  zoom: 90%;
}

.mic {
  padding: 8px 12px;
  border-radius: 50%;
  background: #ff0000e0 !important;
  color: white !important;
  animation: animate 0.4s infinite linear alternate-reverse;
}

@keyframes animate {
  0% {
    transform: scale(1.2);
  }

  25% {
    transform: scale(1.1);
  }

  75% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.9);
  }
}

.close-mic {
  position: absolute;
  top: 15px;
  border-radius: 50%;
  right: 15px;
  color: white;
  padding: 4px 6px;
  background: var(--main-bg-color);
  cursor: pointer;
  font-size: 12px;
}

.captured-txt {
  padding: 8px 12px;
  background-color: #eee;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.753);
  border-radius: 6px;
}

.speech-txt {
  padding: 30px;
}

.speech-wrapper {
  flex-direction: column;
}

.hyper-link {
  color: #ff0000cc;
  font-weight: bold;
  font-size: 11px;
}

.dropdown-item:active {
  background-color: transparent !important;
}

.dropdown-item {
  transition: all 0.375s cubic-bezier(0.4, 0, 0.2, 1);
  color: rgba(0, 0, 0, 0.788);
  font-size: 12px !important;
}

.dropdown-item:hover {
  background-color: transparent;
  transform: scale(1.1);
}

.paymentDiv {
  display: none;
}

.color-span {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.475rem;
}

.themeOptions {
  min-width: 0rem;
  border: 0px;
  background-color: white;
  box-shadow: 0 0 2px black;
  border-radius: 6px;
  margin-top: 12px;
}

.theme-picker {
  border-radius: 50%;
  background-color: #f7f7f7;
  padding: 0.25em 0.6rem;
  color: var(--main-bg-color);
}

.mic-active {
  border-color: red;
  text-align: center;
  pointer-events: none;
}

.alert-box {
  padding: 5px 6px;
  text-align: center;
  font-size: 13px !important;
  line-height: 26px;
  border-radius: 5px;
  font-family: cursive;
  letter-spacing: 0.7px;
  text-transform: capitalize;
  color: #155724;
  background-color: #d4edda;
  border-color: solid 1px #c3e6cb;
  z-index: 2012;
  /* color: #004085;
    background-color: #cce5ff;
    border: #b8daff solid 1px; */
}

.alert-div {
  display: none;
  width: 0%;
  z-index: 28542;
  backdrop-filter: blur(3px);
  padding: 10px 0px;
}

.list-style {
  color: var(--main-bg-color) !important;
  font-size: 12px !important;
}

/* tr:nth-child(even) {
    background-color: #dddddd;
} */
