/* http://meyerweb.com/eric/tools/css/reset/ 
    v2.0 | 20110126
    License: none (public domain)
    */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: "Inter", sans-serif;
}

button {
  font-family: "Inter", sans-serif;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* DARK MODE */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f7f5;
  --bg-input: #f8f7fc;
  --bg-button: #ffffff;
  --bg-button-hover: #f3f4f6;
  --bg-sidebar: #ffffff;
  --text-primary: #0a0a0a;
  --text-secondary: #757c86;
  --text-primary: #6d6d6d;
  --text-disabled: #adb0b3;
  --border-primary: #d6dae3;
  --border-secondary: #e7e7e7;
  --accent-primary: #000000;
  --accent-secondary: #292929;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --success-color: #ffffff;
  --disabled-bg: rgba(0, 0, 0, 0.12);
  --disabled-text: rgba(0, 0, 0, 0.26);
  --text-dark: #333333;
  --bg-light: #f5f5f5;
  --border-light: #e0e0e0;
  --bg-verifying: #fafafa;
  --text-verifying: #232323;
  --bg-verification: #f9f9f9;
  --text-dark-accent: #000000de;
  --accent-orange: #e9714c;
  --accent-purple: #9c75ff;
  --accent-deep-grey: #707070;
  --bg-option-active: #f5f5f6;
  --bg-option-hover: #f0f0f0;
  --text-light-muted: #666;
  --bg-subtle: #0000000a;
  --bg-pro-badge: #0000001a;
  --bg-tool-hover: #0000001d;
  --bg-tool: #00000005;
  --text-tool: #000000a3;
  --text-main: #000000b8;
  --text-model: #0000008f;
  --text-chat: #3d3d3d;
  --text-footer: #56595d;
  --text-link: #080808;
  --border-hover: #9ca3af;
  --border-back: #ddd9d9;
  --border-chat: #e9e9e9;
  --border-tool: #f3f3f3;
  --border-model: #ededed;
  --border-default: #ccc;
  --scrollbar-track: #f1f1f1;
  --scrollbar-thumb: #888;
  --scrollbar-thumb-hover: #555;
  --bg-avatar: #d1c4e9;
  --text-no-chat: #bdbdbd;
  --border-social: rgb(214 218 227);
  --bg-send-icon: rgb(214 222 232);
  --overlay-light: rgba(255, 255, 255, 0.7);
  --overlay-mobile: rgba(255, 255, 255, 0.5);
  --popup-overlay: rgba(0, 0, 0, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --shadow-popup: rgba(0, 0, 0, 0.3);
  --icon-filter: grayscale(0.3);
}

.dark-mode {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-input: #333333;
  --bg-button: #3d3d3d;
  --bg-button-hover: #4a4a4a;
  --bg-sidebar: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-disabled: #757575;
  --border-primary: #4a4a4a;
  --border-secondary: #555555;
  --accent-primary: #ffffff;
  --accent-secondary: #e0e0e0;
  --shadow-color: rgba(255, 255, 255, 0.1);
  --success-color: #2d2d2d;
  --disabled-bg: rgba(255, 255, 255, 0.12);
  --disabled-text: rgba(255, 255, 255, 0.26);
  --text-dark: #cccccc;
  --bg-light: #3d3d3d;
  --border-light: #555555;
  --bg-verifying: #2d2d2d;
  --text-verifying: #e0e0e0;
  --bg-verification: #333333;
  --text-dark-accent: #ffffff;
  --accent-orange: #ff8c66;
  --accent-purple: #c5b2ff;
  --accent-deep-grey: #f5f5f5;
  --bg-option-active: #4a4a4a;
  --bg-option-hover: #555555;
  --text-light-muted: #999999;
  --bg-subtle: #ffffff1a;
  --bg-pro-badge: #ffffff33;
  --bg-tool-hover: #ffffff33;
  --bg-tool: #ffffff0f;
  --text-tool: #ffffffb3;
  --text-main: #ffffffcc;
  --text-model: #ffffff99;
  --text-chat: #b0b0b0;
  --text-footer: #a0a0a0;
  --text-link: #ffffff;
  --border-hover: #757575;
  --border-back: #666666;
  --border-chat: #555555;
  --border-tool: #666666;
  --border-model: #666666;
  --border-default: #666666;
  --scrollbar-track: #333333;
  --scrollbar-thumb: #999999;
  --scrollbar-thumb-hover: #bbbbbb;
  --bg-avatar: #6b5b95;
  --text-no-chat: #757575;
  --border-social: #666666;
  --bg-send-icon: #555555;
  --overlay-light: rgba(0, 0, 0, 0.7);
  --overlay-mobile: rgba(0, 0, 0, 0.5);
  --popup-overlay: rgba(255, 255, 255, 0.3);
  --shadow-dark: rgba(255, 255, 255, 0.1);
  --shadow-popup: rgba(255, 255, 255, 0.2);
  --icon-filter: brightness(0) invert(1);
}

.theme-toggle {
  display: flex;
  align-items: center;
}

#theme-toggle-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.3s;
}

#theme-toggle-btn:hover {
  transform: scale(1.1);
}

.back-arrow img,
.logo-sidebar,
button.close-arrow img,
.model-selector .btn-model .logo-model,
.chat-page .chat-input .attachment img,
.chat-page .chat-input .arrow-down,
.chat-page .chat-input .voice-icon img,
.chat-page .chat-input .send-icon svg,
.chat-page .chat-input .mic-icon svg,
.chat-page .chat-tools button img,
.logo-img,
.logo-pop,
.chat-history img,
.new-chat-btn img {
  filter: var(--icon-filter);
}

/* Main CSS */
html,
body {
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}

header#main-header,
header.header-mb {
  flex-shrink: 0;
}

main {
  flex: 1 0 auto;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

footer#main-footer {
  position: relative;
  bottom: env(safe-area-inset-bottom);
  width: 100%;
  box-sizing: border-box;
}

/*============ Login Page ============ */
.login-page {
  background-color: var(--bg-secondary);
  padding: 80px 20px;
  min-height: 100vh;
}

.login-page .container {
  max-width: 300px;
  margin: 0 auto;
}

