.fab > button > span.bot-name {
  color: #FFFFFF !important;
  font-family: "poppins", sans-serif;
}

.fab > button {
  background-color: #001842 !important;
  background: #001842 !important;
  padding-left: 8px;
  
  border: 2px solid #EBEBEB; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.fab > button:hover {
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Make the white circle container larger */
.fab > button > .rounded-full {
  width: 48px;  /* Original was 40px (w-10) */
  height: 48px; /* Original was 40px (h-10) */
}

.fab > button > div {
  background-color: #001842 !important;
  border: none;
}


.toolbar {
  background-color: #001842 !important;
}

/* Header title text color */
.toolbar h2 {
  color: #FFFFFF !important;
}

/* Header icons color (Menu, Minimize, etc.) */
.modal-toolbar-icon svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* --- USER INPUT AREA --- */

/* Send button background */
#message-submit {
  background-color: #007DBA !important;
}

/* Send button icon color */
#message-submit svg {
  color: #FFFFFF !important;
  fill: #FFFFFF !important;
}

/* Microphone icon color */
.mic-botIcon {
  color: #001842 !important;
  fill: #001842 !important;
}

.modal {
  border-top-left-radius: .75rem !important;
  border-top-right-radius: .75rem !important;
}

.dropdown-menu {
  background-color: #001842 !important;
}

.dropdown-item {
  background-color: #001842 !important;
}

.dropdown-item-button {
  background-color: #001842 !important;
}

pre {
    background-color: white !important;
}

a {
  color: #00205B !important;
}

button.ai12zBtn:hover {
  background-color: #003380 !important;
  cursor: pointer;
}

.user-msg {
  background-color: #007DBA !important;
}

.default-botAvatar {
  color: #001842 !important;
}

.layout {
  width: 100dvw !important;
}

@media (min-width: 769px) {
  .layout {
    width: 99.5dvw !important;
  }
}




audio-recorder .flex {
  align-items: center !important;
  height: 100%;
}

audio-recorder .flex > button {
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin-top: 0 !important;
  padding-right: 1rem !important;
  justify-content: center;
  align-items: center;
}

audio-recorder .mic-botIcon {
  width: 1.5rem !important;
  height: 1.5rem !important;
  transform: translateY(-3px); 
}


/* --- Styles for the Recording UI within the Audio Recorder --- */

/* Target the Cancel (X) Button */
audio-recorder .relative.flex > button:first-of-type {
  width: 3rem !important;
  height: 3rem !important;
  font-size: 1.5rem !important;
  color: #F87171 !important;
  padding-left: 20px;
  transform: translateY(-1px); 
  
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Target the Confirm (Checkmark) Button */
audio-recorder .relative.flex > button:last-of-type {
  width: 3rem !important;
  height: 3rem !important;
  color: #8B5CF6 !important;
  
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translateY(-5px); 
}

audio-recorder .relative.flex > button:last-of-type span {
  font-size: 1.75rem !important;
  font-weight: bold !important;
  line-height: 1 !important;
}


/* DART — ai12z bot SurveyJS theme overrides (for sd- classes)
   Paste into Web Controls → <ai12z-bot> → Style. If it doesn't apply,
   use the JS injector below.
*/

/* Override SurveyJS Modern theme variables (use !important to beat inline style) */
.sd-root-modern {
  --sjs-primary-backcolor: #00205B !important;
  --sjs-primary-backcolor-light: rgba(0,32,91,.08) !important;
  --sjs-primary-backcolor-dark: #001a46 !important;
  --sjs-primary-forecolor: #ffffff !important;

  --sjs-border-default: #CFD7E6 !important;
  --sjs-general-forecolor: #1d2433 !important;
  --sjs-general-backcolor: #ffffff !important;

  --sjs-shadow-small: 0 2px 8px rgba(0,0,0,.06) !important;
}

/* Title / headings */
.sd-root-modern .sd-title,
.sd-root-modern .sd-header__text,
.sd-root-modern .sd-title * {
  color: #00205B;
}

/* Buttons */
.sd-root-modern .sd-btn,
.sd-root-modern .sd-btn--action,
.sd-root-modern .sd-navigation__complete-btn {
  background-color: #00205B !important;
  color: #ffffff !important;
  border: 1px solid #00205B !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  box-shadow: var(--sjs-shadow-small);
}
.sd-root-modern .sd-btn:hover,
.sd-root-modern .sd-btn--action:hover,
.sd-root-modern .sd-navigation__complete-btn:hover {
  background-color: #173a7a !important;
  border-color: #173a7a !important;
}

/* Dropdown & inputs */
.sd-root-modern .sd-dropdown,
.sd-root-modern .sd-input,
.sd-root-modern select {
  border-radius: 10px;
}
.sd-root-modern .sd-dropdown:focus-within,
.sd-root-modern .sd-input:focus,
.sd-root-modern select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,32,91,.15);
  border-color: #00205B;
}

/* Radio/checkbox accent */
.sd-root-modern .sd-radio__decorator,
.sd-root-modern .sd-checkbox__decorator {
  accent-color: #00205B; /* modern browsers */
}

/* Make the SurveyJS header white instead of accent */
.sd-root-modern .sv-header__background-color--accent {
  background: #fff !important;
}

/* Ensure any header text/icons render in DART navy */
.sd-root-modern .sv-header__background-color--accent .sd-title,
.sd-root-modern .sv-header__background-color--accent .sv-string-viewer {
  color: #00205B !important;
}

/* Header override: make PROD toolbar match TEST white header */
.toolbar {
  background-color: #FFFFFF !important;
  box-shadow: 0 1px 0 rgba(0, 24, 66, 0.06), 0 2px 8px rgba(0, 24, 66, 0.04) !important;
  border-bottom: none !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Hide header title to match TEST */
.toolbar h2 {
  visibility: hidden !important;
  font-size: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Header icons should be DART navy on white */
.modal-toolbar-icon svg {
  color: #001842 !important;
  fill: #001842 !important;
}

/* Keep logo sizing consistent */
.toolbar img,
.toolbar svg.logo {
  height: 28px !important;
  width: auto !important;
}

.toolbar > *:first-child {
  margin-right: auto !important;
}

