:root {
  --bg-primary: white;
  --bg-secondary: #f5f6f7;
  --text-primary: #1c1e21;
  --text-secondary: #65676b;
  --border-color: #e4e6eb;
  --scrollbar-color: #ccd0d5;
  --message-ai-bg: #f5f6f7;
  --message-ai-text: #1c1e21;
  --bg-accent: #2a48a1;
  --bg-hover: #3557bd;
  --message-user-bg: var(--bg-accent);
  --message-user-text: white;
  --status-item-border: var(--bg-accent);
  --status-text-color: var(--bg-accent);
  --chat-input-focus-border: var(--bg-accent);
  --chat-send-button-bg: var(--bg-accent);
  --option-icon-color: var(--bg-accent);
  --option-title-color: var(--text-primary);
  --option-description-color: var(--text-secondary);
  --chat-toggle-bg: var(--bg-accent);
  --chat-header-bg: var(--bg-accent);
  --message-avatar-bg: var(--bg-accent);
  --base-font-size: 14px;
  --icon-color: white;
  --bg-accent-rgb: 42, 72, 161;
  --status-icon-color: var(--bg-accent);
}
[data-theme="dark"] {
  --bg-primary: #000000;
  --bg-secondary: #1c1e21;
  --text-primary: #ffffff;
  --text-secondary: #e4e6eb;
  --border-color: #2c2c2c;
  --scrollbar-color: #4e4f50;
  --message-ai-bg: #1c1e21;
  --message-ai-text: #ffffff;
  --option-title-color: #ffffff;
  --option-description-color: #e4e6eb;
  --icon-color: #ffffff;
  --message-user-bg: #1c1e21;
  --message-user-text: #ffffff;
  --chat-input-focus-border: #2c2c2c;
  --chat-send-button-bg: #1c1e21;
  --chat-header-bg: #000000;
  --message-avatar-bg: #1c1e21;
  --status-icon-color: #ffffff;
}
[data-theme="light"] {
  --status-icon-color: var(--bg-accent);
}
[data-theme="dark"] .status-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .status-text,
[data-theme="dark"] .status-highlight {
  color: var(--text-primary);
}
[data-theme="dark"] .menu-item-icon {
  background-color: var(--bg-secondary);
}
[data-theme="dark"] .menu-item.selected {
  background-color: var(--bg-secondary);
  border: 1px solid var(--text-primary);
}
[data-theme="dark"] .menu-item.selected::after {
  background-color: var(--bg-accent);
}
[data-theme="dark"] .chat-sidebar {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .option-button:hover {
  background-color: var(--bg-secondary);
}
[data-theme="dark"] .chat-modal.fullscreen .chat-sidebar {
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
}
[data-theme="light"] .chat-header:has(+ .chat-content) {
  --icon-color: black;
}
.chat-header[style*="background-color: white"],
.chat-header[style*="background-color: #fff"],
.chat-header[style*="background-color: rgb(255, 255, 255)"],
.chat-header[style*="background-color: rgba(255, 255, 255"],
.chat-header[style*="background-color:#fff"],
.chat-header[style*="background-color:#ffffff"] {
  --icon-color: black;
}
.chat-header[style*="background-color: white"] .header-logo img,
.chat-header[style*="background-color: #fff"] .header-logo img,
.chat-header[style*="background-color: rgb(255, 255, 255)"] .header-logo img,
.chat-header[style*="background-color: rgba(255, 255, 255"] .header-logo img,
.chat-header[style*="background-color:#fff"] .header-logo img,
.chat-header[style*="background-color:#ffffff"] .header-logo img {
  filter: brightness(0);
}
.chat-header[style*="background-color: white"] .fullscreen-icon,
.chat-header[style*="background-color: #fff"] .fullscreen-icon,
.chat-header[style*="background-color: rgb(255, 255, 255)"] .fullscreen-icon,
.chat-header[style*="background-color: rgba(255, 255, 255"] .fullscreen-icon,
.chat-header[style*="background-color:#fff"] .fullscreen-icon,
.chat-header[style*="background-color:#ffffff"] .fullscreen-icon {
  color: black !important;
}
.chat-header[style*="background-color: white"] #close-chat,
.chat-header[style*="background-color: #fff"] #close-chat,
.chat-header[style*="background-color: rgb(255, 255, 255)"] #close-chat,
.chat-header[style*="background-color: rgba(255, 255, 255"] #close-chat,
.chat-header[style*="background-color:#fff"] #close-chat,
.chat-header[style*="background-color:#ffffff"] #close-chat {
  color: #000;
}
.chat-header[style*="background-color: white"] .theme-switch,
.chat-header[style*="background-color: #fff"] .theme-switch,
.chat-header[style*="background-color: rgb(255, 255, 255)"] .theme-switch,
.chat-header[style*="background-color: rgba(255, 255, 255"] .theme-switch,
.chat-header[style*="background-color:#fff"] .theme-switch,
.chat-header[style*="background-color:#ffffff"] .theme-switch {
  background-color: #f0f0f0;
}
.chat-sidebar[style*="background-color: white"] .option-icon,
.chat-sidebar[style*="background-color: #fff"] .option-icon,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"] .option-icon,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"] .option-icon,
.chat-sidebar[style*="background-color:#fff"] .option-icon,
.chat-sidebar[style*="background-color:#ffffff"] .option-icon {
  color: #000;
}
.chat-sidebar[style*="background-color: white"] .option-icon iconify-icon,
.chat-sidebar[style*="background-color: #fff"] .option-icon iconify-icon,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"]
  .option-icon
  iconify-icon,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"]
  .option-icon
  iconify-icon,