.login-page .form-login {
  padding: 38px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-page .form-login .logo {
  max-width: 230px;
  padding-bottom: 50px;
}

.login-page .form-login .logo img {
  width: 100%;
  height: auto;
}

.social-login-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.social-login-container.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.form-wrap {
  width: 100%;
}

.social-login-container .social-login-button {
  border: 1px solid var(--border-social);
  border-radius: 10px;
  background-color: var(--bg-primary);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  width: auto;
  padding: 11px 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
}

.social-login-icon {
  display: flex;
  align-items: center;
}

.form-login .verifying-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 15px 10px 16px;
  box-sizing: border-box;
  background-color: var(--bg-verifying);
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
  height: 65px;
}

.form-login .verifying-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.verifying-spinner img,
.verifying-checkmark img {
  width: 30px;
  height: 30px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.verifying-spinner.active img {
  animation: spin 1s linear infinite;
}

.verifying-spinner.hidden img {
  animation: scaleDown 0.3s ease forwards;
}

.verifying-checkmark.active img {
  animation: scaleUp 0.3s ease forwards;
}

.verifying-spinner,
.verifying-checkmark {
  display: flex;
  gap: 12px;
  align-items: center;
}

.verifying-spinner img,
.verifying-checkmark img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.verifying-spinner.active img {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.verifying-text,
.success-text {
  transition: opacity 0.3s ease;
}

.form-login .verifying-text,
.form-login .success-text {
  color: var(--text-verifying);
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
}

.form-login .verifying-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.form-login .verifying-brand img {
  height: auto;
  width: 73px;
}

.form-login .verifying-links {
  font-size: 6px;
  margin-top: -4px;
  margin-bottom: 3px;
}

.form-login .verifying-links a {
  font-family: "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 8px;
  line-height: 10px;
  text-align: right;
  text-decoration: none;
  color: var(--text-verifying);
	position: relative;
}
.form-login .verifying-links a:after {
	content: "";
	width: 100%;
	height: 1px;
	background-color: var(--text-verifying);
	position: absolute;
	bottom: 0;
	left: 0;
}

.form-login .login-input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 7px;
  color: var(--accent-primary);
  padding-top: 23px;
}

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

.form-login .input-label {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  padding: 4px 4px 5px;
}

.form-login .input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-login .login-input {
  width: 100%;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
  outline: none;
  background-color: var(--bg-primary);
  transition: border-color 0.2s ease-in-out;
  box-sizing: border-box;
  font-size: 16px;
  height: 44px;
}

.form-login .login-input:hover {
  border-color: var(--border-hover);
}

.form-login .login-input:focus {
  border-color: var(--accent-primary);
}

.form-login .login-input:disabled {
  opacity: 0.5;
}

.form-login .password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.6;
}

.form-login .password-toggle button {
  border: none;
  background-color: transparent;
  padding: 0;
}

.form-login .password-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  width: 20px;
}

.form-login .forgot-password-link {
  display: inline-block;
  font-size: 14px;
  color: var(--accent-primary);
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease-in-out;
}

.form-login .forgot-password-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.form-login .login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border-primary);
  background-color: var(--bg-primary);
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
  color: var(--accent-primary);
  margin-top: 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 22px;
  text-decoration: none;
}

.form-login .login-button:hover {
  background-color: var(--bg-button-hover);
}

.form-login .login-button:hover:enabled {
  background-color: var(--bg-button-hover);
}

.form-login .login-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-login .signup-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 14px;
}

.form-login .signup-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--text-primary);
  opacity: 0.5;
}

.form-login .signup-link {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s ease-in-out;
}

.form-login .signup-link:hover {
  opacity: 1;
}

.login-page .footer-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-secondary);
  padding-top: 63px;
  text-align: center;
  margin-bottom: 32px;
  margin-left: -6px;
  font-family: Inter;
}

.login-page .footer-text a {
  color: var(--text-link);
  text-decoration: underline;
}

.login-page .footer-text-mb {
  display: none;
}

/* Home Page */
header {
  padding: 16px;
  background-color: var(--bg-primary);
  position: relative;
}

#main-header .container {
  display: flex;
  justify-content: space-between;
  position: relative;
}

#main-header .right-btn {
  display: flex;
  gap: 30px;
  align-items: center;
}

#main-header .right-btn .my-file {
  display: flex;
  gap: 30px;
}

.sidebar-bottom .my-file {
  margin-bottom: 20px;
}

.my-file a {
  color: var(--accent-primary);
  font-size: 13px;
  text-decoration: none;
}

.my-file a:hover {
  text-decoration: underline;
}

.sidebar .my-file {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  padding-bottom: 50px;
  margin-left: 20px;
  position: relative;
}

.sidebar .my-file:after {
  content: "";
  display: block;
  height: 1px;
  width: 300px;
  position: absolute;
  background-color: #ccc;
  bottom: 8px;
  left: 50%;
  transform: translateX(-53%);
}

.back-arrow {
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-back);
  border-radius: 8px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.back-arrow img {
  width: 12px;
  height: 12px;
}

.btn-login-signup {
  display: flex;
  gap: 10px;
}

.btn-login-signup a {
  padding: 6px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  text-decoration: none;
}

.main-page .btn-login,
.page-template-template-chat2 .btn-login{
  background-color: var(--accent-primary) !important;
  color: var(--bg-primary);
  border: 1px solid var(--accent-primary);
}

.btn-login {
  background-color: var(--bg-primary);
  color: var(--accent-primary);
  border: 1px solid var(--border-chat);
}

.btn-signup {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  border: 1px solid var(--accent-primary);
}

.model-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.model-selector .btn-model.active {
  background: var(--accent-primary) 0a;
  color: var(--accent-secondary);
  transition: all 0.3s ease;
}

.model-selector .btn-model:hover {
  background: var(--accent-primary) 0a;
  color: var(--accent-secondary);
  transition: all 0.3s ease;
}

.model-selector .btn-model {
  background: var(--bg-primary);
  border-radius: 12px;
  border: none;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 20px;
  gap: 4px;
  font-family: "Inter", sans-serif;
  color: var(--accent-primary) 8f;
  cursor: pointer;
  transition: all 0.3s ease;
}

.model-selector .btn-model .logo-model {
  width: 11px;
  padding: 4px;
  background-color: var(--bg-primary);
  border: 0.63px solid #eeeeee;
  border-radius: 50%;
}

.model-selector .btn-model .pro {
  border: 1px solid var(--border-model);
  border-radius: 35px;
  padding: 0 6px;
  background-color: var(--accent-primary);
  height: 16px;
  display: flex;
  align-items: center;
}

.model-selector .btn-model .pro span {
  font-weight: 500;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  color: var(--bg-primary);
  display: inline-block;
}

.chat-page {
  padding: 15vh 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: fit-content;
  background-color: var(--bg-primary);
}

