/* --- ESTILOS PARA O MODAL CUSTOMIZADO DE BOAS-VINDAS --- */

#tutorial-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 99998;
  display: flex;
  justify-content: center;
  align-items: center;
}

#tutorial-modal-content {
  background-color: #662D91; 
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 1000px;
  min-width: 950px;
  z-index: 99999;
  font-family: 'Poppins', sans-serif;
  color: #000000;
  padding: 0;
  overflow: hidden;
}

#tutorial-modal-content .welcome-header {
  background-color: #662D91; 
  color: #ffffff;
  padding: 12px 24px;
}

.header-inner-box {
  background-color: #572481; 
  color: #ffffff;
  font-size: 18px;
  font-weight: 300;
  border-radius: 999px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.header-icon {
  position: absolute; 
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.header-icon svg {
  width: 20px;
  height: 20px;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.header-title {
  width: 100%;
  text-align: center;
}

.modal-body-container {
  display: flex;
  background-color: #ffffff; 
  border-bottom-left-radius: 12px; 
}

.modal-left-column {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

#tutorial-modal-content .welcome-text-content h1 {
  font-size: 28px;
  font-weight: bold;
  color: #000000;
  margin-top: 0;
  margin-bottom: 12px;
}

#tutorial-modal-content .welcome-text-content .subtitle {
  font-size: 22px;
  font-weight: normal;
  color: #000000;
  margin-bottom: 20px;
}

#tutorial-modal-content .welcome-text-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 16px;
}

#tutorial-modal-content .welcome-text-content strong {
  font-size: 16px;
  color: #000000;
}

#tutorial-modal-content .welcome-image-content {
  flex-basis: 40%;
  align-self: stretch;
}

#tutorial-modal-content .welcome-image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom-right-radius: 12px;
}

.custom-tutorial-footer {
  padding-top: 24px;
  text-align: left;
}

#tutorial-modal-start-btn {
  background-color: #662D91;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-shadow: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

#tutorial-modal-start-btn:hover {
  background-color: #6b338a;
}

/* --- ESTILOS GERAIS PARA OS POPOVERS DO DRIVER.JS --- */

body .driver-popover {
  min-width: 450px !important;
  font-family: 'Poppins', sans-serif !important;
  border-radius: 12px !important;
}

/* --- ESTILOS PARA O INDICADOR DE PROGRESSO CUSTOMIZADO --- */

.driver-popover-title .custom-popover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.custom-progress-indicator {
  color: #662D91;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
}

/* --- ESTILOS PARA BOTÕES FLUTUANTES DO DRIVER.JS --- */

/* 1. Ajusta o popover principal para dar espaço aos botões */
body .driver-popover {
  padding-bottom: 80px !important; 
}

/* 2. Posiciona o rodapé (container dos botões) na área livre */
body .driver-popover .driver-popover-footer {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  border-top: none !important;
  background: none !important;
}

/* 3. Estilo unificado para TODOS os botões do tour */
body .driver-popover .driver-popover-next-btn,
body .driver-popover .driver-popover-prev-btn,
body .driver-popover .driver-popover-done-btn {
  background-color: #662D91;
  color: #ffffff !important;
  text-shadow: none !important;
  border: none;
  /* ALTERAÇÃO: Mudamos de 999px para 10px para cantos mais suaves */
  border-radius: 10px !important; 
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  margin: 0 8px;
  transition: all 0.2s ease;
}

/* Efeito de hover para os botões */
body .driver-popover .driver-popover-next-btn:hover,
body .driver-popover .driver-popover-prev-btn:hover,
body .driver-popover .driver-popover-done-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* --- Estilos para o Pop-up de Promoção do Chat --- */

#chat-promo-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 9998;
}

#chat-promo-popup-popover {
  position: fixed; 
  width: 600px;
  background-color: #FDFBFF;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#chat-promo-popup-popover::after {
  content: '';
  position: absolute;
  bottom: 10px; 
  right: -10px; 
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #FDFBFF;
}

#chat-promo-popup-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
}

#chat-promo-popup-close-btn:hover {
  color: #333;
}

.chat-promo-popup-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
  padding-right: 30px;
}

.chat-promo-popup-body-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.chat-promo-popup-text-content {
  flex: 1;
}

.chat-promo-popup-text-content p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.chat-promo-popup-text-content p:last-child {
  margin-bottom: 0;
}

.chat-promo-popup-text-content strong {
  color: #111;
}

.chat-promo-popup-icon-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-promo-popup-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #6A24A8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-promo-popup-icon-circle img {
  width: 70px;
  height: 70px;
}

#blip-chat-container{
  z-index: 10000001 !important;
}