.chat-sidebar[style*="background-color:#fff"] .option-icon iconify-icon,
.chat-sidebar[style*="background-color:#ffffff"] .option-icon iconify-icon {
  color: black !important;
}
.chat-sidebar[style*="background-color: white"] .sidebar-nav-button,
.chat-sidebar[style*="background-color: #fff"] .sidebar-nav-button,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"]
  .sidebar-nav-button,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"]
  .sidebar-nav-button,
.chat-sidebar[style*="background-color:#fff"] .sidebar-nav-button,
.chat-sidebar[style*="background-color:#ffffff"] .sidebar-nav-button {
  background-color: rgb(0 0 0 / 0.1);
}
.chat-sidebar[style*="background-color: white"]
  .sidebar-nav-button
  iconify-icon,
.chat-sidebar[style*="background-color: #fff"] .sidebar-nav-button iconify-icon,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"]
  .sidebar-nav-button
  iconify-icon,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"]
  .sidebar-nav-button
  iconify-icon,
.chat-sidebar[style*="background-color:#fff"] .sidebar-nav-button iconify-icon,
.chat-sidebar[style*="background-color:#ffffff"]
  .sidebar-nav-button
  iconify-icon {
  color: black !important;
}
.chat-sidebar[style*="background-color: white"] .option-item.selected::after,
.chat-sidebar[style*="background-color: #fff"] .option-item.selected::after,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"]
  .option-item.selected::after,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"]
  .option-item.selected::after,
.chat-sidebar[style*="background-color:#fff"] .option-item.selected::after,
.chat-sidebar[style*="background-color:#ffffff"] .option-item.selected::after {
  background-color: #000;
}
.chat-sidebar[style*="background-color: white"]
  .option-item[data-type="IA"].selected
  .option-button::before,
.chat-sidebar[style*="background-color: #fff"]
  .option-item[data-type="IA"].selected
  .option-button::before,
.chat-sidebar[style*="background-color: rgb(255, 255, 255)"]
  .option-item[data-type="IA"].selected
  .option-button::before,
.chat-sidebar[style*="background-color: rgba(255, 255, 255"]
  .option-item[data-type="IA"].selected
  .option-button::before,
.chat-sidebar[style*="background-color:#fff"]
  .option-item[data-type="IA"].selected
  .option-button::before,
.chat-sidebar[style*="background-color:#ffffff"]
  .option-item[data-type="IA"].selected
  .option-button::before {
  background-color: #000;
  color: #fff;
}
.chat-toggle[style*="background-color: white"],
.chat-toggle[style*="background-color: #fff"],
.chat-toggle[style*="background-color: rgb(255, 255, 255)"],
.chat-toggle[style*="background-color: rgba(255, 255, 255"],
.chat-toggle[style*="background-color:#fff"],
.chat-toggle[style*="background-color:#ffffff"] {
  background-color: #f0f0f0;
}
.chat-toggle[style*="background-color: white"] img,
.chat-toggle[style*="background-color: #fff"] img,
.chat-toggle[style*="background-color: rgb(255, 255, 255)"] img,
.chat-toggle[style*="background-color: rgba(255, 255, 255"] img,
.chat-toggle[style*="background-color:#fff"] img,
.chat-toggle[style*="background-color:#ffffff"] img {
  filter: brightness(0);
}
.quickbar-container .quickbar-item[style*="background-color: white"],
.quickbar-container .quickbar-item[style*="background-color: #fff"],
.quickbar-container
  .quickbar-item[style*="background-color: rgb(255, 255, 255)"],
.quickbar-container
  .quickbar-item[style*="background-color: rgba(255, 255, 255"],
.quickbar-container .quickbar-item[style*="background-color:#fff"],
.quickbar-container .quickbar-item[style*="background-color:#ffffff"] {
  border: 1px solid rgb(0 0 0 / 0.1);
}
.quickbar-container .quickbar-item[style*="background-color: white"] img,
.quickbar-container .quickbar-item[style*="background-color: #fff"] img,
.quickbar-container
  .quickbar-item[style*="background-color: rgb(255, 255, 255)"]
  img,
.quickbar-container
  .quickbar-item[style*="background-color: rgba(255, 255, 255"]
  img,
.quickbar-container .quickbar-item[style*="background-color:#fff"] img,
.quickbar-container .quickbar-item[style*="background-color:#ffffff"] img,
.quickbar-container
  .quickbar-item[style*="background-color: white"]
  iconify-icon,
.quickbar-container
  .quickbar-item[style*="background-color: #fff"]
  iconify-icon,
.quickbar-container
  .quickbar-item[style*="background-color: rgb(255, 255, 255)"]
  iconify-icon,
.quickbar-container
  .quickbar-item[style*="background-color: rgba(255, 255, 255"]
  iconify-icon,
