/* ==========================================
   Davix Chat – unified widget + bubble CSS
   Uses CSS variables only (no PHP here)
========================================== */

/* Shared base */
#davixChatWidget,
#davixChatWidget * {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
}
#davixChatWidget button,
#davixChatWidget input,
#davixChatWidget a {
  text-decoration: none;
  font-family: inherit;
}
#davixChatWidget button {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* Main layout */
#davixChatWidget {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--widgetH, 100%);
  color: var(--text);
  background: var(--beige);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Top bar */
.davix-topbar {
  background: linear-gradient(135deg, var(--sage-2), var(--sage-3));
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.davix-topwrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.davix-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.davix-logo img {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
}
.davix-brand {
  font-weight: 800;
  font-size: var(--davix-brand-size, 26px);
  letter-spacing: .3px;
  color: var(--brandText);
}
.davix-spacer {
  flex: 1;
}

/* Icon chips (theme / fullscreen) */
.davix-iconchip {
  width: var(--davix-icon-size, 32px);
  height: var(--davix-icon-size, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--iconColor) !important;
  cursor: pointer;
  backdrop-filter: blur(0);
  transition: transform .12s ease, background-color .15s ease, box-shadow .2s ease;
}
.davix-iconchip .davix-ico {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

/* Theme icon: show sun in light, moon in dark */
#davixChatWidget[data-theme="light"] .davix-icon-sun { display: block; }
#davixChatWidget[data-theme="light"] .davix-icon-moon { display: none; }
#davixChatWidget[data-theme="dark"] .davix-icon-sun { display: none; }
#davixChatWidget[data-theme="dark"] .davix-icon-moon { display: block; }

/* Fullscreen icon states */
#davix-fsBtn[data-fs="off"] .icon-enterFs { display: block; }
#davix-fsBtn[data-fs="off"] .icon-exitFs  { display: none; }
#davix-fsBtn[data-fs="on"] .icon-enterFs  { display: none; }
#davix-fsBtn[data-fs="on"] .icon-exitFs   { display: block; }

.davix-iconchip:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, .28);
}
#davixChatWidget[data-theme="dark"] .davix-iconchip:hover {
  background: rgba(255, 255, 255, .12);
}

.davix-fallback {
  display: none;
}

/* Scroll area */
.davix-scroll {
  flex: 1 1 auto;
  overflow: auto;
  padding: 18px;
  background: var(--canvas);
}
.davix-sys {
  font-size: 14px;
  color: var(--muted);
  background: rgba(0, 0, 0, .04);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  width: max-content;
  max-width: 92%;
  margin: 8px auto;
}

/* Bubbles */
.davix-row {
  display: flex;
  margin: 14px 0;
}
.davix-row.davix-bot  { justify-content: flex-start; }
.davix-row.davix-user { justify-content: flex-end; }

/* Different text colors per role */
.davix-row.davix-user .davix-bubble {
  color: var(--userText);
}

.davix-bubble {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--sage);
  color: var(--botText);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  line-height: 1.6;
  font-size: 16px;
}

/* Human agent bubble (Telegram replies) */
.davix-row.davix-human .davix-bubble {
  background: var(--humanBubbleBg);
  color: var(--humanText);
  border-style: dashed;
  font-style: italic;
}

.davix-bubble img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Composer */
.davix-composer {
  border-top: 1px solid var(--border);
  background: var(--beige);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Chips row ABOVE input+buttons */
.davix-chipsRow {
  padding: 8px 14px 0;
  max-width: 1400px;
  margin: 0 auto;
}
.davix-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.davix-bar {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  max-width: 1400px;
  margin: 0 auto;
}

.davix-inputWrap {
  flex: 1;
  display: flex;
}

/* Input */
#davix-msg {
  flex: 1;
  padding: 10px 12px;
  background: var(--inputBg);
  border: 1px solid #ddd5c6;
  border-radius: 22px;
  outline: none;
  font-size: 14px;
  color: var(--inputText);
}

