:root {
  --body-bg: #e0f2f1;
  --msger-bg: #f9f9f9;
  --border: 2px solid #1e1e1e;
  --left-msg-bg: #009688;
  --left-msg-bg-dark: #00695c;
  --right-msg-bg: #26a69a;
  --right-msg-bg-dark: #00796b;
  --primary: #004d40;
  --square-size: 15px;
  --square-gap: 5px;
  --week-width: calc(var(--square-size) + var(--square-gap));
  --tape-gray: #dbd8be;
  --tape-edge-gray: #b7b49d;
  --transparent: rgba(255, 255, 255, 0);
  --white: white;
  --gray: #999;
  --lightgray: whitesmoke;
  --darkgreen: #2a9d8f;
  --primary-rgb: 38, 166, 154; /* RGB values for your primary color */
}

html {
  scroll-behavior: smooth !important;
}

body {
  background-color: var(--body-bg);
  font-family: "Roboto", sans-serif;
}

.auto_height {
  /* CSS */
  width: 100%;
}

.chat-box {
  background-color: var(--msger-bg);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
  height: 100vh;
}

.chat-box.dark-mode {
  background-color: #2c2c2c;
}

#user-action {
  position: relative;
  border-top: 1px solid rgb(216, 216, 216);
  background-color: #fff;
}

.chat-box.dark-mode #user-action {
  background-color: #3b3b3b;
  border-top-color: #5a5a5a;
}

#user_action_holder {
  height: 65.5px;
}

.fs-8 {
  font-size: 12px;
}

textarea {
  border: 0px;
  outline: none;
  width: 100%;
  padding: 20px 115px 20px 50px;
  font-size: 17px;
  font-family: "Roboto", sans-serif;
  resize: none;
  margin-bottom: -6px;
  max-height: 200px;
  background: transparent;
}

.chat-box.dark-mode textarea {
  color: #e0e0e0;
}

button#btn_send {
  position: absolute;
  right: 55px;
  top: 12px;
  border: none;
  background-color: transparent;
}

button#btn_aiaction {
  position: absolute;
  right: 5px;
  top: 12px;
  border: none;
  background-color: transparent;
}

button#btn_microphone {
  position: absolute;
  left: 0px;
  top: 9.5px;
  border: none;
  background-color: transparent;
}

button#btn_aiaction svg {
  width: 45px;
  padding: 10px;
}

button#btn_microphone svg {
  width: 35px;
  padding: 8px;
}

.chat-box.dark-mode #btn_send img {
  filter: invert(1);
}

.chat-box.dark-mode #btn_aiaction svg {
  fill: #ddd;
}

.chat-box.dark-mode #btn_microphone svg {
  fill: #ddd;
}

#chat-holder {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  padding: 30px 30px 30px 40px;
  line-height: 180%;
  vertical-align: top;
  position: relative;
  cursor: auto;
  resize: none;
  outline: none;
  border: none;
  overflow-y: auto;
  flex: 1 1 auto;
}

/* Add a media query for smaller devices */
@media screen and (max-width: 991px) {
  #chat-holder {
    padding: 80px 30px 30px 30px;
  }
}

#chat-holder::-webkit-scrollbar {
  width: 10px;
}

#chat-holder::-webkit-scrollbar-thumb {
  background: #cacaca;
  border-radius: 4px;
}

.chat-box.dark-mode #chat-holder::-webkit-scrollbar-thumb {
  background: #5a5a5a;
}

.chat-box.dark-mode .empty_chat {
  color: #e0e0e0;
}

.empty_chat {
  /* top: 50%;
    transform: translateY(-50%); */
  position: relative;
}

.empty_chat img {
  width: 350px;
}

.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
  transition: width 0.2s ease;
}

.msg-text {
  color: #fff;
  font-weight: 100;
  font-family: sans-serif;
  letter-spacing: 0.6px;
}

a.muted_link:hover {
  cursor: pointer;
}

.msg:last-of-type {
  margin: 0;
}

.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

.msg-bubble {
  max-width: 550px;
  padding: 15px;
  border-radius: 25px;
  background: var(--left-msg-bg);
  transition: 1s all;
}

.chat-box.dark-mode .msg-bubble {
  background: var(--left-msg-bg-dark);
}

.ff-fancy {
  font-family: "Patua One", "Roboto", cursive;
}

.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  transition: 1s all;
}

.msg-info-name {
  margin-right: 10px;
  font-family: "Patua One", "Roboto", cursive;
  color: #eee;
  letter-spacing: 0.6px;
  display: inline-block;
  font-size: 17px;
  transition: 1s all;
}

.msg-info-img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  margin-left: -3px;
  margin-top: -2px;
  border-radius: 50%;
  display: inline-block;
  background-size: cover;
  vertical-align: middle;
  transition: 1s all;
}

.msg-info-time {
  font-size: 0.85em;
  color: #ccc;
  display: inline-block;
  transition: 1s all;
}

.msg-actions {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-right: 10px;
}

.msg-actions img {
  width: 18px;
  opacity: 0.7;
  transform: 1s all;
  margin-top: -1px;
}

.msg-actions img:hover {
  cursor: pointer;
  opacity: 1;
  transform: 1s all;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}

.right-msg {
  flex-direction: row-reverse;
}