.quickbar-container .quickbar-item[style*="background-color:#fff"] iconify-icon,
.quickbar-container
  .quickbar-item[style*="background-color:#ffffff"]
  iconify-icon {
  filter: brightness(0);
  color: black !important;
}
[data-theme="dark"] .status-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
}
[data-theme="dark"] .status-text,
[data-theme="dark"] .status-highlight {
  color: var(--text-primary);
}
.theme-switch {
  z-index: 9999;
  background: var(--bg-accent) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.15);
}
#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  z-index: 999999;
  font-family: "Inter", sans-serif;
  font-size: var(--base-font-size);
  display: block;
  visibility: visible;
  opacity: 1;
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border: none !important;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.2s;
  padding: 0;
  position: relative;
  display: none;
  visibility: hidden;
  opacity: 0;
  background: var(--bg-accent) !important;
  border-radius: 50% !important;
  z-index: 999999;
}
.chat-toggle.has-widget-icon {
  background: none !important;
  box-shadow: none !important;
}
.chat-toggle:hover {
  transform: scale(1.05);
}
.chat-toggle img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}
.chat-toggle.has-widget-icon img {
  width: 60px;
  height: 60px;
  filter: none;
}
.white-theme .chat-toggle.has-widget-icon {
  background: none !important;
  border: none !important;
}
.white-theme .chat-toggle.has-widget-icon img {
  filter: none !important;
}
[data-light-bg="true"].chat-toggle.has-widget-icon {
  background: none !important;
  border: none !important;
}
[data-light-bg="true"].chat-toggle.has-widget-icon img {
  filter: none !important;
}
.chat-modal {
  position: fixed;
  bottom: 140px;
  right: 20px;
  left: auto;
  width: 360px;
  height: 500px;
  background-color: var(--bg-primary) !important;
  border-radius: 24px;
  box-shadow: 0 5px 40px rgb(0 0 0 / 0.2);
  display: none;
  flex-direction: column;
  overflow: visible;
  z-index: 999998;
}
.chat-modal::after {
  display: none;
}
.chat-modal.active {
  display: flex;
}
.chat-header {
  padding: 5px 20px;
  background-color: var(--chat-header-bg);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 24px 24px 0 0;
  position: relative;
  min-height: 60px;
  flex-shrink: 0;
  text-align: left !important;
  font-family: "Inter", sans-serif !important;
}
.header-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 0;
}
.header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: -8px;
}
.theme-switch {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.theme-switch:hover {
  opacity: 1;
}
#close-chat {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  margin-right: 8px;
}
#close-chat:hover {
  opacity: 1;
}
.quickbar-logo {
  width: 150px;
  height: auto;
  display: block;
}
.logo-text {
  display: flex;
  align-items: baseline;
}
.brand-name {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.5px;
}
.registered {
  font-size: 14px;
  margin-left: 2px;
  font-weight: 400;
}
.chat-body {
  display: flex;
  flex: 1;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  border-radius: 0 0 24px 24px;
}
.chat-content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  width: 100%;
  overflow-y: auto;
  position: relative;
  height: 100%;
}
.messages-container {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.message {
  display: flex;
  gap: 12px;
  max-width: 85%;
  margin-bottom: 16px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}
.message-avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: var(--message-avatar-bg);
  border-radius: 50%;
  z-index: 2;
}
.message-avatar svg {
  width: 100%;
  height: 100%;
  display: block !important;
  color: var(--message-avatar-bg) !important;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}
