/* ✅ AI WEZAADS CHATBOT */
#ai-bot {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999999;
  font-family: 'Poppins', sans-serif;
}

/* slow pulsing animation for AI button */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254,186,0,0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(254,186,0,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254,186,0,0); }
}

#bot-icon {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid #feba00;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #feba00;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  animation: pulse 3s infinite;
}
#bot-icon:hover { transform: scale(1.05); background: rgba(254,186,0,0.15); }

/* Notification badge */
#bot-label {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #feba00;
  color: #000;
  font-weight: 700;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 12px;
  display: none;
  box-shadow: 0 0 6px rgba(254,186,0,0.6);
}

#bot-window {
  width: 320px;
  height: 430px;
  background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { transform: scale(0.8) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

#bot-header {
  background: rgba(254,186,0,0.1);
  color: #feba00;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 15px;
}

#bot-header a { color: #feba00; text-decoration: none; transition: 0.2s; }
#bot-header a:hover { color: #fff; }
#bot-controls i { cursor: pointer; margin-left: 8px; transition: 0.2s; }
#bot-controls i:hover { color: #fff; }

#bot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}

.bot-msg, .user-msg {
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 80%;
  animation: fadeIn .3s ease;
}
.bot-msg { background: rgba(254,186,0,0.1); align-self: flex-start; }
.user-msg { background: rgba(255,255,255,0.15); align-self: flex-end; }

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.bot-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.bot-btn {
  background: #feba00;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  cursor: pointer;
  transition: 0.2s;
}
.bot-btn:hover { background: #ffd451; }

audio { display: none; }