.msg-bubble:hover .msg-actions {
  opacity: 1;
}

.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  border-bottom-right-radius: 0;
  transition: 1s all;
}

.chat-box.dark-mode .right-msg .msg-bubble {
  background-color: var(--right-msg-bg-dark);
}

.right-msg .msg-img {
  margin: 0 0 0 10px;
}

@keyframes slide-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-animated {
  animation: slide-fade-in 0.4s ease-out forwards;
}

.date_link {
  color: #ccc !important;
  transition: 0.2s all;
}

.nav-item {
  border-radius: 10px;
  transition: 0.2s all;
}

.nav-item:hover,
.nav-item:hover span {
  background: #2b3036 !important;
  transition: 0.2s all !important;
  cursor: pointer;
  color: #eee !important;
}

.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.footer .nav-item:hover a {
  color: #eee !important;
}

.nav-item:hover .date_link,
.nav-link.active .date_link {
  color: #eee !important;
  transition: 0.2s all;
}

.nav-link.active {
  background: #333a42 !important;
  color: #eee !important;
  border-radius: 10px !important;
}

.nav-link {
  position: relative;
}

.nav-link .btn_ai {
  display: none;
  position: absolute;
  right: 8px;
  top: 12px;
}

.nav-link .btn_ai svg {
  width: 30px;
  fill: #eee;
  padding: 5px;
  margin-top: 2px;
}

.nav-link.active .btn_ai {
  display: inline-block;
}

.navbar {
  z-index: 1000;
}

.offcanvas {
  width: 100%;
  max-width: 300px;
  z-index: 1059;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.card-img-top {
  text-align: center;
  font-size: 45px;
}

.btn-onboard {
  padding: 5px 10px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
}

.btn-onboard:hover {
  border-bottom: 3px solid var(--primary);
}

.btn-primary:hover {
  color: #eee;
  background-color: #003f34;
  border-color: #003f34;
}

.btn-primary:active,
.btn-primary:focus {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #ddd;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary {
  color: #ddd;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  color: #fff;
  background-color: var(--left-msg-bg-dark);
  border-color: var(--left-msg-bg-dark);
}

.btn-secondary:active,
.btn-secondary:focus {
  background-color: var(--right-msg-bg-dark);
  border-color: var(--right-msg-bg-dark);
}

.btn-secondary.disabled,
.btn-secondary:disabled {
  color: #eee;
  background-color: var(--right-msg-bg-dark);
  border-color: var(--right-msg-bg-dark);
}

.btn-secondary {
  color: #eee;
  background-color: var(--right-msg-bg-dark);
  border-color: var(--right-msg-bg-dark);
}

.footer .btn-toolbar .btn-primary {
  background-color: transparent;
  border-color: #6c757d;
  color: #6c757d;
}

.footer .btn-toolbar .btn-primary:hover {
  background-color: #333;
}

.btn-toolbar .btn-primary svg {
  width: 22px;
  height: 22px;
  margin-top: -4px;
  fill: #aaa;
}

.footer .btn-toolbar .btn-primary svg {
  padding: 2px;
}

.menu_options img {
  width: 20px;
  margin-top: -4px;
  opacity: 0.7;
  transition: 0.5s all;
}

.menu_options .btn:hover img {
  opacity: 1;
  transition: 0.5s all;
}

.action_card {
  transition: 0.25s all;
}

.action_card:hover {
  cursor: pointer;
  background-color: var(--msger-bg);
}

.link-text div {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.8;
  padding-left: 12px;
}

.link-text {
  padding-top: 8px;
  padding-bottom: 8px;
  margin: 20px auto;
  border-left: 4px solid var(--right-msg-bg-dark);
  background: var(--right-msg-bg);
  color: var(--msger-bg);
  border-radius: 5px;
}

.link_actions input {
  font-size: 12px;
}

.link_actions img {
  width: 20px;
  margin-top: -3px;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control {
  font-size: 1rem;
  border-radius: 0.25rem;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 77, 64, 0.25);
  border-color: var(--primary);
}

#aiDiaryActivateModal .form-control,
#aiDiaryCreateModal .form-control,
#aiDiaryCreateModal .form-select,
#profileModal .form-control,
#profileModal .form-select,
#settingsModal .form-control,
#settingsModal .form-select,
#voiceSettingsModal .form-control,
#voiceSettingsModal .form-select,
#search_modal .form-control {
  background: #f8f8f8;
  padding: 15px 20px;
  border: 1px solid rgba(0, 77, 64, 0.15);
  border-radius: 8px;
}

.open-modal-link {
  position: absolute;
  bottom: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 13px;
}

.open-modal-link img {
  width: 18px;
  margin-top: -5px;
  margin-left: 3px;
}

/* ======= ======= ======= ======= */
/*  ======= SELECT ======= */
/* ======= ======= ======= ======= */

.tools {
  margin-top: auto;
}

.scrollable-container {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 0;
}

.scrollable-container .nav {
  height: 1px;
}

.day_mood {
  position: absolute;
  left: 15px;
  border-radius: 50%;
  height: 24px;
  width: 24px;
}

.day_mood svg {
  fill: #999;
  width: 18px;
  display: inline-block;
  margin-top: -2px;
}