.message-avatar svg circle {
  fill: currentColor;
}
.message-avatar svg path,
.message-avatar svg circle:not(:first-child) {
  fill: white !important;
  stroke: white !important;
}
.avatar-circle,
.avatar-text,
.avatar-fallback,
.message-avatar iconify-icon,
.avatar-image,
.message-avatar img {
  display: none !important;
}
.message-content {
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.message-content p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
.message-timestamp {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}
.ai-message {
  margin-left: 16px;
}
.ai-message .message-content {
  background-color: var(--message-ai-bg, #f0f0f0);
  color: var(--message-ai-text, #333);
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 12px 16px;
  text-align: left;
}
.ai-message .message-timestamp {
  color: var(--message-ai-text, #333);
}
.user-message {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 0;
  justify-content: flex-end;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
.user-message .message-content {
  background-color: var(--bg-accent, #1a1b50);
  color: var(--message-user-text, white);
  border-radius: 16px;
  border-top-right-radius: 4px;
  padding: 12px 16px;
  text-align: right;
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
}
.user-message .message-timestamp {
  color: var(--message-user-text, white);
  text-align: right;
}
.chat-content::-webkit-scrollbar {
  width: 8px;
}
.chat-content::-webkit-scrollbar-track {
  background: #fff0;
}
.chat-content::-webkit-scrollbar-thumb {
  background-color: #ccd0d5;
  border-radius: 4px;
}
.header-logo img {
  display: block;
}
.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #fff;
}
.option-icon iconify-icon {
  width: 28px !important;
  height: 28px !important;
  color: currentColor;
  align-items: center;
  justify-content: center;
}
.option-icon iconify-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.option-title {
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: var(--option-title-color);
  margin: 0;
}
.option-description {
  font-size: 11px;
  line-height: 1.3;
  color: var(--option-description-color);
  margin: 0;
  display: block;
}
.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid #e4e6eb;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  flex-shrink: 0;
  border-top: 1px solid var(--border-color);
  gap: 8px;
  z-index: 100;
  text-align: left !important;
}
.input-wrapper {
  position: relative;
  display: flex;
  width: 100%;
}
.chat-status-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 0;
  width: 100%;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--status-icon-color);
  border-radius: 9px;
  padding: 3px 11px;
  background-color: #fff0;
  height: 32px;
  width: 100px !important;
  transition: all 0.3s ease;
  text-align: left !important;
}
.status-item img {
  width: 20px;
  height: 20px;
}
.status-text {
  font-size: 11px;
  color: var(--status-icon-color);
  white-space: nowrap;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.status-highlight {
  color: var(--status-icon-color);
  font-weight: 800;
}
#gptt {
  width: 65px;
}
.chat-input-field {
  flex: 1;
  padding: 12px 16px;
  padding-right: 50px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  font-family: "Inter", sans-serif;
  resize: none;
  min-height: 24px;
  max-height: 120px;
  line-height: 1.4;
  overflow: hidden;
  background-color: var(--bg-secondary);
  width: 100%;
  color: var(--text-primary);
}
.chat-input-field:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: var(--bg-secondary);
}
.chat-input-field:focus {
  border-color: var(--chat-input-focus-border);
  background-color: var(--bg-primary);
}
.chat-input-field::placeholder {
  color: var(--text-secondary);
}
.chat-send-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background-color: var(--chat-send-button-bg) !important;
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 1;
}
.chat-send-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.chat-send-button:not(:disabled):hover {
  transform: translateY(-50%) scale(1.05);
}
.chat-send-button svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}
.chat-input-field::-webkit-scrollbar {
  display: none;
}
.chat-input-field {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.chat-sidebar {
  position: fixed;
  width: 13rem;
  height: 50px;
  background-color: var(--bg-accent);
  border-radius: 0 0 24px 24px;
  display: flex;
  flex-direction: row;
  transition: all 0.3s ease;
  z-index: 9;
  padding: 0 32px;
  bottom: 90px;
  right: 90px;
  justify-content: center;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.2);
  left: auto;
  overflow: hidden;
}
.sidebar-options {
  padding: 0;
  width: 100%;
  display: flex;
  flex: 1;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar-options::-webkit-scrollbar {
  display: none;
}
.options-list {
  display: flex;
  flex-direction: row;
  width: max-content;
  margin: 0;
  padding: 0 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  position: relative;
}
.option-item {
  position: relative;
  transition: all 0.2s ease;
}
.option-item:not(:last-child)::after {
  display: none;
}
.option-button {
  width: 40px;
  height: 40px;
  background-color: transparent !important;
  border: none !important;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50% !important;
  cursor: pointer;
  transition: 0.2s;
  position: relative !important;
}
.option-button[title] {
  position: relative;
}
.option-button[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background: rgb(0 0 0 / 0.8);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
}
.option-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.option-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.option-icon img,
.option-icon iconify-icon {
  width: 24px !important;
  height: 24px !important;
}
.option-text {
  display: none;
}
.option-item.selected .option-button {
  transform: scale(1.1);
}
.option-item.selected::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
}
.option-item[data-type="IA"].selected .option-button::before {
  content: "✓";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--bg-accent);
  z-index: 2;
}
.sidebar-toggle,
.sidebar-footer,
.powered-by,
.powered-by-text,
.group2-image {
  display: none;
}
.dark-icon {
  display: none;
}
.light-icon {
  display: block;
}
[data-theme="dark"] .dark-icon {
  display: block;
}
[data-theme="dark"] .light-icon {
  display: none;
}
.quickbar-container {
  position: fixed;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  transition: all 0.3s ease;
  width: 300px;
}
.quickbar-container[data-position="top-left"],
.quickbar-position-top-left {
  top: 20px !important;
  left: 20px !important;
  bottom: auto !important;
  right: auto !important;
}
.quickbar-container[data-position="top-right"],
.quickbar-position-top-right {
  top: 20px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
}
.quickbar-container[data-position="bottom-left"],
.quickbar-position-bottom-left {
  bottom: 20px !important;
  left: 20px !important;
  top: auto !important;
  right: auto !important;
}
.quickbar-container[data-position="bottom-right"],
.quickbar-position-bottom-right {
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  left: auto !important;
}
#quickbar-container {
  position: fixed !important;
  z-index: 9999 !important;
}
#quickbar-container[data-position="top-left"] {
  top: 20px !important;
  left: 20px !important;
  bottom: auto !important;
  right: auto !important;
}
#quickbar-container[data-position="top-right"] {
  top: 20px !important;
  right: 20px !important;
  bottom: auto !important;
  left: auto !important;
}
#quickbar-container[data-position="bottom-left"] {
  bottom: 20px !important;
  left: 20px !important;
  top: auto !important;
  right: auto !important;
}
#quickbar-container[data-position="bottom-right"] {
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  left: auto !important;
}
.sidebar-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: rgb(255 255 255 / 0.2) !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 11;
  padding: 0;
  opacity: 0.8;
  transition: all 0.2s ease;
}
.sidebar-nav-button:hover {
  opacity: 1;
  background-color: rgb(255 255 255 / 0.3);
  transform: translateY(-50%) scale(1.1);
}
.sidebar-nav-prev {
  left: 8px;
}
.sidebar-nav-next {
  right: 8px;
}
.sidebar-nav-button iconify-icon {
  width: 16px !important;
  height: 16px !important;
  color: white !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .message-content {
  color: var(--message-ai-text, white);
}
[data-theme="dark"] .ai-message .message-content {
  background-color: #2c2c2c;
  color: var(--message-ai-text, white);
}
[data-theme="dark"] .user-message .message-content {
  background-color: var(--bg-accent);
  color: var(--message-user-text, white);
}
.option-item.selected {
  transform: scale(1.05);
}
.option-item.selected::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
}
.option-item[data-type="IA"] .option-button {
  position: relative;
}
.option-item[data-type="IA"].selected .option-button::before {
  content: "✓";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--bg-accent);
}
.form-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.5);
  z-index: 1000000;
  align-items: center;
  justify-content: center;
}
.form-modal.active {
  display: flex;
}
.form-modal-content {
  background-color: var(--bg-primary);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.2);
  animation: modalSlideIn 0.3s ease;
  position: relative;
  z-index: 1000001;
}
@keyframes modalSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.form-modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-modal-title {
  margin: 0;
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 600;
}
.form-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.form-modal-close:hover {
  color: var(--text-primary);
}
.form-modal-body {
  padding: 20px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-bottom: 8px;
}
.form-group label::after {
  content: "*";
  color: #f44;
  font-size: 14px;
}
.form-group input {
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  width: 100%;
  box-sizing: border-box;
}
.form-group input:focus {
  border-color: var(--bg-accent);
  outline: none;
}
.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}
.form-submit-button {
  background-color: var(--bg-accent);
  border: none;
  color: #fff;
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}
.form-submit-button:hover {
  transform: scale(1.02);
}
.form-cancel-button {
  background-color: var(--bg-secondary);
  border: none;
  color: var(--text-primary);
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}
.form-cancel-button:hover {
  transform: scale(1.02);
}
[data-theme="dark"] .form-group input {
  background-color: var(--bg-secondary);
  color: #fff;
}
[data-theme="dark"] .form-cancel-button {
  background-color: #2c2c2c;
  color: #fff;
}
[data-theme="dark"] .form-cancel-button:hover {
  background-color: #3c3c3c;
}
.fullscreen-switch {
  background: none !important;
  border: none !important;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.fullscreen-switch:hover {
  opacity: 1;
}
.chat-modal.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  border-radius: 0;
  margin: 0;
  max-width: none;
  max-height: none;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.chat-modal.fullscreen .chat-header {
  border-radius: 0;
  flex-shrink: 0;
}
.chat-modal.fullscreen .chat-body {
  flex: 1;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100000;
  overflow-x: hidden;
}
.chat-modal.fullscreen .chat-content {
  flex: 1;
  height: auto;
  min-height: 0;
  position: relative;
  z-index: 100000;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-bottom: 200px;
}
.chat-modal.fullscreen .chat-input-area {
  position: fixed;
  bottom: 66px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100001;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 20px;
}
.chat-modal.fullscreen .chat-sidebar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 66px;
  border-radius: 0;
  padding: 0;
  background: linear-gradient(to right, var(--bg-accent), var(--bg-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  box-shadow: 0 -4px 20px rgb(0 0 0 / 0.1);
  box-sizing: border-box;
  overflow: hidden;
}
.chat-modal.fullscreen .sidebar-options {
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  position: relative;
  z-index: 100001;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.chat-modal.fullscreen .options-list {
  justify-content: center;
  width: 100%;
  display: flex;
  gap: 32px;
  position: relative;
  z-index: 100002;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.chat-modal.fullscreen .option-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100003;
  width: 60px;
  height: 60px;
}
.chat-modal.fullscreen .option-button {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0 0 0 / 0.2);
  border: 1px solid var(--bg-accent);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 100004;
  backdrop-filter: blur(5px);
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.chat-modal.fullscreen .option-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100006;
}
.chat-modal.fullscreen .option-icon iconify-icon {
  width: 28px !important;
  height: 28px !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative;
  z-index: 100007;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.15));
}
.chat-modal.fullscreen .sidebar-nav-button {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-accent);
  border: 1px solid var(--bg-accent);
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 100008;
  padding: 0;
  opacity: 0.9;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-sizing: border-box;
}
.chat-modal.fullscreen .sidebar-nav-button iconify-icon {
  width: 24px !important;
  height: 24px !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.15));
}
.chat-modal.fullscreen .sidebar-nav-prev {
  display: none;
}
.chat-modal.fullscreen .sidebar-nav-next {
  display: none;
}
.chat-modal.fullscreen .option-item.selected::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}
[data-light-bg="true"] {
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}
.chat-header[data-light-bg="true"] {
  background-color: #f5f5f5 !important;
}
.chat-header[data-light-bg="true"] .header-logo img {
  filter: brightness(0) !important;
}
.chat-header[data-light-bg="true"] .fullscreen-icon {
  color: black !important;
}
.chat-header[data-light-bg="true"] #close-chat {
  color: black !important;
}
.chat-header[data-light-bg="true"] .theme-switch {
  background-color: #e0e0e0 !important;
}
.chat-sidebar[data-light-bg="true"] {
  background-color: #f5f5f5 !important;
}
.chat-sidebar[data-light-bg="true"] .option-icon {
  color: black !important;
}
.chat-sidebar[data-light-bg="true"] .option-icon iconify-icon {
  color: black !important;
}
.chat-sidebar[data-light-bg="true"] .sidebar-nav-button {
  background-color: rgb(0 0 0 / 0.1) !important;
}
.chat-sidebar[data-light-bg="true"] .sidebar-nav-button iconify-icon {
  color: black !important;
}
.chat-sidebar[data-light-bg="true"] .option-item.selected::after {
  background-color: black !important;
}
.chat-sidebar[data-light-bg="true"]
  .option-item[data-type="IA"].selected
  .option-button::before {
  background-color: black !important;
  color: white !important;
}
.chat-toggle[data-light-bg="true"] {
  background-color: #f5f5f5 !important;
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}
.chat-toggle[data-light-bg="true"] img {
  filter: brightness(0) !important;
}
.quickbar-item[data-light-bg="true"] {
  background-color: #f5f5f5 !important;
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}
.quickbar-item[data-light-bg="true"] img,
.quickbar-item[data-light-bg="true"] iconify-icon {
  filter: brightness(0) !important;
  color: black !important;
}
.white-theme .chat-header {
  background-color: #f5f5f5 !important;
}
.white-theme .chat-sidebar {
  background-color: #f5f5f5 !important;
}
.white-theme .option-icon {
  color: black !important;
}
.white-theme .option-icon iconify-icon {
  color: black !important;
}
.white-theme .sidebar-nav-button iconify-icon {
  color: black !important;
}
.white-theme .header-logo img {
  filter: brightness(0) !important;
}
.white-theme .fullscreen-icon {
  color: black !important;
}
.white-theme #close-chat {
  color: black !important;
}
.white-theme .chat-toggle {
  background-color: #f5f5f5 !important;
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}
.white-theme .chat-toggle img {
  filter: brightness(0) !important;
}
.white-theme .quickbar-item {
  background-color: #f5f5f5 !important;
  border: 1px solid rgb(0 0 0 / 0.1) !important;
}
.white-theme .quickbar-item img,
.white-theme .quickbar-item iconify-icon {
  filter: brightness(0) !important;
  color: black !important;
}
.chat-modal.fullscreen ~ .form-modal,
.chat-modal.fullscreen .form-modal {
  z-index: 1000000;
}
.chat-modal.fullscreen ~ .form-modal .form-modal-content,
.chat-modal.fullscreen .form-modal .form-modal-content {
  z-index: 1000001;
}
.quickbar-item iconify-icon {
  color: var(--icon-color, white) !important;
}
.quickbar-item img {
  filter: var(--icon-filter, none);
}
.quickbar-item button,
.quickbar-item button:hover,
.quickbar-item input[type="button"],
.quickbar-item input[type="button"]:hover {
  background-color: inherit !important;
  color: inherit !important;
  border-color: inherit !important;
  transform: none !important;
  box-shadow: inherit !important;
  opacity: 1 !important;
  filter: inherit !important;
  outline: none !important;
  text-decoration: none !important;
}
.white-theme .quickbar-item iconify-icon {
  color: black !important;
}
.white-theme .quickbar-item img {
  filter: brightness(0) !important;
}
.white-theme .status-item {
  border-color: black !important;
  background-color: #f5f5f5 !important;
}
.white-theme .status-text,
.white-theme .status-highlight {
  color: black !important;
}
.white-theme .status-item img {
  filter: brightness(0) !important;
}
[data-light-bg="true"] ~ .chat-input-area .status-item {
  border-color: black !important;
  background-color: #f5f5f5 !important;
}
[data-light-bg="true"] ~ .chat-input-area .status-text,
[data-light-bg="true"] ~ .chat-input-area .status-highlight {
  color: black !important;
}
[data-light-bg="true"] ~ .chat-input-area .status-item img {
  filter: brightness(0) !important;
}
.chat-header[style*="background-color: white"] ~ .chat-body .status-item,
.chat-header[style*="background-color: #fff"] ~ .chat-body .status-item,
.chat-header[style*="background-color: rgb(255, 255, 255)"]
  ~ .chat-body
  .status-item,
