/* 🌒 Base Dark Theme */
body {
  background-color: #121212;
  color: #f0f0f0;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* 🤖 ZOKA Chat Panel */
.zoka-panel {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  max-height: 500px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

/* 🔒 Background overlay (locks page interaction) */
.zoka-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

/* 🔁 Hidden state */
.hidden {
  display: none;
}

/* 📨 Messages area */
.zoka-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 15px;
  scroll-behavior: smooth;
}

/* 🧍 User message */
.zoka-user {
  background: #007acc;
  color: #fff;
  padding: 10px;
  margin: 6px 0;
  border-radius: 12px 12px 4px 12px;
  align-self: flex-end;
  max-width: 90%;
  text-align: right;
}

/* 🤖 Bot message */
.zoka-bot {
  background: #272727;
  color: #e0e0e0;
  padding: 10px;
  margin: 6px 0;
  border-radius: 12px 12px 12px 4px;
  max-width: 90%;
}

/* 🔤 Input + Send button row */
.zoka-input-row {
  display: flex;
  border-top: 1px solid #333;
  padding: 8px;
  background: #1a1a1a;
}

.zoka-input-row input {
  flex: 1;
  background: #2a2a2a;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}

.zoka-input-row button {
  background: #007acc;
  color: white;
  border: none;
  margin-left: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.zoka-input-row button:hover {
  background: #005fa3;
}

/* 💬 Floating toggle button */
.zoka-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.zoka-toggle-btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
}

/* 🔮 Suggest Button */
.zoka-suggest-btn {
  background: linear-gradient(135deg, #007acc, #005fa3);
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 122, 204, 0.3);
  transition: all 0.3s ease;
  margin: 10px auto;
  display: block;
}

.zoka-suggest-btn:hover {
  background: linear-gradient(135deg, #005fa3, #003f7a);
  box-shadow: 0 6px 12px rgba(0, 122, 204, 0.5);
  transform: translateY(-2px);
}

.zoka-suggest-btn:active {
  transform: scale(0.98);
  box-shadow: none;
}