.mood_selector {
  font-family: "Roboto", sans-serif;
  background: var(--primary);
  color: #eee;
  padding: 5px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

.select {
  display: inline-block;
  font-family: "Roboto", sans-serif;
}

.select select {
  display: none;
  /*hide original SELECT element: */
}

.select-selected {
  background-color: var(--primary);
}

.border-dark {
  border-color: #555 !important;
}

.footer {
  font-size: 0.85rem !important;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
  color: #eee;
  padding: 8px 6px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
}

.select-items div {
  padding: 12px 6px;
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: var(--primary);
  bottom: 70px;
  left: 0;
  right: 0;
  z-index: 99;
  max-height: 400px;
  overflow-y: overlay;
  border-radius: 10px;
}

.select-items::-webkit-scrollbar {
  width: 5px;
}

.select-items::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.select-items div:hover,
.same-as-selected {
  background-color: #003930;
}

/* ======= ======= ======= ======= */
/*  ======= SNACKBAR ======= */
/* ======= ======= ======= ======= */
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden;
  /* Hidden by default. Visible on click */
  min-width: 250px;
  /* Set a default minimum width */
  margin-left: -125px;
  /* Divide value of min-width by 2 */
  background-color: #333;
  /* Black background color */
  color: #fff;
  /* White text color */
  text-align: center;
  /* Centered text */
  border-radius: 2px;
  /* Rounded borders */
  padding: 16px;
  /* Padding */
  position: fixed;
  /* Sit on top of the screen */
  z-index: 1;
  /* Add a z-index if needed */
  left: 50%;
  /* Center the snackbar */
  bottom: 30px;
  /* 30px from the bottom */
  font-family: "Roboto", sans-serif;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
    However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

/* LANDING PAGE */

.typewriter {
  position: relative;
  text-align: center;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: auto;
}
.typewriter .text {
  font-size: 4rem;
  font-weight: bold;
  color: #005242;
  font-family: "Patua One", cursive;
}

@media screen and (max-width: 991px) {
  .typewriter .text {
    font-size: 2rem !important;
  }
}

.fancybg {
  position: relative;
}

.fancybg::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1500'%3E%3Cdefs%3E%3Crect stroke='%23ffffff' stroke-width='0.7' width='1' height='1' id='s'/%3E%3Cpattern id='a' width='3' height='3' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cuse fill='%23fcfcfc' href='%23s' y='2'/%3E%3Cuse fill='%23fcfcfc' href='%23s' x='1' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s' x='2' y='2'/%3E%3Cuse fill='%23fafafa' href='%23s'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='2'/%3E%3Cuse fill='%23f7f7f7' href='%23s' x='1' y='1'/%3E%3C/pattern%3E%3Cpattern id='b' width='7' height='11' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s'/%3E%3Cuse href='%23s' y='5' /%3E%3Cuse href='%23s' x='1' y='10'/%3E%3Cuse href='%23s' x='2' y='1'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='8'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='5' y='2'/%3E%3Cuse href='%23s' x='5' y='6'/%3E%3Cuse href='%23s' x='6' y='9'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='h' width='5' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23f5f5f5'%3E%3Cuse href='%23s' y='5'/%3E%3Cuse href='%23s' y='8'/%3E%3Cuse href='%23s' x='1' y='1'/%3E%3Cuse href='%23s' x='1' y='9'/%3E%3Cuse href='%23s' x='1' y='12'/%3E%3Cuse href='%23s' x='2'/%3E%3Cuse href='%23s' x='2' y='4'/%3E%3Cuse href='%23s' x='3' y='2'/%3E%3Cuse href='%23s' x='3' y='6'/%3E%3Cuse href='%23s' x='3' y='11'/%3E%3Cuse href='%23s' x='4' y='3'/%3E%3Cuse href='%23s' x='4' y='7'/%3E%3Cuse href='%23s' x='4' y='10'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='c' width='17' height='13' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23f2f2f2'%3E%3Cuse href='%23s' y='11'/%3E%3Cuse href='%23s' x='2' y='9'/%3E%3Cuse href='%23s' x='5' y='12'/%3E%3Cuse href='%23s' x='9' y='4'/%3E%3Cuse href='%23s' x='12' y='1'/%3E%3Cuse href='%23s' x='16' y='6'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='d' width='19' height='17' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23ffffff'%3E%3Cuse href='%23s' y='9'/%3E%3Cuse href='%23s' x='16' y='5'/%3E%3Cuse href='%23s' x='14' y='2'/%3E%3Cuse href='%23s' x='11' y='11'/%3E%3Cuse href='%23s' x='6' y='14'/%3E%3C/g%3E%3Cg fill='%23efefef'%3E%3Cuse href='%23s' x='3' y='13'/%3E%3Cuse href='%23s' x='9' y='7'/%3E%3Cuse href='%23s' x='13' y='10'/%3E%3Cuse href='%23s' x='15' y='4'/%3E%3Cuse href='%23s' x='18' y='1'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='e' width='47' height='53' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23DDDDDD'%3E%3Cuse href='%23s' x='2' y='5'/%3E%3Cuse href='%23s' x='16' y='38'/%3E%3Cuse href='%23s' x='46' y='42'/%3E%3Cuse href='%23s' x='29' y='20'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='f' width='59' height='71' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23DDDDDD'%3E%3Cuse href='%23s' x='33' y='13'/%3E%3Cuse href='%23s' x='27' y='54'/%3E%3Cuse href='%23s' x='55' y='55'/%3E%3C/g%3E%3C/pattern%3E%3Cpattern id='g' width='139' height='97' patternUnits='userSpaceOnUse' patternTransform='scale(29.6) translate(-966.22 -724.66)'%3E%3Cg fill='%23DDDDDD'%3E%3Cuse href='%23s' x='11' y='8'/%3E%3Cuse href='%23s' x='51' y='13'/%3E%3Cuse href='%23s' x='17' y='73'/%3E%3Cuse href='%23s' x='99' y='57'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23b)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23h)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23c)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23d)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23e)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23f)' width='100%25' height='100%25'/%3E%3Crect fill='url(%23g)' width='100%25' height='100%25'/%3E%3C/svg%3E");
  background-attachment: fixed;
  background-size: cover;
}