.chat-page .logo {
  max-width: 230px;
  margin-bottom: 12.5px;
}

.chat-page .logo .logo-img {
  width: 100%;
  height: auto;
}

.chat-page .main-text {
  font-weight: 400;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  color: #000000eb;
  margin-bottom: 47.5px;
  letter-spacing: 0.8px;
}

.chat-bottom {
  width: 100%;
  max-width: 718px;
  box-sizing: border-box;
}

.chat-page .chat-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px 7px 9px 11px;
  background-color: var(--bg-input);
  border-radius: 20px;
}

.chat-page .chat-input textarea {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  height: 28px;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 100% !important;
  max-width: 100%;
  padding: 5px 21px 5px 31px;
  margin-bottom: 13px;
  max-height: 100px;
  margin-right: 10px;
  resize: none !important;
  overflow-y: hidden;
  box-sizing: border-box;
}

.chat-input textarea::-webkit-scrollbar {
  width: 4px;
}

.chat-input textarea::-webkit-scrollbar-track {
  background-color: #ebebeb;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.chat-input textarea::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--text-primary);
}

.chat-page .chat-input .addons-chat,
.chat-result .chat-input .addons-chat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.chat-page .chat-input .addons-chat .left {
  display: flex;
  justify-content: flex-start;
  width: 80%;
  gap: 8px;
}

.chat-page .chat-input .addons-chat .right {
  display: flex;
  justify-content: flex-end;
  width: 20%;
  gap: 8px;
}

.chat-page .chat-input .addons-chat .attachment {
  border-radius: 50%;
  background-color: transparent;
  border: none;
  outline: none;
  display: flex;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.addons-chat .attachment svg {
  width: 23px;
  height: 23px;
}

.addons-chat .attachment svg path {
  fill: #bbb;
}

.addons-chat .attachment.deactive svg path {
  fill: #bbb;
}

.chat-page .chat-input textarea::placeholder {
  color: var(--text-disabled);
  font-size: 16px;
  line-height: 24px;
}

.chat-page .chat-input .change-model {
  position: relative;
}

.chat-page .chat-input .model-label {
  color: var(--text-primary);
  border-radius: 30px;
  white-space: nowrap;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 5.5px 31px 6.5px 13px;
  width: 100%;
  height: 100%;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  font-family: "Inter", sans-serif;
  height: 34px;
}

.change-model {
  position: relative;
}

.model-label {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 15px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.model-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  padding: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  box-shadow: 0 2px 5px var(--shadow-color);
  width: 250px;
  z-index: 10;
  max-height: 230px;
  overflow-y: scroll;
}

.model-dropdown.active {
  display: block;
}

.model-option {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-radius: 12px;
  margin-bottom: 5px;
}

.model-option.active {
  background-color: var(--bg-option-active);
}

.model-option:last-child {
  border-bottom: none;
}

.model-option:hover {
  background: var(--bg-option-hover);
}

.model-option img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  padding: 5px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--border-model);
}

.model-option div {
  flex: 1;
  gap: 7px;
  display: flex;
  flex-direction: column;
}

.model-option span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.model-option p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.pro-badge {
  background: var(--accent-primary) !important;
  color: var(--bg-primary) !important;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 7px;
  margin-left: 5px;
}

.chat-page .chat-input .change-model .arrow-down {
  position: absolute;
  right: 13px;
  width: 11px;
  height: 11px;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.chat-page .chat-input .voice-icon,
.chat-page .chat-input .send-icon {
  border: none;
  background: none;
  cursor: pointer;
}

.chat-page .chat-input .send-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  border-radius: 50%;
  border: 1px solid var(--border-secondary);
  box-sizing: border-box;
}

.chat-page .chat-input .send-icon svg {
  width: 20px;
}

/* .chat-page .chat-input .send-icon svg path {
  stroke: var(--bg-primary);
} */

.chat-page .chat-input .voice-icon img {
  width: 34px;
  height: 34px;
}

.chat-page .chat-input .search-icon {
  padding: 5px 15px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  font-family: "Inter", sans-serif;
  height: 34px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
}

.chat-page .chat-input .search-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
}

.chat-input .search-icon .search-options-dropdown {
  position: absolute;
  top: 114%;
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 350px;
  padding: 10px;
  z-index: 1000;
}

.search-option.active {
  background-color: var(--bg-option-hover);
}

.chat-input .search-icon .search-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 5px;
}

.chat-input .search-icon .search-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.chat-input .search-icon .option-info {
  display: flex;
  justify-content: flex-start;
  gap: 6px;
  align-items: flex-start;
}

.chat-input .search-icon .option-left {
  display: flex;
  align-items: center;
}

.chat-input .search-icon .option-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.chat-input .search-icon .option-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.chat-input .search-icon .option-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.chat-input .search-icon .option-description {
  font-size: 12px;
  color: var(--text-primary);
  margin-right: 10px;
}

.chat-input .search-icon .toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.chat-input .search-icon .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.chat-input .search-icon .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 20px;
}

.chat-input .search-icon .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.chat-input .search-icon input:checked+.slider {
  background-color: #2196F3;
}

.chat-input .search-icon input:checked+.slider:before {
  transform: translateX(20px);
}

.chat-page .chat-input .voice-icon:hover img {
  filter: grayscale(0);
}

.chat-page .chat-input .mic-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.chat-page .chat-input .mic-icon svg {
  width: 12px;
  height: auto;
  fill: var(--bg-light);
}

.chat-page .chat-input .mic-icon svg path {
  stroke: var(--bg-light);
}

.chat-page .chat-tools-pc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 28px;
}

.chat-page .chat-tools .row.row1 {
  margin-bottom: 18px;
}

.chat-page .chat-tools .row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.chat-page .chat-tools .btn-tool {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-width: 90px;
}

.chat-page .chat-tools button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 54px;
  height: 54px;
  background-color: var(--accent-primary) 05;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.recent-chats {
  display: none;
  max-width: 718px;
  width: 100%;
}

.recent-title {
  color: #5e5e5e;
  font-size: 13px;
  line-height: 16px;
  padding: 8px 0 8px 0;
}

.chat-page .recent-chats-box {
  background-color: var(--bg-primary);
  border-radius: 20px;
  border: 1px solid var(--border-chat);
  padding: 15px;
  box-shadow: 0 2px 5px var(--shadow-color);
  margin-top: 15px;
}

.chat-page .recent-chats-box h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.chat-page .recent-chats-list {
  list-style: none;
  padding: 0;
}