/* Placeholder color */
#davixChatWidget input#davix-msg::placeholder {
  color: var(--placeholderText) !important;
  opacity: 1;
}

/* Attachment chips */
.davix-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chipBg);
  border: 1px solid var(--chipBorder);
  color: var(--text);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
}
.davix-chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0 2px;
}
.davix-chip .davix-thumb {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--chipBorder);
}

/* Buttons (attach + send) */
.davix-btns {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
}

.davix-round {
  width: var(--davix-round-size, 45px);
  height: var(--davix-round-size, 45px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform .12s ease, filter .15s ease, box-shadow .2s ease;
  background: var(--roundBg);
  color: var(--iconColor) !important;
}
#davixChatWidget[data-theme="dark"] .davix-round {
  border-color: var(--border);
}
.davix-round .davix-ico {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

/* Make sure SVGs follow theme color */
#davixChatWidget .davix-iconchip .davix-ico,
#davixChatWidget .davix-iconchip .davix-ico *,
#davixChatWidget .davix-round .davix-ico,
#davixChatWidget .davix-round .davix-ico * {
  fill: currentColor !important;
  stroke: currentColor !important;
  color: inherit;
}

.davix-round:hover {
  transform: scale(1.08);
  filter: brightness(1.05);
}
.davix-round.davix-solid {
  background: var(--roundBg);
  border-color: var(--sage-2);
}
.davix-round.davix-ghost {
  background: var(--roundBg);
  border-color: var(--sage-2);
}

/* Attachments inside bubbles */
.davix-attachments-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.davix-attachments-inline a {
  text-decoration: none;
  color: inherit;
}
.davix-attachments-inline a:focus {
  outline: 2px solid var(--sage-2);
  outline-offset: 2px;
}
.davix-attachments-inline .davix-thumb {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.davix-attachments-inline .davix-filechip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chipBg);
  border: 1px solid var(--chipBorder);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
}

.davix-bubble .davix-imglink img {
  cursor: zoom-in;
}
.davix-dlrow {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.davix-dlrow a {
  text-decoration: underline;
  color: inherit;
}

/* Fullscreen page mode */
html.page-fs,
body.page-fs {
  height: 100dvh;
  overflow: hidden;
}
.page-fs #davixChatWidget {
  position: fixed;
  inset: 0;
  z-index: 999999;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.page-fs #davixChatWidget .davix-composer {
  padding-bottom: max(env(safe-area-inset-bottom), 12px);
}

/* Mobile bubbles */
@media (max-width: 640px) {
  .davix-bubble {
    max-width: 100%;
  }
}

/* Login popup / fullpage */
.davix-login-popup {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #1b2017;
  color: #e9efe5;
  text-align: center;
}
.davix-login-popup-card {
  max-width: 320px;
}
.davix-login-popup h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #a3b783;
}
.davix-login-popup p {
  font-size: 14px;
  margin-bottom: 16px;
  color: #c7ccbf;
}
.davix-login-popup a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  margin: 4px;
  border: 1px solid #8ea66e;
  background: #8ea66e;
  color: #0f160c;
  font-weight: 600;
  font-size: 14px;
}

.davix-login-fullwrap {
  max-width: 720px;
  margin: 40px auto;
}
.davix-login-fullcard {
  border-radius: 16px;
  border: 1px solid #e5e1d8;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(35, 49, 31, .08);
  overflow: hidden;
}
.davix-login-fulltop {
  padding: 16px 20px;
  background: linear-gradient(135deg, #7f995f, #a3b783);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #15200f;
}
.davix-login-fulltop img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}
.davix-login-fullbrand {
  font-weight: 800;
  font-size: 20px;
}
.davix-login-fullbody {
  padding: 28px 22px 24px;
  text-align: center;
}
.davix-login-fullbody h1 {
  margin: 0 0 10px;
  font-size: 26px;
}
.davix-login-fullbody p {
  margin: 0 0 18px;
  color: #6b705b;
  font-size: 15px;
  line-height: 1.6;
}
.davix-login-fullbtns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.davix-login-fullbtns a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #d9d3c6;
  background: #ffffff;
  color: #23311f;
  font-weight: 600;
  font-size: 14px;
}
.davix-login-fullbtns a.davix-primary {
  background: #8ea66e;
  border-color: #6f8755;
  color: #0f160c;
}