#ai_actions .f-box:hover {
  cursor: pointer;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: 0.2s all;
}

.f-box {
  min-height: 200px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 77, 64, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.f-box-green {
  background: rgba(0, 77, 64, 0.5);
}

.f-box-green h4,
.f-box-green h3,
.f-box-green p {
  color: #eee;
}

.f-box svg {
  width: 25px;
  margin-right: 10px;
  margin-top: -5px;
  fill: var(--primary);
}

.features .card .list-group-item {
  background-color: transparent !important;
}

.features .card img {
  display: inline-block;
  width: 28px;
  margin-right: 5px;
  margin-top: -4px;
}

.accordion-button:not(.collapsed) {
  background: #ddd;
  color: #444;
}

.accordion-button:focus {
  box-shadow: none;
}

#demoModal .card {
  border-radius: 10px;
  background-color: #f8f8f8;
  /* background-color: var(--right-msg-bg-dark); */
  /* color: #eee; */
}

#demoModal video {
  border-radius: 10px 10px 0px 0px;
  background: url(../img/loading_video.svg);
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 1px solid #eee;
}

.fancybtn {
  display: inline-block;
  padding: 16px 48px;
  font-family: "Patua One", "Roboto", cursive;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  border: none;
  background-color: var(--primary);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease-out;
  border-radius: 40px;
}

.fancybtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: var(--left-msg-bg);
  opacity: 0.2;
  transition: all 0.3s ease-out;
}

.fancybtn:hover::before {
  width: 100%;
}

.fancybtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0%;
  width: 100%;
  background-color: var(--right-msg-bg);
  opacity: 0.2;
  transition: all 0.3s ease-out;
}

.fancybtn:hover::after {
  height: 100%;
}

.fancybtn svg {
  width: 25px;
  margin-left: 10px;
  margin-top: -5px;
}

.onboard_box {
  background: var(--primary);
  border-radius: 10px;
  padding: 20px 15px;
}

.onboard_box h2 {
  font-family: "Patua One", "Roboto", cursive;
  color: #eee;
}

.onboard_box p {
  color: #ddd;
}

.onboard_box img {
  max-width: 100%;
  width: 350px;
}

.darkbtn {
  background: #333;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
}

.whitebtn {
  background: #ddd;
  border: none;
  border-radius: 30px;
  padding: 10px 25px;
}

.whitebtn svg {
  width: 20px;
  margin-left: 10px;
  margin-top: -4px;
}

/* FANCY UPGRADE BUTTON */

.fancy_upgrade_btn {
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  z-index: 1;
  display: table;
}

.fancy_upgrade_btn button {
  position: relative;
  height: 50px;
  border: 0;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: bold;
  padding: 0px 20px;
  letter-spacing: 0.2em;
  overflow: hidden;
  box-shadow: 0 4px 12px 0 rgba(10, 10, 10, 0.3);
  z-index: -2;
  color: #eee;
}

.fancy_upgrade_btn .fill-one {
  position: absolute;
  background-image: linear-gradient(
    to right,
    var(--left-msg-bg),
    var(--left-msg-bg-dark)
  );
  height: 70px;
  width: 420px;
  border-radius: 5px;
  margin: -40px 0 0 -140px;
  z-index: -1;
  transition: all 0.4s ease;
}

.fancy_upgrade_btn:hover .fill-one {
  -webkit-transform: translateX(100px);
  -moz-transform: translateX(100px);
  transform: translateX(100px);
}

#paywall_modal button.sub_btn {
  appearance: none;
  padding: 12px;
  background: linear-gradient(
    to right,
    var(--left-msg-bg) 0%,
    var(--left-msg-bg-dark) 50%,
    var(--primary) 100%
  );
  background-size: 500%;
  border: none;
  border-radius: 5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  color: #fff;
  cursor: pointer;
  letter-spacing: 2px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-weight: bold;
  text-transform: uppercase;
}

#paywall_modal button.sub_btn:hover {
  animation-name: upgrade_gradient;
  -webkit-animation-name: upgrade_gradient;
  animation-duration: 2s;
  -webkit-animation-duration: s;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

@keyframes upgrade_gradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100%;
  }
}

modal {
  font-size: 14px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 500;
  width: 100%;
}