.chat-page .recent-chats-list li {
  padding: 6px;
  cursor: pointer;
  border-radius: 10px;
}

.chat-page .recent-chats-list li:hover {
  background-color: #f3f5f6;
}

.recent-chats-list li a {
  text-decoration: none;
  font-size: 16px;
  line-height: 18px;
  color: #212121;
  display: flex;
  align-items: center;
  gap: 13px;
}

ul.recent-chats-list li a img {
  width: 20px;
  height: auto;
}

.recent-chats-list li:last-child {
  border-bottom: none;
}

.chat-page .chat-input .search-icon.active,
.chat-result .chat-input .search-icon.active {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
}

.chat-page .chat-input .search-icon.active svg,
.chat-result .chat-input .search-icon.active svg {
  fill: var(--bg-primary);
}

.chat-page .chat-tools.hidden {
  display: none;
}

.chat-page .chat-tools button:focus {
  outline: none !important;
}

.chat-page .chat-tools .btn-tool p {
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  text-align: center;
  color: var(--accent-primary) a3;
}

.chat-page .chat-tools button:hover {
  background-color: var(--bg-tool-hover);
  transform: translateY(-1px);
}

.chat-page .chat-tools button img {
  width: fit-content;
  height: auto;
  filter: grayscale(0.3);
  transition: filter 0.3s;
}

.chat-page .chat-tools button:hover img {
  filter: grayscale(0);
}

.chat-page .chat-tools.style-btn-2 button {
  border-radius: 5px;
  padding: 8px 12px;
  width: unset;
  height: unset;
  border: 1px solid var(--border-secondary);
}

.chat-page .chat-tools.style-btn-2 button:hover {
  transform: unset;
  background-color: var(--bg-tool-hover);
}

.chat-page .chat-tools button.active {
  background-color: var(--bg-tool-hover);
}

.chat-page .chat-tools.style-btn-2 button img {
  width: 18px;
}

#main-footer {
  padding: 0 20px;
  background-color: var(--bg-primary);
}

footer#main-footer .footer-text p {
  text-align: center;
  font-family: Inter;
  font-weight: 400;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: -0.12px;
  color: var(--text-footer);
  margin-bottom: 37px;
}

footer#main-footer .footer-text a {
  text-align: center;
  font-family: Inter;
  font-weight: 400;
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: -0.12px;
  color: var(--text-primary);
  text-decoration: none;
}

footer#main-footer .footer-text a:hover {
  text-decoration: underline;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-primary);
  box-shadow: 2px 0 5px var(--shadow-color);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
}

.sidebar.open {
  left: 0;
}

body.sidebar-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-light);
  z-index: 998;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

#sidebar {
  position: fixed;
  z-index: 999;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.header-mb .sidebar-header {
  flex-direction: row;
  justify-content: space-between;
}

.logo-sidebar {
  max-width: 143px;
}

button.close-arrow {
  border: none;
  background: none;
  rotate: 180deg;
  opacity: 0.6;
  cursor: pointer;
}

.sidebar-header .navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-header .chat-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  background-color: var(--accent-primary) 0a;
  border: 1px solid #efefef;
  width: 100%;
  border-radius: 40px;
  padding: 3px;
}

.sidebar-header .chat-tabs button {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-primary);
}

.sidebar-header .chat-tabs .active {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

.new-chat-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  display: flex;
  gap: 6px;
  color: var(--text-chat);
  margin-bottom: 16px;
  text-decoration: none;
}

.new-chat-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--text-chat);
}

.sidebar-section {
  margin-bottom: 20px;
}

.section-title {
  padding: 8px 12px;
  background-color: transparent;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  line-height: 19.5px;
  color: var(--accent-primary);
  margin-bottom: 7.5px;
}

.section-title img {
  width: 14px;
  height: 14px;
}

.tools-list {
  list-style: none;
  padding: 0;
}

.tool-item a {
  display: flex;
  align-items: center;
  gap: 8.5px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  text-decoration: none;
}

.tool-item:hover {
  border-radius: 10px;
  background-color: var(--bg-light);
}

.tool-icon {
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #efefef;
  border-radius: 50%;
}

.tool-icon img {
  width: 14px;
  height: 14px;
}

.chat-history {
  height: 100%;
}

.chat-history .history {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  height: 100%;
}

.chat-history .history .no-chat {
  font-weight: 600;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  color: var(--text-no-chat);
  width: 100%;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-section .section-title {
  text-decoration: none;
}

.sidebar-footer .btn-login,
.sidebar-footer .btn-signup {
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.sidebar-footer .btn-login {
  background-color: var(--accent-secondary);
  color: var(--bg-primary);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  border: 1px solid var(--accent-secondary);
  transition: all 0.3s ease;
}

.sidebar-footer .btn-signup {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
  transition: all 0.3s ease;
}

.sidebar-footer .btn-login:hover {
  background-color: var(--bg-primary) !important;
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  transition: all 0.3s ease;
}

.sidebar-footer .btn-signup:hover {
  background-color: var(--accent-secondary);
  color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  transition: all 0.3s ease;
}

.chat-tools-mobile {
  display: none;
}

.chat-tool-slide {
  width: 100%;
  overflow: hidden;
}

.chat-tools-mobile {
  width: 100%;
  overflow: hidden;
}

.chat-tool-slide {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
}

.swiper-slide {
  flex-shrink: 0;
  width: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
  width: 15px !important;
  height: 15px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.swiper-button-prev {
  background-image: url("../assets/images/slide-prev.svg");
}

.swiper-button-next {
  background-image: url("../assets/images/slide-next.svg");
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.header-mb {
  display: none;
}

.chat-page .chat-input-mobile {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99;
}

body.overlay-active .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

body.overlay-active {
  overflow: hidden;
}

/* Login Step 2 */
.login-step2 {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  align-items: center;
}

.registration-form {
  background-color: var(--bg-primary);
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 10px 31px var(--shadow-dark);
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
}

/* Logo */
.registration-form .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  margin-top: 20px;
}

.registration-form .logo-site {
  display: block;
  max-width: 230px;
}

/* Headings */
.registration-form h5 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
}

.verification-section h6 {
  font-size: 20px;
  font-weight: 500;
  color: var(--accent-primary) de;
  margin: 8px 0 21px;
  text-align: center;
}

/* Form Fields */
.form-field {
  position: relative;
  margin-bottom: 12px;
}

.form-field input {
  width: -webkit-fill-available;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background-color: var(--bg-primary);
}

.form-field select {
  width: 100%;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
}

.form-field input::placeholder {
  opacity: 0;
}

.form-field select {
  appearance: none;
  background-color: var(--bg-primary);
}

.form-field label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--accent-primary) de;
  background: var(--bg-primary);
  transition: all 0.1s ease-out;
  pointer-events: none;
}

