

#center-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#chat-circle {
    position: fixed;
    bottom: 30px;
    right: 50px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    background: linear-gradient(135deg, #00054a 0%, #17206f 100%);
    box-shadow: 0 18px 42px rgba(0, 5, 74, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    top: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform: translateZ(0);
    will-change: transform;
    border: 3px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    font-size: 27px;
}

#chat-circle:hover,
#chat-circle:focus {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 22px 52px rgba(16, 47, 70, 0.35);
}

#chat-circle img {
    max-width: 42px;
    height: 42px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
}

.chat-widget-label {
  position: fixed;
  right: 138px;
  bottom: 56px;
  z-index: 98;
  background: rgba(255, 255, 255, 0.96);
  color: #2b2b2b;
  border: 1px solid rgba(15, 47, 70, 0.08);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(15, 32, 48, 0.12);
  backdrop-filter: blur(8px);
}

.chat-widget-label::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid rgba(15, 47, 70, 0.08);
  border-right: 1px solid rgba(15, 47, 70, 0.08);
}

.btn#my-btn {
  background: white;
  padding-top: 13px;
  padding-bottom: 12px;
  border-radius: 45px;
  padding-right: 40px;
  padding-left: 40px;
  color: #5865c3;
}

#chat-overlay {
  background: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: none;
}

.chat-box {
  display: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  position: fixed;
  right: 30px;
  bottom: 50px;
  width: 420px;
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 32, 48, 0.18);
  border: 1px solid rgba(15, 47, 70, 0.08);
  z-index: 999;
}

.chat-box-toggle {
  cursor: pointer;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  margin-left: 12px;
  opacity: 0.9;
}

.chat-box-header {
  height: 68px;
  color: #ffffff;
  text-align: left;
  font-size: 15px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #00054a 0%, #10145d 58%, #17206f 100%);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.chat-box-header b {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.chat-box-header small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 400;
}

.chat-box-brand {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
}

.chat-box-body {
  position: relative;
  overflow: hidden;
  font-size: 14px;
  background: linear-gradient(180deg, rgba(240, 248, 250, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.chat-box-body:after {
  content: "";
  /* background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgdmlld0JveD0iMCAwIDIwMCAyMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAgOCkiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGNpcmNsZSBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIgY3g9I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+PHBhdGggZmlsbD0iIzAwMCIgZD0iTTkzIDcxaDN2M2gtM3ptMzMgODRoM3YzaC0zem0tODUgMThoM3YzaC0zeiIvPjxwYXRoIGQ9Ik0zOS4zODQgNTEuMTIybDUuNzU4LTQuNDU0IDYuNDUzIDQuMjA1LTIuMjk0IDcuMzYzaC03Ljc5bC0yLjEyNy03LjExNHpNMTMwLjE5NSA0LjAzbDEzLjgzIDUuMDYyLTEwLjA5IDcuMDQ4LTMuNzQtMTIuMTF6bS04MyA5NWwxNC44MyA1LjQyOS0xMC44MiA3LjU1Ny00LjAxLTEyLjk4N3pNNS4yMTMgMTYxLjQ5NWwxMS4zMjggMjAuODk3TDIuMjY1IDE4MGwyLjk0OC0xOC41MDV6IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS4yNSIvPjxwYXRoIGQ9Ik0xNDkuMDUgMTI3LjQ2OHMtLjUxIDIuMTgzLjk5NSAzLjM2NmMxLjU2IDEuMjI2IDguNjQyLTEuODk1IDMuOTY3LTcuNzg1LTIuMzY3LTIuNDc3LTYuNS0zLjIyNi05LjMzIDAtNS4yMDggNS45MzYgMCAxNy41MSAxMS42MSAxMy43MyAxMi40NTgtNi4yNTcgNS42MzMtMjEuNjU2LTUuMDczLTIyLjY1NC02LjYwMi0uNjA2LTE0LjA0MyAxLjc1Ni0xNi4xNTcgMTAuMjY4LTEuNzE4IDYuOTIgMS41ODQgMTcuMzg3IDEyLjQ1IDIwLjQ3NiAxMC44NjYgMy4wOSAxOS4zMzEtNC4zMSAxOS4zMzEtNC4zMSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuMjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvZz48L3N2Zz4="); */
  opacity: 0.1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  position: absolute;
  z-index: -1;
}

#chat-input {
  background: #ffffff;
  width: 100%;
  position: relative;
  height: 52px;
  padding: 10px 58px 10px 16px;
  border: 1px solid rgba(15, 47, 70, 0.08);
  resize: none;
  outline: none;
  color: #2a3b4d;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(15, 47, 70, 0.05);
  font-size: 14px;
}

.chat-input > form {
  margin-bottom: 0;
}

#chat-input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: #ccc;
}

#chat-input::-moz-placeholder {
  /* Firefox 19+ */
  color: #ccc;
}