.modal-header {
  background-color: var(--left-msg-bg-dark);
  text-align: center;
  color: #eee;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.modal-body {
  background: #e0f2f1;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

p.modal-description {
  color: #ddd !important;
}

.modal-content {
  border-radius: 16px;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.2);
  background-color: transparent;
  border: none;
}

/* MOOD GRAPH */

.mood_months {
  grid-area: months;
}

.mood_days {
  grid-area: days;
}

.mood_squares {
  grid-area: squares;
}

.mood_graph {
  display: inline-grid;
  grid-template-areas:
    "empty months"
    "days squares";
  grid-template-columns: auto 1fr;
  grid-gap: 10px;
}

.mood_months {
  display: grid;
  grid-template-columns:
    calc(var(--week-width) * 4)
    /* Jan */
    calc(var(--week-width) * 4)
    /* Feb */
    calc(var(--week-width) * 4)
    /* Mar */
    calc(var(--week-width) * 5)
    /* Apr */
    calc(var(--week-width) * 4)
    /* May */
    calc(var(--week-width) * 4)
    /* Jun */
    calc(var(--week-width) * 5)
    /* Jul */
    calc(var(--week-width) * 4)
    /* Aug */
    calc(var(--week-width) * 4)
    /* Sep */
    calc(var(--week-width) * 5)
    /* Oct */
    calc(var(--week-width) * 4)
    /* Nov */
    calc(var(--week-width) * 5)
    /* Dec */;
  list-style: none;
  padding: 0px;
  margin: 0px;
  font-size: 12px;
}

.mood_days,
.mood_squares {
  display: grid;
  grid-gap: var(--square-gap);
  grid-template-rows: repeat(7, var(--square-size));
  list-style: none;
  padding: 0px;
  line-height: 1;
}

.mood_days {
  font-size: 12px;
  margin-top: 1px;
}

.mood_squares {
  grid-auto-flow: column;
  grid-auto-columns: var(--square-size);
}

.mood_graph {
  width: 100%;
  overflow: scroll;
}

.mood_days li:nth-child(odd) {
  visibility: hidden;
}

.mood_squares li {
  background-color: #ddd;
  list-style: none;
}

.mood_squares li[data-level="1"],
.color-block-1 {
  background-color: #fcd202;
}

.mood_squares li[data-level="2"],
.color-block-2 {
  background-color: #a9a9a9;
}

.mood_squares li[data-level="3"],
.color-block-3 {
  background-color: #85c1e9;
}

.mood_squares li[data-level="4"],
.color-block-4 {
  background-color: #e74c3c;
}

.mood_squares li[data-level="5"],
.color-block-5 {
  background-color: #af7ac5;
}

.mood_explanation ul {
  list-style: none;
}

.mood_explanation ul li {
  float: left;
  margin-right: 20px;
}

.mood_explanation .color-block {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
}

.mood_explanation .color-exp {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
}

.locked_mood_holder {
  position: relative;
}

.locked_mood_holder img {
  width: 100%;
}

.locked_mood_holder .fancy_upgrade_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 4px 30px 26px #fff;
}

/* USER LIST */

.userlist {
  width: fit-content;
}

.userlist img {
  width: 3.5rem;
  height: 3.5rem;
  border: 5px solid var(--right-msg-bg);
  margin-left: -15px;
}

.userlist-text .highlight {
  font-family: "Poppins", sans-serif;
  color: var(--right-msg-bg);
  font-weight: 600;
}

/* Social Proof Stats */
.social-proof-stats {
  background: rgba(38, 166, 154, 0.05);
  border-radius: 12px;
  padding: 2rem;
}

.stats-container {
  flex-wrap: wrap;
}