.chat-header[style*="background-color: rgba(255, 255, 255"]
  ~ .chat-body
  .status-item,
.chat-header[style*="background-color:#fff"] ~ .chat-body .status-item,
.chat-header[style*="background-color:#ffffff"] ~ .chat-body .status-item {
  border-color: black !important;
  background-color: #f5f5f5 !important;
}
.chat-header[style*="background-color: white"] ~ .chat-body .status-text,
.chat-header[style*="background-color: #fff"] ~ .chat-body .status-text,
.chat-header[style*="background-color: rgb(255, 255, 255)"]
  ~ .chat-body
  .status-text,
.chat-header[style*="background-color: rgba(255, 255, 255"]
  ~ .chat-body
  .status-text,
.chat-header[style*="background-color:#fff"] ~ .chat-body .status-text,
.chat-header[style*="background-color:#ffffff"] ~ .chat-body .status-text,
.chat-header[style*="background-color: white"] ~ .chat-body .status-highlight,
.chat-header[style*="background-color: #fff"] ~ .chat-body .status-highlight,
.chat-header[style*="background-color: rgb(255, 255, 255)"]
  ~ .chat-body
  .status-highlight,
.chat-header[style*="background-color: rgba(255, 255, 255"]
  ~ .chat-body
  .status-highlight,