/* Fullpage wrapper for shortcode */
.davix-fullpage-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  height: 70vh;
}
.davix-fullpage-wrapper #davixChatWidget {
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(35, 49, 31, .12);
}

/* Mode switch slot & chip styling */
#davixChatWidget .davix-mode-external {
  background: transparent;
  padding-top: 4px;
  padding-bottom: 0;
}
#davixChatWidget .davix-modeSwitch {
  background: transparent;
}
#davixChatWidget .davix-modeChip {
  background: transparent !important;
  border-color: var(--border);
}

/* Bubble popup layout: widget inside popup fills remaining space */
#davix-chat-popup {
  display: flex;
  flex-direction: column;
}
#davix-chat-popup #davixChatWidget {
  --widgetH: auto;
  height: auto;
  flex: 1 1 auto;
}

/* ==========================
   Bubble Button + Popup CSS
========================== */

#davix-chat-bubble-container {
  position: fixed;
  bottom: var(--davix-bubble-offset-bottom);
  right:  var(--davix-bubble-offset-right, auto);
  left:   var(--davix-bubble-offset-left, auto);
  z-index: 9999;
}

#davix-chat-bubble-button {
  background-color: var(--davix-bubble-color);
  border: none;
  border-radius: 50%;
  width: var(--davix-bubble-size);
  height: var(--davix-bubble-size);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background-image: var(--davix-bubble-logo-image);
  background-size: var(--davix-bubble-logo-size);
  background-position: center;
  background-repeat: no-repeat;
}

/* Popup */
#davix-chat-popup {
  position: fixed;
  bottom: calc(var(--davix-bubble-offset-bottom) + var(--davix-bubble-size) + 7px);
  right:  var(--davix-bubble-offset-right, auto);
  left:   var(--davix-bubble-offset-left, auto);
  width:  var(--davix-bubble-width-desktop);
  height: var(--davix-bubble-height-desktop);
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: none; /* JS will set display:flex */
  z-index: 9998;
  overflow: hidden;
  background: transparent;
  flex-direction: column;
}

@media (max-width: 480px) {
  #davix-chat-popup {
    width:  var(--davix-bubble-width-mobile);
    height: var(--davix-bubble-height-mobile);
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  #davix-chat-popup {
    width:  var(--davix-bubble-width-tablet);
    height: var(--davix-bubble-height-tablet);
  }
}

/* Wrapper for the AI/Human switch button in bubble popup (row ABOVE header) */
#davix-bubble-switch-wrap {
  flex: 0 0 auto;
  width: 100%;
  display: flex;
  justify-content: var(--davix-switch-justify, center);
  align-items: center;
  padding-top: 4px;
  margin-bottom: var(--davix-switch-offset, 6px);
  background: transparent;
}

#davix-bubble-switch-wrap.davix-switch-left {
  justify-content: flex-start;
  text-align: left;
}

#davix-bubble-switch-wrap.davix-switch-center {
  justify-content: center;
  text-align: center;
}

#davix-bubble-switch-wrap.davix-switch-right {
  justify-content: flex-end;
  text-align: right;
}

/* Inner switch alignment */
#davix-bubble-switch-wrap .davix-mode-external,
#davix-bubble-switch-wrap .davix-modeSwitch {
  width: auto;
  text-align: left;
  margin: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start !important;
}
#davix-bubble-switch-wrap .davix-modeChip {
  margin: 0 !important;
}