.stat-item {
  padding: 0 1.5rem;
  border-right: 1px solid rgba(38, 166, 154, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

/* Transformation Boxes */
.transformation-boxes {
  position: relative;
}

.transform-box {
  border-radius: 24px;
  padding: 2.5rem !important;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

/* Before Box Styling */
.after-box {
  background: linear-gradient(145deg, #fff1f1, #fff5f5);
  border: 1px solid rgba(255, 99, 71, 0.2);
  box-shadow: 0 4px 20px rgba(255, 99, 71, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

/* After Box Styling */
.f-box {
  background: linear-gradient(145deg, #e6f7f5, #f0fffd);
  border: 1px solid rgba(38, 166, 154, 0.2);
  box-shadow: 0 4px 20px rgba(38, 166, 154, 0.1),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

/* Box Headers */
.box-header {
  margin-bottom: 2rem;
  position: relative;
}

.box-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 1rem;
  position: relative;
}

.before-box .box-header h4 {
  color: #ff6347;
}

.f-box .box-header h4 {
  color: var(--primary);
}

.box-header h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}

.before-box .box-header h4::after {
  background: linear-gradient(90deg, #ff6347, #ff8c7a);
}

.f-box .box-header h4::after {
  background: linear-gradient(90deg, var(--primary), var(--right-msg-bg));
}

/* List Styling */
/* List Styling */
.transform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transform-list li {
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.transform-list li:hover {
  transform: translateX(8px);
}

/* Icons */
.transform-list li .icon {
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.transform-list li .icon svg {
  width: 32px;
  height: 32px;
  transition: all 0.3s ease;
}

/* Before box specific styles */
.before-box .transform-list li .icon {
  background: rgba(251, 115, 105, 0.1);
  box-shadow: 0 4px 12px rgba(251, 115, 105, 0.15);
}

.before-box .transform-list li:hover .icon {
  background: rgba(251, 115, 105, 0.2);
  transform: scale(1.1);
}

.before-box .transform-list li .icon svg {
  fill: #fb7369;
}

/* After box specific styles */
.f-box .transform-list li .icon, .after-box .transform-list li .icon {
  background: rgba(38, 166, 154, 0.1);
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.15);
}

.f-box .transform-list li:hover .icon, .after-box .transform-list li:hover .icon {
  background: rgba(38, 166, 154, 0.2);
  transform: scale(1.1);
}

.f-box .transform-list li .icon svg, .after-box .transform-list li .icon svg {
  fill: #26a69a;
}

/* Enhanced animation for list items */
.transform-list li {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.5s ease forwards;
  animation-delay: calc(var(--item-index) * 0.1s);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Add subtle line connector between items */
.transform-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 40px;
  width: 2px;
  height: calc(100% + 1rem);
  background: linear-gradient(
    to bottom,
    rgba(var(--primary-rgb), 0.1) 0%,
    rgba(var(--primary-rgb), 0.05) 100%
  );
  z-index: -1;
}

/* Enhanced Testimonial */
.paper-auth {
  margin-top: 1.5rem;
}

.auth-info {
  text-align: right;
}

.auth-name {
  font-weight: 600;
  margin-left: 0.75rem;
}

.verified-badge {
  background: rgba(38, 166, 154, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.auth-meta {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.25rem;
}

.meta-item {
  margin-left: 0.75rem;
}

/* Testimonial styles */
.paper {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 77, 64, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
  padding: 2.5rem 2rem 2rem;
  height: 100%;
  overflow: hidden;
}

.paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--right-msg-bg));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.paper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 77, 64, 0.12);
}

.paper:hover::before {
  opacity: 1;
}

.paper .top-tape {
  position: absolute;
  width: 80px;
  height: 30px;
  background: rgba(255, 215, 0, 0.15);
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(2deg);
  border-radius: 4px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.paper-msg {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.paper-msg::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.paper-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.paper-auth img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  padding: 2px;
  background: white;
  transition: transform 0.3s ease;
}

.paper-auth span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.paper:hover .paper-auth img {
  transform: scale(1.1);
}

/* Testimonials section wrapper */
.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(
    180deg,
    rgba(0, 77, 64, 0.03) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.testimonials-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .paper {
    padding: 2rem 1.5rem 1.5rem;
  }

  .paper-msg {
    font-size: 1rem;
  }

  .testimonials-header h2 {
    font-size: 2rem;
  }
}

.btn-arrow {
  position: relative;
  transition: background-color 300ms ease-out;
  padding-left: 30px;
  padding-right: 30px;
}

.btn-arrow span {
  display: inline-block;
  position: relative;
  transition: all 300ms ease-out;
  will-change: transform;
}

.btn-arrow:hover span {
  transform: translate3d(-0.8rem, 0, 0);
}

.btn-arrow svg {
  position: absolute;
  width: 1.1em;
  right: 0px;
  right: 0rem;
  opacity: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 300ms ease-out;
  will-change: right, opacity;
  margin-left: 0px !important;
  margin-top: 0px !important;
}

.btn-arrow:hover svg {
  opacity: 1;
  right: 1rem;
}

.header-font {
  font-weight: 900;
  font-family: "Patua One", cursive;
  font-size: 2.5rem;
  background: linear-gradient(
    to right,
    var(--left-msg-bg) 0%,
    var(--primary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight {
  background: linear-gradient(
    120deg,
    var(--left-msg-bg) 0%,
    var(--primary) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 20%;
  background-position: 0px 115%;
}

.highlight-text {
  font-family: "Patua One", "Roboto", cursive;
  color: var(--primary);
  font-weight: 600;
}

#credits_remaining {
  width: fit-content;
  border: none;
  outline: none;
  color: var(--primary);
  padding: 15px 25px;
  font-weight: bold;
  min-height: 0px;
}

#credits_remaining:hover {
  cursor: pointer;
}

#credits_remaining svg {
  width: 25px;
  height: 25px;
  margin-top: -10px;
  margin-right: 12px;
  fill: var(--right-msg-bg-dark);
}

.container_mouse {
  text-align: center;
  color: var(--color);
  cursor: pointer;
}

.container_mouse .mouse-btn {
  margin: 10px auto;
  width: 20px;
  height: 40px;
  border: 2.5px solid var(--primary);
  border-radius: 30px;
  display: flex;
}

.container_mouse .mouse-btn .mouse-scroll {
  display: block;
  width: 10px;
  height: 10px;
  background: linear-gradient(
    170deg,
    rgba(122, 122, 124, 0.918),
    rgb(123, 124, 124)
  );
  border-radius: 50%;
  margin: auto;
  animation: scrolling 1s linear infinite;
}

@keyframes scrolling {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(10px);
  }
}

/* SWITCH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.switch-wrapper {
  position: relative;
  display: inline-flex;
  padding: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  background: var(--msger-bg);
}

.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"],
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"] {
  color: var(--white);
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"]:hover {
  background: transparent;
}

.switch-wrapper
  [type="radio"]:checked#monthly
  + label[for="yearly"]
  ~ .highlighter {
  transform: none;
}

.switch-wrapper
  [type="radio"]:checked#yearly
  + label[for="monthly"]
  ~ .highlighter {
  transform: translateX(100%);
}

.switch-wrapper label {
  font-size: 14px;
  z-index: 1;
  min-width: 100px;
  line-height: 32px;
  cursor: pointer;
  border-radius: 30px;
  text-align: center;
  transition: color 0.25s ease-in-out;
}

.switch-wrapper label:hover {
  background: var(--body-bg);
}

.switch-wrapper .highlighter {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 30px;
  background: var(--darkgreen);
  transition: transform 0.25s ease-in-out;
}

.f-box-price {
  font-size: 38px;
  color: var(--primary);
  font-family: "Patua One", cursive;
  font-weight: bold;
  width: fit-content;
  position: relative;
}

.f-box-duration {
  font-size: 16px;
  letter-spacing: 1px;
  margin-left: 5px;
  font-weight: light;
  font-family: "Roboto", sans-serif;
}

.subs_discount {
  position: absolute;
  right: -8px;
  font-size: 11px;
  background: #ee8a65;
  border-radius: 6px;
  top: 0px;
  color: #eee;
  padding: 3px 6px;
  display: none;
}

.hvr-float {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-float:hover,
.hvr-float:focus,
.hvr-float:active {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}

.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.blurry-gradient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50% 22% 40% 80%;
  filter: blur(100px);
  background: radial-gradient(
    circle at 50% 50%,
    var(--left-msg-bg),
    rgba(76, 0, 255, 0)
  );
  opacity: 0.25;
}

.btn-gradient-border {
  border: solid 3px transparent;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(101deg, var(--left-msg-bg), var(--primary));
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 2px 1000px 1px var(--body-bg) inset;
}

.btn-gradient-border-dark {
  border: solid 3px transparent;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(101deg, var(--left-msg-bg), var(--primary));
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 2px 1000px 1px var(--primary) inset;
}

.textarea-container {
  position: relative;
  width: 100%;
  max-width: 400px; /* Adjust width as needed */
  margin: 0 auto;
}

.textarea-container textarea {
  width: 100%;
  padding-right: 50px; /* Add padding to make space for the button */
  padding-left: 15px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 25px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.textarea-container .send-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.textarea-container .send-button img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%); /* Optional styling for the icon */
}

.textarea-container textarea:focus {
  outline: none;
  border-color: var(--left-msg-bg-dark); /* Highlighted color when focused */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--left-msg-bg-dark); /* Optional focus styling */
}

.preset-messages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px; /* Adds spacing between prompts */
}

@media (max-width: 768px) {
  .preset-messages {
    flex-direction: column;
    align-items: center;
  }
}

.preset-message {
  background-color: #e0e0e0;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9em;
  color: #333;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.preset-message:hover {
  background-color: var(--darkgreen);
}

@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }

  50% {
    transform: scale3d(1.2, 1.2, 1.2);
  }

  to {
    transform: scale3d(1, 1, 1);
  }
}

.animate__pulse {
  animation-name: pulse;
  animation-iteration-count: infinite;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
}

.mic_permission_img {
  width: fit-content;
}

.mic_permission_img svg {
  width: 50px;
  height: 50px;
}

.mic_permission_img.given svg {
  fill: green;
}

.mic_permission_img.not_given svg {
  fill: #ed8964;
}

.mic_permission_status {
  font-size: 13px;
}

@keyframes wipe-enter {
  0% {
    transform: scale(0, 0.025);
  }

  50% {
    transform: scale(1, 0.025);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animated-chat-animate {
    animation-name: wipe-enter;
    animation-duration: 1s;
    animation-iteration-count: 1;
  }
}

.btn-google {
  background: #ee8a65;
  font-weight: bold;
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
}

.btn-google svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -3px;
}

.btn-twitter {
  background: #1DA1F2;
  font-weight: bold;
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
  color: white;
}

.btn-twitter:hover {
  color: #fff;
}

.btn-twitter svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -3px;
  fill: white;
}