#chat-input:-ms-input-placeholder {
  /* IE 10+ */
  color: #ccc;
}

#chat-input:-moz-placeholder {
  /* Firefox 18- */
  color: #ccc;
}


.chat-logs {
  padding: 18px 16px 12px;
  height: 470px;
  overflow-y: auto;
  margin-bottom: 0;
  background:
    radial-gradient(circle at top left, rgba(44, 148, 163, 0.08), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(247, 250, 252, 0.8));
}

.chat-logs::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

.chat-logs::-webkit-scrollbar {
  width: 5px;
  background-color: #f5f5f5;
}

.chat-logs::-webkit-scrollbar-thumb {
  background-color: rgb(0 74 77);
}

@media only screen and (max-width: 500px) {
  .chat-widget-label {
    right: 104px;
    bottom: 54px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .chat-logs {
    height: 40vh;
  }
}

.chat-msg-bot.user > .msg-avatar img {
  /* width: 45px;
    height: 45px; */
  border-radius: 50%;
  float: left;
  width: 15%;
}

.chat-msg.user > .msg-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  float: left;
  width: 15%;
}

.chat-msg.self > .msg-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  float: right;
  width: 15%;
}

.chat-submit {
  position: absolute !important;
  bottom: 7px;
  right: 8px;
  box-shadow: none;
  border: none;
  border-radius: 50%;
  width: 38px !important;
  height: 38px !important;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #00054a 0%, #17206f 100%);
  box-shadow: 0 10px 18px rgba(0, 5, 74, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(16, 47, 70, 0.28);
}

.cm-msg-text {
  background: linear-gradient(135deg, #edf7fa 0%, #f7fbfd 100%);
  padding: 12px 15px;
  color: #2b3d4d;
  max-width: 82%;
  float: left;
  margin-left: 10px;
  position: relative;
  margin-bottom: 16px;
  border-radius: 18px 18px 18px 6px;
  word-wrap: break-word;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(15, 32, 48, 0.06);
  border: 1px solid rgba(15, 47, 70, 0.04);
}

.cm-msg-bot {
  background: linear-gradient(135deg, #ffffff 0%, #eef8fb 100%);
  padding: 12px 15px;
  color: #1d2f3d;
  max-width: 82%;
  float: left;
  margin-left: 10px;
  position: relative;
  margin-bottom: 16px;
  border-radius: 18px 18px 6px 18px;
  word-wrap: break-word;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(15, 32, 48, 0.06);
  border: 1px solid rgba(15, 47, 70, 0.05);
}
.cm-msg-bot ul {
  padding: 0 0 0 18px;
  margin: 8px 0 0;
}
.cm-msg-bot ul li {
  list-style: disc;
  margin-bottom: 6px;
}
.cm-msg-bot p,
.cm-msg-bot ul,
.cm-msg-bot strong {
  margin-top: 0;
}
.cm-msg-bot a.btn {
  margin-top: 10px;
  margin-right: 8px;
  margin-bottom: 8px;
}
.chat-msg {
  clear: both;
  display: flow-root;
}

.chat-msg.self > .cm-msg-text {
  float: right;
  margin-right: 10px;
  background: linear-gradient(135deg, #103d59 0%, #1f7c90 100%);
  color: white;
  border-radius: 18px 18px 6px 18px;
}

.cm-msg-button > ul > li {
  list-style: none;
  float: left;
  width: 50%;
}

.cm-msg-button {
  clear: both;
  margin-bottom: 70px;
}
.chat-logs p {
  margin-bottom: 0;
}
.message-help li {
  list-style: disc !important;
}
.message-white{
  margin-bottom: 10px;
}
.message-white li{
  width: 100% !important;
  background: linear-gradient(135deg, #ffffff 0%, #eef8fb 100%);
  padding: 5px 10px;
  color: #1d2f3d;
  max-width: 82%;
  float: left;
  margin-left: 10px;
  position: relative;
  margin-bottom: 10px;
  border-radius: 18px 18px 6px 18px;
  word-wrap: break-word;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(15, 32, 48, 0.06);
  border: 1px solid rgba(15, 47, 70, 0.05);
}

.cm-msg-bot p:first-child {
  color: #00054a;
  font-weight: 700;
}

#chat-circle {
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 18px;
  background: var(--color-primary, #0b0fb1);
  box-shadow: 0 14px 32px rgba(11, 15, 177, 0.28);
  font-size: 24px;
}

#chat-circle:hover,
#chat-circle:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(11, 15, 177, 0.34);
}

.chat-widget-label {
  right: 102px;
  bottom: 43px;
  border-color: #e5e7f4;
  border-radius: 8px;
  color: #272b42;
  box-shadow: 0 10px 28px rgba(24, 27, 62, 0.12);
}

.chat-box {
  right: 24px;
  bottom: 100px;
  width: min(410px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(680px, calc(100vh - 120px));
  border: 1px solid #e4e6f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 64px rgba(18, 21, 69, 0.22);
}

.chat-box-header {
  min-height: 76px;
  height: auto;
  padding: 12px 16px;
  background: var(--color-primary, #0b0fb1);
}

.chat-box-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.chat-box-brand {
  display: flex;
  width: 112px;
  height: 42px;
  flex: 0 0 112px;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #ffffff;
}

.chat-box-brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.chat-box-header b {
  display: block;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.chat-box-header small {
  position: relative;
  margin-top: 5px;
  padding-left: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.chat-box-header small::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54d6a1;
  content: "";
}

.chat-box-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.chat-box-body {
  background: #f5f6fb;
}

.chat-logs {
  height: clamp(300px, 54vh, 470px);
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, #f6f7fc 0%, #ffffff 100%);
}

.cm-msg-bot {
  float: none;
  max-width: 100%;
  margin: 0;
  padding: 14px 15px;
  border: 1px solid #e6e8f1;
  border-radius: 12px 12px 12px 4px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(22, 26, 68, 0.05);
  color: #373b50;
  font-size: 14px;
  line-height: 1.55;
}

.cm-msg-bot p {
  margin: 0 0 10px;
  color: inherit;
  font-weight: 400;
}

.cm-msg-bot p:last-child {
  margin-bottom: 0;
}

.cm-msg-bot p:first-child {
  color: var(--color-primary, #0b0fb1);
  font-weight: 700;
}

.cm-msg-bot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-msg-bot ul li {
  margin: 4px 0 0;
  list-style: none;
}

.chat-msg-bot,
.chat-msg-options {
  clear: both;
  margin-bottom: 12px;
}

.chat-choice-list {
  display: grid;
  gap: 8px;
  padding-left: 10px;
}

.chat-choice {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(11, 15, 177, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-primary, #0b0fb1);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.chat-choice:hover:not(:disabled),
.chat-choice:focus-visible {
  border-color: var(--color-primary, #0b0fb1);
  background: #f0f1ff;
}

.chat-choice:disabled {
  cursor: default;
  opacity: 0.58;
}

.chat-msg.self > .cm-msg-text {
  max-width: 88%;
  margin: 0 0 12px;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px 12px 4px 12px;
  background: var(--color-primary, #0b0fb1);
  box-shadow: 0 5px 15px rgba(11, 15, 177, 0.16);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
}

.chat-input {
  padding: 12px 14px;
  border-top: 1px solid #e9eaf1;
  background: #ffffff;
}

.chat-input > form {
  position: relative;
}

#chat-input {
  height: 46px;
  padding: 10px 54px 10px 14px;
  border: 1px solid #e1e3ec;
  border-radius: 8px;
  box-shadow: none;
  color: #292d40;
}

#chat-input:focus {
  border-color: var(--color-primary, #0b0fb1);
  box-shadow: 0 0 0 3px rgba(11, 15, 177, 0.1);
}

.chat-submit {
  right: 5px;
  bottom: 4px;
  width: 38px !important;
  height: 38px !important;
  border-radius: 7px;
  background: var(--color-primary, #0b0fb1);
  box-shadow: none;
}

.chat-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(11, 15, 177, 0.22);
}

@media only screen and (max-width: 500px) {
  #chat-circle {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .chat-widget-label {
    right: 88px;
    bottom: 34px;
  }

  .chat-box {
    left: 12px;
    right: 12px;
    bottom: 88px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 104px);
  }

  .chat-logs {
    height: clamp(220px, 42dvh, 360px);
    min-height: 200px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .chat-box-brand {
    width: 96px;
    flex-basis: 96px;
  }
}