.form-field select:focus+label,
.form-field select.has-value+label {
  top: 0;
  left: 8px;
  font-size: 12px;
  padding: 0 5px;
}

select option[value=""] {
  display: none;
}

.form-field select:focus+label,
.form-field select.has-value+label,
.form-field input:focus+label,
.form-field input.has-value+label {
  top: 0;
  left: 8px;
  font-size: 12px;
  padding: 0 5px;
}

.form-field select:focus+label,
.form-field select:not(:invalid)+label {
  top: 0;
  left: 8px;
  font-size: 12px;
  padding: 0 5px;
}

.form-field input:focus+label,
.form-field select:focus+label {
  color: var(--accent-primary);
}

.form-field input:focus,
.form-field select:focus {
  outline: 2px solid var(--accent-primary);
}

.required {
  color: var(--accent-primary);
}

.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus,
.form-field input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
  box-shadow: 0 0 0 30px white inset !important;
  -webkit-text-fill-color: var(--accent-primary) !important;
}

.form-field input:autofill {
  background-color: white !important;
}

.form-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.form-row .form-field {
  position: relative;
  flex: 1;
  margin-bottom: 0 !important;
}

.form-row .form-field:last-child {
  margin-bottom: 0 !important;
}

/* Verification Section */
.verification-section {
  background-color: var(--bg-verification);
  padding: 23px 23px 28px;
  border-radius: 12px;
  margin-bottom: 16px;
  margin-top: 16px;
}

.verification-section p {
  font-size: 14px;
  color: var(--accent-primary) de;
  line-height: 1.5;
  margin-bottom: 6px;
}

.verification-section .mb-23 {
  margin-bottom: 23px;
}

.verification-section ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 16px;
  margin-left: 20px;
}

.verification-section li {
  font-size: 14px;
  color: var(--accent-primary) de;
  line-height: 1.45;
}

/* File Upload Section */
.file-upload {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 15px 15px 11px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.file-upload p {
  font-size: 14px;
  color: var(--accent-primary) de;
  line-height: 1.4;
}

.file-upload button {
  display: flex;
  align-items: center;
  background-color: var(--bg-primary);
  border: none;
  color: var(--accent-orange);
  padding: 16px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: -7px;
}

.file-upload button:hover {
  background-color: var(--accent-orange);
  color: var(--bg-primary);
  border: 1px solid var(--accent-orange);
}

.file-upload button svg {
  width: 23px;
  height: 19px;
  margin-right: 7px;
  fill: currentColor;
}

.file-upload input[type="file"] {
  display: none;
}

/* Consent Checkbox */
.consent {
  margin-bottom: 5px;
}

.consent label {
  display: flex;
  gap: 5px;
  align-items: center;
  font-size: 14px;
  color: #5f5f5f;
}

.consent input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.consent a {
  color: var(--text-link);
  text-decoration: none;
}

.consent a:hover {
  text-decoration: underline;
}

.form-field:last-child {
  margin-bottom: 6px !important;
}

select:focus {
  outline: none;
}

/* Submit Button */
.submit button {
  width: 100%;
  padding: 14px;
  background-color: rgb(0 0 0 / 12%);
  color: rgb(0 0 0 / 26%);
  border: none;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  cursor: not-allowed;
  transition: background-color 0.2s, color 0.2s;
}

.submit button:not(:disabled) {
  background-color: var(--accent-primary);
  color: var(--bg-primary);
  cursor: pointer;
}

.submit button:not(:disabled):hover {
  background-color: var(--text-dark);
  color: var(--bg-primary);
}

.site-link {
  display: block;
}

.site-link img {
  width: 100%;
  height: auto;
}

/* =================POPUP============== */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--popup-overlay);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: url("./images/bg-pop.svg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  color: var(--bg-primary);
  padding: 120px 45px 45px;
  border-radius: 15px;
  text-align: center;
  max-width: 521px;
  width: 90%;
  box-shadow: 0 4px 10px var(--shadow-popup);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.popup-content h2 {
  font-weight: 500;
  font-size: 20px;
  line-height: 22px;
  text-align: center;
  vertical-align: middle;
  color: var(--bg-primary);
}

.popup-content .logo-pop {
  width: 100%;
  height: auto;
  margin-top: 30px;
  margin-bottom: 56px;
  max-width: 306px;
}

.popup-content .list-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.popup-content ul {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}

.popup-content ul li {
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  display: flex;
  color: var(--text-primary);
  gap: 6px;
}

.popup-content ul li img {
  width: 21px;
  height: 21px;
}

.popup-content .popup-btn {
  background: var(--bg-primary);
  color: var(--accent-primary);
  border: none;
  padding: 13px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  transition: background 0.3s;
  max-width: 322px;
  width: 100%;
}

.popup-content .popup-btn:hover {
  background: #ddd;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-customized .tooltipster-box {
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1) !important;
  font-size: 14px;
  line-height: 20px !important;
}

.tooltipster-sidetip.tooltipster-noir.tooltipster-noir-customized .tooltipster-content {
  color: #000 !important;
  padding: 8px !important;
  font-size: 14px;
  line-height: 20px
}

.tooltipster-sidetip .tooltipster-box {
  overflow: hidden;
}

.tooltipster-sidetip .tooltipster-arrow {
  display: none !important;
}

.footer-text.footer-text-mb {
  display: none;
}

/*========== CHAT RESULT PAGE=========*/
.chat-result main {
  overflow: unset;
}

.chat-result footer#main-footer {
  position: relative;
}

.chat-result .chat-area {
  max-width: 718px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  min-height: 63vh;
}

.chat-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.chat-result .chat-messages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-result .main-message {
  display: flex;
  gap: 18px;
}

.chat-result .message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-result .user-message {
  justify-content: flex-end;
}

.chat-result .user-message .message-content {
  background-color: #e6f0fa;
  padding: 8px 20px;
  border-radius: 10px;
  max-width: 100%;
  font-size: 16px;
  line-height: 28px;
  color: #333;
}

.chat-result .bot-message {
  flex-direction: column;
  justify-content: flex-start;
}

.chat-result .bot-message .message-header {
  flex-shrink: 0;
}