.chat-header[style*="background-color:#fff"] ~ .chat-body .status-highlight,
.chat-header[style*="background-color:#ffffff"] ~ .chat-body .status-highlight {
  color: black !important;
}
.chat-header[style*="background-color: white"] ~ .chat-body .status-item img,
.chat-header[style*="background-color: #fff"] ~ .chat-body .status-item img,
.chat-header[style*="background-color: rgb(255, 255, 255)"]
  ~ .chat-body
  .status-item
  img,
.chat-header[style*="background-color: rgba(255, 255, 255"]
  ~ .chat-body
  .status-item
  img,
.chat-header[style*="background-color:#fff"] ~ .chat-body .status-item img,
.chat-header[style*="background-color:#ffffff"] ~ .chat-body .status-item img {
  filter: brightness(0) !important;
}
.chat-input-area .status-item {
  transition: all 0.3s ease;
}
.white-theme .chat-input-area .status-item {
  border-color: black !important;
  background-color: #f5f5f5 !important;
}
.white-theme .chat-input-area .status-text,
.white-theme .chat-input-area .status-highlight {
  color: black !important;
}
.white-theme .chat-input-area .status-item img {
  filter: brightness(0) !important;
}
.white-theme #gptt,
[data-light-bg="true"] ~ .chat-body #gptt {
  border-color: black !important;
  background-color: #f5f5f5 !important;
}
.white-theme #gptt img,
[data-light-bg="true"] ~ .chat-body #gptt img {
  filter: brightness(0) !important;
}
.white-theme #gptt .status-text,
[data-light-bg="true"] ~ .chat-body #gptt .status-text {
  color: black !important;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--status-icon-color);
  border-radius: 9px;
  padding: 3px 11px;
  background-color: #fff0;
  height: 32px;
  width: 80px;
  transition: all 0.3s ease;
}
.status-item iconify-icon,
.status-item .status-text,
.status-item .status-highlight {
  color: var(--status-icon-color);
}
.status-item[data-force-black="true"],
.white-theme .status-item,
[data-light-bg="true"] .status-item {
  border-color: black !important;
}
.status-item[data-force-black="true"] iconify-icon,
.status-item[data-force-black="true"] .status-text,
.status-item[data-force-black="true"] .status-highlight,
.white-theme .status-item iconify-icon,
.white-theme .status-item .status-text,
.white-theme .status-item .status-highlight,
[data-light-bg="true"] .status-item iconify-icon,
[data-light-bg="true"] .status-item .status-text,
[data-light-bg="true"] .status-item .status-highlight {
  color: black !important;
}
[data-theme="dark"] [data-light-bg="true"],
[data-theme="dark"] .white-theme {
  background-color: var(--bg-primary) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}