#davix-bubble-switch-wrap.davix-switch-left  .davix-modeChip {
  margin-left: 0;
  margin-right: auto;
}

#davix-bubble-switch-wrap.davix-switch-center .davix-modeChip {
  margin-left: auto;
  margin-right: auto;
}

#davix-bubble-switch-wrap.davix-switch-right .davix-modeChip {
  margin-left: auto;
  margin-right: 0;
}

/* Remove extra padding/gap at the bottom of the bubble popup */
#davix-chat-popup {
  padding: 0;
}

/* Make the widget fill the popup so there is no weird bottom gap */
#davix-chat-popup .davix-widget {
  height: 100%;
  margin-bottom: 0;
}

/* Ensure scroll area uses remaining height nicely */
#davix-chat-popup .davix-scroll {
  max-height: none;
}

/* Just in case: chat bubbles (extra utility classes only) */
.davix-row-user {
  justify-content: flex-end;
}

.davix-row-bot {
  justify-content: flex-start;
}

.davix-bubble-user {
  background: var(--chipBg);
  color: var(--userText, var(--text));
}

.davix-bubble-bot {
  background: var(--beige);
  color: var(--botText, var(--text));
}

/* ==========================
   Debug log viewer styles
========================== */

body.davix-log-viewer {
  background: #050608;
  color: #f3f4f6;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
}

.davix-log-shell {
  min-height: 100vh;
  padding: 32px 16px;
}

.davix-log-panel {
  max-width: 960px;
  margin: 0 auto;
  background: #111827;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.davix-log-panel h1 {
  margin-top: 0;
  color: #fff;
  font-size: 28px;
}

.davix-log-panel p {
  color: #d1d5db;
  line-height: 1.6;
}

.davix-log-panel a {
  color: #60a5fa;
}

.davix-log-output {
  background: #000;
  color: #f9fafb;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 20px;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow: auto;
  max-height: 70vh;
}

.davix-log-actions {
  margin-top: 24px;
}

.davix-log-actions .button-link {
  display: inline-block;
  background: #1f2937;
  color: #f9fafb;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.davix-log-actions .button-link:hover {
  background: #374151;
  color: #fff;
}

/* ---------------------------------------------
   Admin credential callouts (API keys / tokens)
---------------------------------------------- */
.davix-credential-callout {
  background: #040404;
  color: #ffffff;
  padding: 20px 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.55);
  width: min(100%, 640px);
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  margin: 4px 0;
  align-items: stretch;
}

.davix-credential-callout,
.davix-credential-callout label,
.davix-credential-callout span,
.davix-credential-callout strong,
.davix-credential-callout p {
  color: #ffffff;
}

.davix-credential-callout .description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.davix-credential-callout code {
  color: #7cd3ff;
}

