/* ============================================================
   Dainabel Hotels — FAQ Chatbot Widget styles
   INSTALL: Upload this file to your css/ folder as chatbot.css
============================================================= */

#dh-chat-btn {
  position: fixed;
  bottom: 105px; /* sits directly above the theme's back-to-top button (right:45px; bottom:45px; 48px square) */
  right: 45px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FEA116; /* matches --primary in style.css */
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
#dh-chat-btn:hover { transform: scale(1.08); }

#dh-chat-panel {
  position: fixed;
  bottom: 165px;
  right: 45px;
  z-index: 9999;
  width: 320px;
  max-width: 90vw;
  max-height: 480px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}
#dh-chat-panel.dh-open { display: flex; }

#dh-chat-header {
  background: #0F172B; /* matches --dark in style.css */
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}
#dh-chat-header span { font-size: 15px; }
#dh-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

#dh-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f7f7f9;
}

.dh-msg {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
}
.dh-msg-bot {
  background: #fff;
  border: 1px solid #eee;
  color: #333;
}
.dh-msg-user {
  background: #FEA116;
  color: #fff;
  margin-left: auto;
  text-align: right;
}

#dh-chat-options {
  padding: 10px;
  border-top: 1px solid #eee;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dh-option-btn {
  background: #fff;
  border: 1px solid #FEA116;
  color: #FEA116;
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dh-option-btn:hover {
  background: #FEA116;
  color: #fff;
}
.dh-restart-btn {
  border-color: #0F172B;
  color: #0F172B;
}
.dh-restart-btn:hover {
  background: #0F172B;
  color: #fff;
}