[data-theme="dark"] [data-light-bg="true"] iconify-icon,
[data-theme="dark"] .white-theme iconify-icon {
  color: var(--text-primary) !important;
}
[data-theme="dark"] [data-light-bg="true"] img,
[data-theme="dark"] .white-theme img {
  filter: brightness(0) invert(1) !important;
}
.chat-items-menu {
  width: calc(100% - 20px);
  margin: 15px auto;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-primary);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.15);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  max-height: 320px;
}
.items-menu-header {
  padding: 14px 18px;
  background-color: var(--bg-accent);
  color: #fff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.items-menu-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
.items-menu-container {
  padding: 15px;
  padding-bottom: 25px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
}
.items-menu-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.items-menu-container::-webkit-scrollbar-track {
  background: #fff0;
}
.items-menu-container::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: 3px;
}
.menu-item-quickbar {
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.menu-item-quickbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  background-color: rgba(var(--bg-accent-rgb), 0.1);
}
.menu-item-quickbar.selected {
  border: 2px solid var(--bg-accent);
  background-color: rgba(var(--bg-accent-rgb), 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
}
.menu-item-quickbar.selected::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--bg-accent);
  border-radius: 50%;
}
.menu-item-quickbar:last-child {
  margin-bottom: 0;
}
.menu-item-quickbar-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-accent);
  margin-right: 16px;
  color: #fff;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.15);
}
.menu-item-quickbar-icon iconify-icon {
  width: 28px !important;
  height: 28px !important;
  color: white !important;
}
.menu-item-quickbar-content {
  flex-grow: 1;
}
.menu-item-quickbar-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
}
.menu-item-quickbar-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}
[data-theme="dark"] .chat-items-menu {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}
[data-theme="dark"] .menu-item-quickbar {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
}
[data-theme="dark"] .menu-item-quickbar:hover {
  background-color: rgba(var(--bg-accent-rgb), 0.1);
  border-color: var(--bg-accent);
}
@media (max-width: 480px) {
  .chat-items-menu {
    margin-top: 15px;
  }
  .menu-item-quickbar {
    padding: 10px;
  }
  .menu-item-quickbar-icon {
    width: 32px;
    height: 32px;
  }
}
.chat-modal.fullscreen .chat-items-menu {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  width: calc(100% - 40px);
  box-sizing: border-box;
  height: auto;
  max-height: calc(100vh - 260px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 100001;
  bottom: 180px;
}
.chat-modal.fullscreen .items-menu-container {
  height: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 25px;
}
.chat-modal.fullscreen .items-menu-container::-webkit-scrollbar {
  display: none;
}
.chat-modal.fullscreen .items-menu-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.chat-modal.fullscreen .menu-item-quickbar {
  width: 100%;
  padding: 16px;
  margin: 0 0 12px 0;
  min-height: 80px;
}
.chat-modal.fullscreen .items-menu-header {
  padding: 10px 16px;
  background-color: var(--bg-accent);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100002;
}
.chat-modal.fullscreen .items-menu-header h3 {
  font-size: 15px;
  margin: 0;
}
.chat-modal.fullscreen .items-menu-container::-webkit-scrollbar {
  width: 8px;
}
.chat-modal.fullscreen .items-menu-container::-webkit-scrollbar-track {
  background: #fff0;
  margin: 4px;
}
.chat-modal.fullscreen .items-menu-container::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
  border-radius: 4px;
}
.chat-modal.fullscreen .chat-content {
  padding: 0 0 160px 0;
}
@media (max-width: 768px) {
  .chat-modal.fullscreen .chat-items-menu {
    height: calc(100vh - 80px);
    padding: 0 16px;
  }
  .chat-modal.fullscreen .menu-item-quickbar {
    padding: 20px;
    min-height: 90px;
  }
  .chat-modal.fullscreen .menu-item-quickbar-icon {
    width: 56px;
    height: 56px;
    margin-right: 20px;
  }
  .chat-modal.fullscreen .menu-item-quickbar-icon iconify-icon {
    width: 32px !important;
    height: 32px !important;
  }
}
@media (max-width: 480px) {
  .chat-modal.fullscreen .chat-items-menu {
    height: calc(100vh - 60px);
    padding: 0 12px;
  }
  .chat-modal.fullscreen .menu-item-quickbar {
    padding: 16px;
    min-height: 80px;
  }
  .chat-modal.fullscreen .menu-item-quickbar-icon {
    width: 48px;
    height: 48px;
    margin-right: 16px;
  }
  .chat-modal.fullscreen .menu-item-quickbar-icon iconify-icon {
    width: 28px !important;
    height: 28px !important;
  }
}
.chat-modal.fullscreen .chat-input-field {
  padding: 16px 60px 16px 20px;
  font-size: 16px;
  min-height: 30px;
  border-radius: 24px;
  transition: all 0.3s ease;
}
.chat-modal.fullscreen .chat-input-field:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}
.chat-modal.fullscreen .chat-send-button {
  width: 44px;
  height: 44px;
  right: 12px;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}