.chat-result .bot-message .bot-avatar {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-result .bot-message .bot-avatar .ava-img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.chat-result .bot-message .message-content {
  background-color: #f5f5f5;
  padding: 10px 15px;
  border-radius: 10px;
  max-width: 100%;
  font-size: 16px;
  line-height: 28px;
  color: #404040;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-wrap: break-word;
}

.chat-result .bot-message .message-content p {
  color: #404040;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 28px;
  white-space: normal;
  margin: 0;
}

.chat-result .bot-message .message-content .typing-span {
  white-space: nowrap;
  display: inline-block;
}

.chat-result .message-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.chat-result .message-actions .action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.chat-result .message-actions .action-btn svg {
  width: 20px;
  height: 20px;
  fill: #909090;
}

.chat-result .message-actions .action-btn svg path {
  fill: #909090;
  transition: fill 0.3s ease;
}

.chat-result .message-actions .action-btn.active svg path {
  fill: black;
  transition: fill 0.3s ease;
}

.chat-result .message-actions .action-btn.copy-link svg {
  fill: transparent !important;
}

.chat-result .message-actions .action-btn.copy-link svg path {
  stroke: #909090;
  fill: transparent !important;
  stroke-width: 2px;
}

.copy-popup {
  position: fixed;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

.copy-popup.show {
  opacity: 1;
}


.chat-result .new-chat-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  padding: 7px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-chat);
  margin-bottom: 15px;
  text-decoration: none;
}

.chat-result .btn-login {
  background-color: var(--accent-primary) !important;
  color: var(--bg-primary);
  border: 1px solid var(--accent-primary);
}

.chat-result .new-chat-btn img {
  width: 16px;
  height: 16px;
}

.chat-result-page {
  padding: 30px 20px 0;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  height: 100%;
  background-color: var(--bg-primary);
  gap: 0;
}

.chat-result-page .logo {
  max-width: 230px;
  margin-bottom: 12.5px;
}

.chat-result-page .logo .logo-img {
  width: 100%;
  height: auto;
}

.chat-result-page .main-text {
  font-weight: 300;
  font-size: 28px;
  line-height: 38px;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 47.5px;
  letter-spacing: 0.8px;
}

.chat-result-page .chat-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px 7px 9px 11px;
  background-color: var(--bg-input);
  border-radius: 20px;
  width: calc(100% - 20px);
  max-width: 718px;
  box-sizing: border-box;
  margin-bottom: 29px;
  position: relative;
}

.chat-result-page .chat-input textarea {
  flex-grow: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  height: 28px;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 100% !important;
  max-width: 100%;
  padding: 5px 21px 5px 31px;
  margin-bottom: 13px;
  max-height: 100px;
  margin-right: 10px;
  resize: none !important;
  overflow-y: hidden;
  box-sizing: border-box;
}

.chat-result-page .chat-input textarea::-webkit-scrollbar {
  width: 4px;
}

.chat-result-page .chat-input textarea::-webkit-scrollbar-track {
  background-color: #ebebeb;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

.chat-result-page .chat-input textarea::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: var(--text-primary);
}

.chat-result-page .chat-input .addons-chat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.chat-result-page .chat-input .addons-chat .left {
  display: flex;
  justify-content: flex-start;
  width: 80%;
  gap: 8px;
}

.chat-result-page .chat-input .addons-chat .right {
  display: flex;
  justify-content: flex-end;
  width: 20%;
  gap: 8px;
}

.chat-result-page .chat-input .addons-chat .attachment {
  border-radius: 50%;
  background-color: transparent;
  border: none;
  outline: none;
  display: flex;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.chat-result-page .chat-input .addons-chat .attachment svg {
  width: 23px;
  height: 23px;
}

.chat-result-page .chat-input .addons-chat .attachment svg path {
  fill: #bbb;
}

.chat-result-page .chat-input .addons-chat .attachment.deactive svg path {
  fill: #bbb;
}

.chat-result-page .chat-input textarea::placeholder {
  color: var(--text-disabled);
  font-size: 16px;
  line-height: 24px;
}

.chat-result-page .chat-input .change-model {
  position: relative;
}

.chat-result-page .chat-input .model-label {
  color: var(--text-primary);
  border-radius: 30px;
  white-space: nowrap;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 5px 31px 5px 13px;
  width: 100%;
  height: 100%;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  font-family: "Inter", sans-serif;
  height: 34px;
}

.chat-result-page .change-model {
  position: relative;
}

.chat-result-page .model-label {
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 15px;
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.chat-result-page .model-dropdown {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  padding: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  box-shadow: 0 2px 5px var(--shadow-color);
  width: 250px;
  z-index: 10;
  max-height: 230px;
  overflow-y: scroll;
}

.chat-result-page .model-dropdown.active {
  display: block;
}

.chat-result-page .model-dropdown.above {
  top: auto;
  bottom: 110%;
}

.chat-result-page .model-option {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-radius: 12px;
  margin-bottom: 5px;
}

.chat-result-page .model-option.active {
  background-color: var(--bg-option-active);
}

.chat-result-page .model-option:last-child {
  border-bottom: none;
}

.chat-result-page .model-option:hover {
  background: var(--bg-option-hover);
}

.chat-result-page .model-option img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  padding: 5px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid var(--border-model);
}

.chat-result-page .model-option div {
  flex: 1;
  gap: 7px;
  display: flex;
  flex-direction: column;
}

.chat-result-page .model-option span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.chat-result-page .model-option p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.chat-result-page .pro-badge {
  background: var(--accent-primary) !important;
  color: var(--bg-primary) !important;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 7px;
  margin-left: 5px;
}

.chat-result-page .chat-input .change-model .arrow-down {
  position: absolute;
  right: 17px;
  width: 11px;
  height: 11px;
  pointer-events: none;
  top: 50%;
  transform: translateY(-50%);
}

.chat-result-page .chat-input .voice-icon,
.chat-result-page .chat-input .send-icon {
  border: none;
  background: none;
  cursor: pointer;
}

.chat-result-page .chat-input .send-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-primary);
  border-radius: 50%;
  box-sizing: border-box;
}

.chat-result-page .chat-input .send-icon svg {
  width: 20px;
}

.chat-result-page .chat-input .voice-icon img {
  width: 34px;
  height: 34px;
}

.send-icon.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
  background-color: var(--bg-send-icon) !important;
  border: 1px solid var(--border-secondary) !important;
}

