.pcb-chatbot-popup-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pcb-chatbot-popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
  
.pcb-chatbot-popup-overlay.is-visible .pcb-chatbot-popup-content {
  transform: translateY(0);
}

.pcb-chatbot-popup-content {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 0;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px);
  transition: transform 0.3s ease;
}

.pcb-chatbot-popup-content h1 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}

.pcb-chatbot-popup-content p {
  font-size: 15px;
}

.pcb-chatbot-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #333;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  transition: color 0.2s ease;
}

.pcb-chatbot-popup-close:hover {
  color: #999;
}

.pcb-chatbot-popup-body {
  margin-top: 10px;
  text-align: center;
}

.pcb-chatbot-popup-body p {
  margin-bottom: 0;
}

.pcb-chatbot-popup-body p:first-child {
  margin-top: 0;
}

.btn-secondary {
  background: #023F5A;
  color: #fff;
}

.btn-secondary:focus {
  color: #fff;
}

.btn-secondary:hover {
  background: rgba(0, 62, 91, 1);
  color: #fff;
  filter: brightness(0.9);
}

.btn-primary-hp.pcb-chatbot-popup-close-btn {
  border: 1px solid #8F733C;
  color: #8F733C;
  background: transparent;
}

.btn-primary-hp.pcb-chatbot-popup-close-btn:hover {
  border: 1px solid #80642A;
  color: #80642A;
  background: transparent;
}

.pcb-chatbot-popup-btns {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: space-between;
}

.pcb-chatbot-popup-btns .btn {
  text-align: center;
  width: 50%;
  padding: 14px;
  margin-right: 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .pcb-chatbot-popup-content {
    width: 95%;
    padding: 20px;
  }

  .pcb-chatbot-popup-content h1 {
    line-height: 30px;
  }
  .pcb-chatbot-popup-btns {
    flex-direction: column;
  }

  .pcb-chatbot-popup-btns .btn {
    width: 100%;
  }
}