.chat-modal.fullscreen .chat-send-button:hover {
  transform: translateY(-50%) scale(1.05);
}
.chat-modal.fullscreen .chat-send-button svg {
  width: 24px;
  height: 24px;
}
.chat-modal.fullscreen .chat-sidebar {
  height: 64px;
  padding: 0 60px;
}
.chat-modal.fullscreen .options-list {
  gap: 40px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-modal.fullscreen .option-button {
  width: 70px;
  height: 100px;
  border-radius: 22px;
  background: linear-gradient(
    45deg,
    rgb(255 255 255 / 0.1),
    rgb(255 255 255 / 0.2)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-modal.fullscreen .option-button:hover {
  transform: translateY(-5px);
  border-color: rgb(255 255 255 / 0.3);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
}
.chat-modal.fullscreen .option-icon iconify-icon {
  width: 32px !important;
  height: 32px !important;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.2));
}
.chat-modal.fullscreen .sidebar-nav-button {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  border: 1px solid rgb(255 255 255 / 0.2);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.chat-modal.fullscreen .sidebar-nav-button:hover {
  transform: translateY(-50%) scale(1.05);
  border-color: rgb(255 255 255 / 0.3);
}
.chat-modal.fullscreen .sidebar-nav-button iconify-icon {
  width: 28px !important;
  height: 28px !important;
  filter: drop-shadow(0 2px 8px rgb(0 0 0 / 0.2));
}
.chat-modal.fullscreen .sidebar-nav-prev {
  left: 30px;
}
.chat-modal.fullscreen .sidebar-nav-next {
  right: 30px;
}
.chat-modal.fullscreen .option-item.selected::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
}
.chat-modal.fullscreen[data-theme="light"] .option-button {
  background: linear-gradient(45deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.1));
  border: 1px solid rgb(0 0 0 / 0.1);
}
.chat-modal.fullscreen[data-theme="light"] .sidebar-nav-button {
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  border: 1px solid rgb(255 255 255 / 0.2);
}
.chat-modal.fullscreen .chat-toggle {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100010;
}
.chat-modal.fullscreen .chat-toggle:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.2);
}
.chat-modal.fullscreen .chat-toggle img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgb(0 0 0 / 0.2));
  transition: all 0.3s ease;
}
.chat-modal.fullscreen .chat-toggle:active {
  transform: scale(0.98);
}
.chat-modal.fullscreen .chat-input-area {
  padding: 24px 30px;
  background: linear-gradient(
    to top,
    var(--bg-primary),
    var(--bg-primary) 80%,
    transparent
  );
}
.chat-modal.fullscreen .input-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.chat-modal.fullscreen .chat-status-info {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 12px;
}
.chat-modal.fullscreen .status-item {
  background: linear-gradient(
    45deg,
    rgba(var(--bg-accent-rgb), 0.1),
    rgba(var(--bg-accent-rgb), 0.2)
  );
  border: 1px solid rgba(var(--bg-accent-rgb), 0.3);
  padding: 4px 14px;
  height: 36px;
  transition: all 0.3s ease;
}
.chat-modal.fullscreen .status-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--bg-accent-rgb), 0.15);
}
.chat-modal.fullscreen[data-theme="light"] .status-item {
  background: linear-gradient(45deg, rgb(0 0 0 / 0.05), rgb(0 0 0 / 0.1));
  border: 1px solid rgb(0 0 0 / 0.1);
}
.chat-modal.fullscreen[data-theme="light"] .chat-toggle {
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  border: 1px solid rgb(255 255 255 / 0.2);
}
.chat-modal.fullscreen .sidebar-options {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chat-modal.fullscreen .sidebar-options::-webkit-scrollbar {
  display: none;
}
.chat-modal.fullscreen .chat-status-info {
  display: none;
}
.chat-modal.fullscreen .chat-input-area {
  padding: 20px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: fixed;
  bottom: 66px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100001;
}
.chat-modal.fullscreen .input-wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}
.chat-modal.fullscreen .chat-input-field {
  padding: 16px 60px 16px 20px;
  font-size: 16px;
  min-height: 30px;
  border-radius: 24px;
  transition: all 0.3s ease;
  background: var(--bg-secondary);
}
.chat-modal.fullscreen .chat-input-field:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  background: var(--bg-primary);
}
.chat-modal.fullscreen .chat-send-button {
  width: 44px;
  height: 44px;
  right: 32px;
  background: linear-gradient(45deg, var(--bg-accent), var(--bg-hover));
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}
.chat-modal.fullscreen .chat-toggle {
  display: none;
}
.chat-modal.fullscreen .chat-content {
  padding-bottom: 120px;
}
.chat-modal.fullscreen[data-theme="light"] .chat-input-field {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}
.chat-modal.fullscreen[data-theme="light"] .chat-input-field:focus {
  background: var(--bg-primary);
  border-color: var(--chat-input-focus-border);
}
.chat-modal.fullscreen .user-message {
  margin-right: 15px;
}
.chat-modal.fullscreen .messages-container {
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 20px;
}
@media (max-height: 720px) {
  .chat-modal {
    height: 450px;
    bottom: 100px;
  }
  .chat-items-menu {
    max-height: 280px;
  }
  .chat-header {
    min-height: 50px;
    padding: 4px 16px;
  }
  .chat-input-area {
    padding: 12px 16px;
  }
  .messages-container {
    gap: 6px;
  }
  .message {
    margin-bottom: 12px;
  }
}
@media (max-width: 1280px) and (max-height: 720px) {
  .chat-modal {
    width: 320px;
    height: 420px;
    bottom: 130px;
    right: 16px;
  }
  .quickbar-logo {
    width: 130px;
  }
  .chat-input-field {
    padding: 10px 14px;
    padding-right: 45px;
    font-size: 14px;
    min-height: 20px;
  }
  .chat-send-button {
    width: 32px;
    height: 32px;
  }
  .status-item {
    height: 28px;
    padding: 2px 9px;
  }
  .status-text {
    font-size: 10px;
  }
  .chat-sidebar {
    bottom: 82px;
    right: 60px;
  }
  .chat-items-menu {
    margin: 10px auto;
  }
  .items-menu-container {
    padding: 12px;
  }
  .menu-item-quickbar {
    padding: 10px;
    margin-bottom: 10px;
  }
  .menu-item-quickbar-icon {
    width: 40px;
    height: 40px;
  }
  .menu-item-quickbar-title {
    font-size: 14px;
  }
  .menu-item-quickbar-description {
    font-size: 12px;
  }
}
.prestus-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.prestus-logo-link:hover {
  opacity: 0.8;
  transform: scale(1.02);
}
.prestus-logo {
  width: auto;
  transition: all 0.3s ease;
}
.header-logo.has-custom-title {
  padding: 5px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.widget-custom-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  max-width: 180px;
}
[data-theme="dark"] .widget-custom-title {
  color: #fff;
}
.header-logo[data-light-bg="true"] .widget-custom-title,
.white-theme .header-logo .widget-custom-title {
  color: #000 !important;
}