.chat-result-page .chat-input .search-icon {
  padding: 5px 15px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-secondary);
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  font-family: "Inter", sans-serif;
  height: 34px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text-primary);
  cursor: pointer;
}

.chat-result-page .chat-input .search-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-primary);
}

.chat-result-page .chat-input .voice-icon:hover img {
  filter: grayscale(0);
}

.chat-result-page .chat-input .mic-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--accent-secondary);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.chat-result-page .chat-input .mic-icon svg {
  width: 12px;
  height: auto;
  fill: var(--bg-light);
}

.chat-result-page .chat-input .mic-icon svg path {
  stroke: var(--bg-light);
}

.suggestion-box {
  background: var(--bg-primary);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 15px;
}

.suggestion-model {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-input);
  padding: 5px 10px;
  border-radius: 15px;
}

.suggestion-model img:first-child {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.suggestion-model span {
  font-size: 14px;
  color: var(--text-primary);
}

.suggestion-model img:last-child {
  width: 10px;
  height: 10px;
}

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

.suggestion-list li {
  padding: 14px 10px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-default);
  color: #292929;
}

.suggestion-list li strong {
  font-weight: 500;
  color: #00000052;
}

.suggestion-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.suggestion-list li:hover {
  background: var(--bg-option-hover);
  border-bottom: 1px solid var(--bg-option-hover);
  border-radius: 10px;
}

.suggestion-list li.hover-border {
  border-bottom: 1px solid transparent;
}

.show-flex {
  display: flex !important;
}