.davix-credential-callout input[type="password"],
.davix-credential-callout input[type="text"],
.davix-credential-callout input[type="email"],
.davix-credential-callout input[type="url"],
.davix-credential-callout textarea {
  width: 100%;
  max-width: 660px;
  background: #ffffff;
  color: #0d1c2c;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.davix-credential-callout input::placeholder,
.davix-credential-callout textarea::placeholder {
  color: rgba(8, 24, 40, 0.55);
}

.davix-credential-callout input:focus,
.davix-credential-callout textarea:focus {
  border-color: #4ac2ff;
  box-shadow: 0 0 0 1px #4ac2ff, 0 12px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

/* ---------------------------------------------------------
   Admin settings bubble styling (Chatbot, Auto-Reply, LLM)
--------------------------------------------------------- */
.wrap.davix-settings-screen {
  background: #f5f8ff;
  padding: 20px 28px 34px;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(18, 37, 61, 0.08);
}

.wrap.davix-settings-screen .davix-top-save-wrap {
  background: transparent;
}

.wrap.davix-settings-screen h2,
.wrap.davix-settings-screen h3,
.wrap.davix-settings-screen h1,
.wrap.davix-settings-screen .davix-llm-preview-title {
  color: #0c1f33;
}

.davix-settings-bubble {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 26px;
  border: 1px solid transparent;
  margin-bottom: 32px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 18px 38px rgba(19, 54, 92, 0.14);
  overflow: hidden;
}

.davix-settings-bubble th,
.davix-settings-bubble td {
  padding: 18px 26px;
  vertical-align: top;
}

.davix-settings-bubble th {
  width: 240px;
  font-weight: 600;
}

.davix-settings-bubble tr + tr th,
.davix-settings-bubble tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.davix-settings-bubble--js {
  background: linear-gradient(145deg, rgba(205, 227, 255, 0.98), rgba(181, 214, 255, 0.98));
  border-color: rgba(47, 112, 176, 0.35);
  color: #0a2138;
}

.davix-settings-bubble--css {
  background: linear-gradient(145deg, rgba(244, 224, 197, 0.98), rgba(226, 199, 165, 0.98));
  border-color: rgba(168, 112, 53, 0.45);
  color: #3b1f00;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 18px 32px rgba(117, 71, 21, 0.18);
}

.davix-settings-bubble--js th,
.davix-settings-bubble--js td,
.davix-settings-bubble--js label,
.davix-settings-bubble--js legend {
  color: #0b2b46;
}

.davix-settings-bubble--css th,
.davix-settings-bubble--css td,
.davix-settings-bubble--css label,
.davix-settings-bubble--css legend {
  color: #3d2610;
}

.davix-settings-bubble input[type="text"],
.davix-settings-bubble input[type="password"],
.davix-settings-bubble input[type="number"],
.davix-settings-bubble input[type="url"],
.davix-settings-bubble input[type="email"],
.davix-settings-bubble textarea,
.davix-settings-bubble select {
  background: #ffffff;
  color: inherit;
  border: 1px solid rgba(47, 112, 176, 0.35);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(13, 38, 66, 0.12);
  padding: 9px 14px;
}

.davix-settings-bubble--css input[type="text"],
.davix-settings-bubble--css input[type="password"],
.davix-settings-bubble--css input[type="number"],
.davix-settings-bubble--css input[type="url"],
.davix-settings-bubble--css input[type="email"],
.davix-settings-bubble--css textarea,
.davix-settings-bubble--css select {
  border-color: rgba(168, 112, 53, 0.55);
  box-shadow: 0 8px 18px rgba(117, 71, 21, 0.16);
}

.davix-settings-bubble input[type="checkbox"],
.davix-settings-bubble input[type="radio"] {
  accent-color: #195c96;
}

.davix-settings-bubble--css input[type="checkbox"],
.davix-settings-bubble--css input[type="radio"] {
  accent-color: #b7742f;
}

.davix-settings-bubble p.description,
.davix-settings-bubble .davix-llm-preview-status,
.davix-settings-bubble .davix-llm-preview-url span {
  color: rgba(11, 48, 81, 0.85);
}

.davix-settings-bubble--css p.description {
  color: rgba(74, 40, 12, 0.85);
}

.davix-settings-bubble code {
  background: rgba(255, 255, 255, 0.7);
  color: #052744;
  border-radius: 6px;
}

.davix-settings-bubble--css code {
  color: #3e1a00;
}

.davix-settings-bubble .davix-credential-callout,
.davix-settings-bubble--css .davix-credential-callout {
  background: #040404;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.55);
  margin-left: 0;
  margin-right: auto;
  width: min(100%, 640px);
}

.wrap.davix-settings-screen .nav-tab-wrapper {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 14px;
  border-radius: 16px;
}

.wrap.davix-settings-screen .nav-tab {
  color: #0f2843;
}

.wrap.davix-settings-screen .nav-tab-active {
  background: #ffffff;
  border-color: rgba(25, 92, 150, 0.55);
}