/* ============================================================
   Chatbot, Widgets, News, Knowledge & bKash Modal Styles
   ============================================================ */
.live-tracker-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 18px;
  padding: 18px 20px;
  color: #ffffff;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.live-tracker-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.live-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: pulseAnim 1.6s infinite;
}

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.live-timer-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 4px 0 2px;
}

.live-sub-text {
  font-size: 0.82rem;
  color: #94a3b8;
  margin: 0;
}

.today-badge-chip {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

#cr-widget-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99999;
}

#cr-chat-toggle {
  background: #1e3c72;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

#cr-chat-toggle:hover { transform: scale(1.05); }

#cr-chat-box {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 330px;
  height: 450px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ccc;
  min-height: 0;
}

.cr-hidden { display: none !important; }

.cr-chat-header {
  background: #1e3c72;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

#cr-chat-close { 
  background: none; 
  border: none; 
  color: #fff; 
  cursor: pointer; 
  font-size: 16px; 
}

.cr-messages-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.45;
  word-break: break-word;
}

.cr-bot { 
  background: #fff; 
  border: 1px solid #e0e0e0; 
  align-self: flex-start; 
  color: #222;
}

.cr-user { 
  background: #1e3c72; 
  color: #fff; 
  align-self: flex-end; 
}

.cr-chat-input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #fff;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}

#cr-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  font-size: 13px;
}

#cr-input:focus { border-color: #1e3c72; }

#cr-send-btn {
  background: #1e3c72;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vibe-weather-card {
  grid-column: 1 / -1;
  width: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid #38bdf8;
  border-radius: 24px;
  padding: 20px 26px;
  margin-bottom: 24px;
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.weather-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.15);
}

.weather-left-info { display: flex; align-items: center; gap: 14px; }
.weather-main-temp { font-size: 1.85rem; font-weight: 900; color: #ffffff; display: flex; align-items: center; gap: 4px; }
.weather-condition-text { font-size: 0.82rem; font-weight: 800; color: #38bdf8; text-transform: uppercase; }
.weather-sub-details {
  display: flex; flex-direction: column; gap: 2px; font-size: 0.74rem; font-weight: 700;
  color: #cbd5e1; background: rgba(255, 255, 255, 0.07); padding: 6px 12px; border-radius: 12px;
}
.vibe-bottom-row { display: flex; flex-direction: column; gap: 6px; }
.vibe-badge-tag {
  font-size: 0.62rem; font-weight: 800; color: #38bdf8; background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3); padding: 2px 8px; border-radius: 6px; width: fit-content; text-transform: uppercase;
}
.vibe-message-text { font-size: 1.15rem; font-weight: 800; color: #f8fafc; line-height: 1.4; margin: 0; }

.bkash-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.65); display: flex; justify-content: center; align-items: center; z-index: 999999; padding: 15px;
}
.bkash-hidden { display: none !important; }
.bkash-card { width: 100%; max-width: 360px; background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.bkash-header { background: #e2136e; color: #fff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.bkash-logo-text { font-size: 20px; font-weight: 800; }
#bkash-close-btn { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.bkash-body { padding: 20px; text-align: center; }
.bkash-amount-box { background: #fff0f6; border: 1px dashed #e2136e; border-radius: 8px; padding: 10px; margin-bottom: 15px; }
.bkash-amount-box h3 { margin: 2px 0 0 0; font-size: 22px; color: #e2136e; }
.bkash-confirm-btn { width: 100%; background: #e2136e; color: #fff; border: none; padding: 12px; border-radius: 6px; font-size: 15px; font-weight: bold; cursor: pointer; }

/* Typing Animation Dots */
.typing-dots span {
  font-size: 24px;
  animation: blink 1.4s infinite both;
  display: inline-block;
  margin: 0 2px;
  color: #64748b;
}
.typing-dots span:nth-child(2) { animation-delay: .2s; }
.typing-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  0% { opacity: .2; }
  20% { opacity: 1; }
  100% { opacity: .2; }
}