.btn-facebook {
  background: #0075cf;
  font-weight: bold;
  display: block;
  padding-top: 12px;
  padding-bottom: 12px;
}

.btn-facebook svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -3px;
}

.sparkles path {
  fill: #ee8a65;
  transform-origin: 50% 50%;
  transform-box: fill-box;
  animation: sparkle var(--duration) var(--delay) infinite ease-in-out;
}

@keyframes sparkle {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(0);
  }

  70% {
    transform: scale(-1, 0);
  }

  80% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

.modal-body.dark-mode {
  background: #2c2c2c;
  color: #ddd;
}

.modal-body.dark-mode .btn-close {
  filter: invert(1);
}

.modal-body.dark-mode .f-box {
  min-height: 200px;
  background: rgba(20, 20, 20, 0.44);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(20, 20, 20, 0.3);
  transition: 0.2s all;
}

.modal-body.dark-mode .switch-wrapper label {
  color: #222;
}

.modal-body.dark-mode .f-box-price {
  color: var(--right-msg-bg);
}

.modal-body.dark-mode #credits_remaining {
  color: var(--right-msg-bg);
}

.modal-body.dark-mode .form-control,
.modal-body.dark-mode .form-select {
  background-color: #474747 !important;
  color: #ddd;
}

.modal-body.dark-mode .input-group-text {
  background-color: #373737;
  fill: #ddd;
  border-color: #333;
}