.chat-result .bot-message .message-content .typing-span {
  display: inline-block;
  max-width: 100%;
  word-wrap: break-word;
  white-space: normal;
  overflow-wrap: break-word;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px;
  width: 100%;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background-color: #999;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
.chat-result .new-chat-btn {
	display: inline-block;
}
.new-chat {
	text-align: center;
}
.chat-result-page .chat-input-wrap {
    max-width: 718px;
    width: 100%;
	display: flex;
    flex-direction: column;
    align-items: center;
}
.chat-result-page .chat-input:after {
    content: "";
    width: 100%;
    background-color: #fff;
    display: block;
    height: 100%;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    z-index: -1;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-5px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-notice {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  padding: 5px 10px;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 718px;
  position: relative;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.chat-notice .notice-text {
  font-size: 14px;
  line-height: 24px;
  color: #949494 !important;
}

.chat-notice svg {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}














/*=======================Responsive =========================*/
@media (max-width: 1200px) {}

@media (max-width: 1024px) {
  .btn-login-signup {
    display: none;
  }

  .back-arrow {
    top: 50%;
  }
}

@media (max-width: 767px) {
   .chat-notice svg {
	  width: 25px;
	  height: 25px;
	  position: unset;
	  transform: unset;
	}
  .footer-text.footer-text-mb {
    display: block;
    padding-top: 10px;
  }

  footer#main-footer .footer-text p {
    margin-bottom: 10px;
  }

  .footer-text {
    display: none;
  }

  .header-pc {
    display: none;
  }

  .header-mb {
    display: block;
  }

  .header-mb {
    background-color: var(--bg-primary);
    padding: 23px 12px 20px;
  }

  .header-mb .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .header-mb .menu-btn,
  .header-mb .edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
  }

  .header-mb .logo {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: -8px;
  }

  .header-mb .logo img {
    height: auto;
    max-width: 120px;
  }

  .logo-wrapper {
    position: relative;
  }

  .header-mb .dropdown-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
  }

  /* Dropdown menu */
  .model-selector {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    box-shadow: 0 5px 15px var(--shadow-dark);
    border-radius: 8px;
    overflow: hidden;
    width: 85vw;
    display: none;
    flex-direction: column;
    z-index: 1000;
    padding: 20px;
  }

  .model-selector .btn-model {
    width: 100%;
    margin-bottom: 10px;
  }

  .header-mb .dropdown-icon {
    width: 12px;
    height: 12px;
  }

  .login-page .form-login .logo {
    max-width: 200px;
    padding-bottom: 52px;
  }

  .login-page .form-login {
    padding: 28px 0 0;
  }

  .form-login .login-button {
    margin-bottom: 14px;
  }

  .footer-text {
    padding-top: 42px;
    max-width: unset;
    margin: 0 auto;
    padding-right: 0px;
  }

  .chat-tools-pc {
    display: none !important;
  }

  .chat-tools.chat-tools-mobile.style-btn-2.new-home {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 30px;
    max-width: 100%;
    justify-content: center;
  }

  .chat-tools.chat-tools-mobile.style-btn-2.new-home button p {
    font-size: 15px;
  }

  .chat-page .chat-tools {
    order: 1;
  }

  .chat-page .chat-input {
    order: 2;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
  }

  .chat-result .chat-messages {
    overflow: hidden;
  }

  .chat-tools-mobile {
    display: flex;
  }

  .chat-page {
    padding: 0 12px;
    justify-content: space-between;
    min-height: 82dvh;
  }

  .chat-result-page {
    min-height: 79svh;
    justify-content: flex-start;
	  overflow: hidden;
  }
	body.chat-result,
	.page-template-template-chat2 {
		overflow: hidden;
		min-height: unset;
        height: 90vh;
	}

  .chat-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .chat-page .logo {
    max-width: 180px;
    margin-bottom: 4px;
  }

  .chat-page .main-text {
    font-size: 19px;
    margin-bottom: 26.5px;
  }

  /* .chat-page .chat-input {
    display: none;
  } */

  .mic-icon {
    display: none !important;
  }

  .chat-page .chat-input-mobile {
    display: flex;
    flex-direction: column;
    padding: 13px 9px 13px;
    background-color: var(--bg-input);
    border-radius: 15px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 5px;
  }

  .chat-page .chat-input-mobile .addons-chat-mobile {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 5px;
  }

  .chat-page .chat-input .addons-chat .left {
    width: auto;
  }

  .chat-page .chat-input-mobile .left-mobile {
    display: flex;
    justify-content: flex-start;
  }

  .chat-page .chat-input-mobile .attachment {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 50%;
    display: flex;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
  }

  .addons-chat-mobile .attachment img {
    width: 16px !important;
    height: 16px !important;
  }

  .chat-page .chat-input-mobile textarea {
    flex-grow: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    height: 30px;
    font-family: Inter;
    font-weight: 400;
    line-height: 22px;
    padding: 4px 8px;
    margin: 0 2px;
    max-height: 80px;
    resize: none !important;
    width: 100%;
    box-sizing: border-box;
  }

  .chat-input-mobile textarea::-webkit-scrollbar {
    width: 4px;
  }

  .chat-input-mobile textarea::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: 6px;
  }

  .chat-input-mobile textarea::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 6px;
  }

  .chat-input-mobile textarea::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
  }

  .chat-input-mobile textarea {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  }

  .chat-page .chat-input-mobile textarea::placeholder {
    color: var(--text-disabled);
    font-size: 15px;
  }

  .chat-page .chat-input .voice-icon {
    border: none;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0px;
  }

  .chat-page .chat-input-mobile .voice-icon:hover img {
    filter: grayscale(0);
  }

  .chat-tools-mobile.chat-tools {
    max-width: 284px;
    position: relative;
    overflow: unset;
  }

  .chat-tools-mobile.chat-tools.style-btn-2 {
    max-width: 350px;
  }

  .swiper-button-next {
    right: -30px !important;
    top: 54px !important;
  }

  .swiper-button-prev {
    left: -30px !important;
    top: 54px !important;
  }

  .chat-tools.style-btn-2 .swiper-button-prev {
    left: -20px !important;
    top: 33px !important;
  }

  .chat-tools.style-btn-2 .swiper-button-next {
    right: -20px !important;
    top: 33px !important;
  }

  .chat-page .chat-tools.style-btn-2 .btn-tool button {
    min-width: 90px;
  }

  .chat-page .chat-tools .btn-tool p {
    font-size: 11px;
  }

  /* Sidebar header mobile*/
  .header-mb .sidebar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 75vw;
    height: 100dvh;
    background: var(--bg-primary);
    box-shadow: 2px 0 10px var(--shadow-color);
    transition: left 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
  }

  .header-mb .sidebar-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-between;
  }

  .header-mb .sidebar.open {
    left: 0;
  }

  .header-mb .chat-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    background-color: var(--accent-primary) 0a;
    border: 1px solid #efefef;
    width: 100%;
    border-radius: 40px;
    padding: 3px;
  }

  .header-mb .chat-tabs button {
    flex: 1;
    padding: 10px;
    border: none;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
  }

  .header-mb .chat-tabs .active {
    background: var(--accent-primary);
    color: var(--bg-primary);
  }

  .header-mb .older-text {
    font-size: 14px;
    color: var(--text-no-chat);
    margin-bottom: 10px;
  }

  .header-mb .chat-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .header-mb .chat-list li {
    padding: 10px;
  }

  .header-mb .menu-list {
    margin-top: 20px;
  }

  .header-mb .menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: black;
    font-size: 14px;
    padding: 10px 0;
  }

  .header-mb .menu-list img {
    width: 16px;
  }

  .header-mb .user-info {
    display: flex;
    align-items: center;
    margin-top: 30px;
  }

  .header-mb .user-avatar {
    width: 36px;
    height: 36px;
    background: var(--bg-avatar);
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
  }

  .header-mb .user-text {
    font-size: 14px;
  }

  .header-mb .user-name {
    font-weight: bold;
  }

  .header-mb .user-email {
    color: gray;
    font-size: 12px;
  }

  .header-mb .btn-login,
  .header-mb .btn-signup {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
  }

  .header-mb .btn-login {
    background-color: var(--accent-secondary);
    color: var(--bg-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    border: 1px solid var(--accent-secondary);
    transition: all 0.3s ease;
  }

  .header-mb .btn-signup {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    transition: all 0.3s ease;
  }

  .header-mb .btn-login:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
  }

  .header-mb .btn-signup:hover {
    background-color: var(--accent-secondary);
    color: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
  }

  .btn-join {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .registration-form {
    padding: 24px;
    margin: 0;
    border-radius: 0;
  }

  .file-upload {
    flex-direction: column;
    align-items: center;
  }

  .file-upload button {
    width: 100%;
    justify-content: center;
  }

  .file-upload p {
    text-align: center;
  }

  .consent label {
    display: block;
    line-height: 1.5;
  }

  .login-page .footer-text-mb {
    display: block;
  }

  .login-page .footer-text-pc {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .form-field {
    width: 100%;
  }

  .chat-page .chat-input .addons-chat .right,
  .chat-result .chat-input .addons-chat .right {
    width: auto;
  }

  .main-page .chat-page .logo {
    display: none;
  }

  .main-page .chat-page .logo .logo-img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .popup-content {
    padding: 70px 20px 20px;
  }

  .popup-content .logo-pop {
    margin-bottom: 30px;
    max-width: 250px;
  }

  html,
  body {
    overflow-y: unset;
  }

  .sidebar .my-file:after {
    width: 75vw;
  }

  .chat-input .model-label {
    font-size: 12px !important;
    padding: 9px 25px 9px 9px !important;
  }

  .chat-input .search-icon {
    font-size: 12px !important;
    padding: 9px !important;
  }

  .chat-input .change-model .arrow-down {
    right: 10px !important;
  }

  .model-dropdown {
    top: auto;
    bottom: 110%;
  }

  .chat-input textarea {
    height: 56px !important;
    padding: 5px 10px !important;
  }

  .chat-result .chat-area {
     max-height: calc(100svh - 220px);
     overflow-y: scroll;
     padding-bottom: 120px;
  }
	.chat-result .chat-area::-webkit-scrollbar {
		display: none;
	}

	/* Firefox */
	.chat-result .chat-area {
		scrollbar-width: none; /* Firefox */
		-ms-overflow-style: none; /* IE 10+ */
	}
	
  .page-template-template-chat2 .chat-result .chat-area {
    min-height: 42vh;
  }
  .chat-result-page .chat-input-wrap {
        width: 100%;
        position: fixed;
        bottom: 25px;
    }
	.chat-result-page .chat-input {
		width: 95%;
	}
  .chat-result-page {
    padding: 5px 12px 0;
  }

  .chat-result .bot-message .message-content {
    max-width: 100%;
  }

  .chat-input .search-icon .search-options-dropdown {
    bottom: 110%;
    top: unset;
    left: unset;
    width: 300px;
  }

  .copy-popup {
    width: 60%;
    text-align: center;
  }

  .chat-notice .notice-text {
    font-size: 12px;
    line-height: 18px;
  }

  .chat-notice {
    padding: 5px 15px;
	  width: 90%;
  }
	.page-template-template-chat2 footer#main-footer {
        position: fixed;
    }

  .chat-notice img {
    top: -13px;
  }
	.chat-result footer#main-footer {
		position: fixed;
	}
}