.header-spacer {
  text-align: center;
  width: 100%;
  letter-spacing: 1px;
}

/* Hover effect */
.f-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 77, 64, 0.12);
  border-color: var(--primary);
}

/* Icon styling */
.f-box h5 svg {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  margin-top: -3px;
  fill: var(--primary);
  transition: transform 0.3s ease;
}

.f-box:hover h5 svg {
  transform: scale(1.1);
}

/* Feature title */
.f-box h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--left-msg-bg-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

/* Feature description */
.f-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Demo link enhancement */
.f-box .open-modal-link {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
}

.f-box:hover .open-modal-link {
  opacity: 1;
  transform: translateX(0);
}

/* Optional: Add subtle gradient background */
.f-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--right-msg-bg));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.f-box:hover::before {
  opacity: 1;
}

/* Optional: Add category tags */
.f-box .feature-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(0, 77, 64, 0.1);
  color: var(--primary);
}

.journey-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.journey-features {
  padding: 2rem;
}

.feature-item {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 77, 64, 0.08);
  transform: translateX(-20px);
  opacity: 0;
  animation: slideInFeature 0.5s ease forwards;
}

.feature-item:nth-child(2) {
  animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.4s;
}

.feature-item h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-item h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.feature-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@keyframes slideInFeature {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes floatIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 991px) {
  .journey-features {
    order: 2;
  }
  .feature-item {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Add new styles */
.onboard_box {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--left-msg-bg-dark) 100%
  );
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 77, 64, 0.15);
}

.onboard_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.1;
}

.onboard_box h2 {
  font-family: "Patua One", "Roboto", cursive;
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.onboard_box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.onboard_box img {
  max-width: 100%;
  width: 400px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}

.onboard_box img:hover {
  transform: translateY(-10px);
}

/* Add responsive adjustments */
@media (max-width: 768px) {
  .onboard_box {
    padding: 30px 20px;
  }

  .onboard_box h2 {
    font-size: 2rem;
  }

  .onboard_box p {
    font-size: 1.1rem;
  }

  .onboard_box img {
    width: 300px;
    margin: 20px 0;
  }
}

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px;
    transform: translateY(-100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Modern glass morphism effect */
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.fixed-nav.show {
    transform: translateY(0);
    /* Subtle animation when showing */
    animation: slideDown 0.5s ease forwards;
}

.fixed-nav .container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Animation keyframes */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode support */
.dark-mode .fixed-nav {
    background: rgba(23, 25, 35, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.2),
        0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

/* Optional: Add a gradient border at the bottom */
.fixed-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* Optional: Add subtle animation to the gradient */
@media (prefers-reduced-motion: no-preference) {
    .fixed-nav::after {
        animation: gradientMove 3s linear infinite;
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 100% 0;
    }
}


/* Message animations */
.fade-in-up {
  animation: fadeInUp 0.3s ease-out;
}

.fade-in {
  animation: fadeIn 0.2s ease-out;
}

.shake-animation {
  animation: shake 0.5s ease-in-out;
}

.pulse-animation {
  animation: pulse 0.5s ease-in-out;
}

.message-complete {
  animation: complete 0.3s ease-out;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 8px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #90A4AE;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

/* Send button loading state */
.loading {
  opacity: 0.7;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: rotate 1s linear infinite;
}

/* Keyframe animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes complete {
  0% { background: rgba(144, 164, 174, 0.1); }
  100% { background: transparent; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.welcome-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
  padding: 0 16px;
}

.suggestion-chip {
  background: #e0f2f1;
  border: none;
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 14px;
  color: #00695c;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggestion-chip:hover {
  background: #b2dfdb;
}

.chat-box.dark-mode .suggestion-chip {
  background: #37474f;
  color: #e0f2f1;
}

.chat-box.dark-mode .suggestion-chip:hover {
  background: #455a64;
}

.welcome-chips .suggestion-chip.skip-intro {
  background: transparent;
  border: 1px solid #e0f2f1;
  color: #78909c;
}

.welcome-chips .suggestion-chip.skip-intro:hover {
  background: rgba(224, 242, 241, 0.1);
  color: #00695c;
}

.chat-box.dark-mode .suggestion-chip.skip-intro {
  border: 1px solid #37474f;
  color: #90a4ae;
}

.chat-box.dark-mode .suggestion-chip.skip-intro:hover {
  background: rgba(55, 71, 79, 0.2);
  color: #e0f2f1;
}

/* ... existing code ... */

/* Send button loading state */
.loading {
  position: relative;
  transition: all 0.3s ease;
  width: 25px;  /* Fixed width to prevent layout shift */
  height: 25px; /* Fixed height to match width */
  padding: 0;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 10px;
  margin-right: 10px;
}

.loading svg,
.loading img {
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0);
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  border-right-color: transparent;
  animation: rotate 0.8s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Optional: Add a pulse effect */
.loading {
  animation: pulse-subtle 2s infinite;
}

@keyframes pulse-subtle {
  0% { box-shadow: 0 0 0 0 rgba(0, 77, 64, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 77, 64, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 77, 64, 0); }
}