/* === Chatbot Core Layout === */
#tayaroo-chat-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0073aa;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}

#tayaroo-chat-toggle:hover {
  background: #005f8a;
  transform: scale(1.05);
}

#tayaroo-chatbot {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 360px;
  max-height: 500px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
  z-index: 10000;
}

.tayaroo-hidden { display: none !important; }

#tayaroo-chat-header {
  background: #0073aa;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#tayaroo-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* === Message Area === */
#tayaroo-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9f9;
}

.bot-msg, .user-msg {
  max-width: 85%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 14px;
}

.bot-msg {
  background: #e9f3fa;
  color: #333;
  align-self: flex-start;
}

.user-msg {
  background: #0073aa;
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
}

/* === Typing Animation === */
.typing {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 28px;
}
.typing span {
  width: 6px;
  height: 6px;
  background: #0073aa;
  border-radius: 50%;
  display: inline-block;
  animation: blink 1.4s infinite both;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

/* === Input Bar === */
#tayaroo-chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 8px;
  background: #fff;
}

#tayaroo-chat-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
}

#tayaroo-chat-send {
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0 16px;
  margin-left: 6px;
  cursor: pointer;
  font-size: 16px;
}

/* === Buttons (OTP / Currency / Payment) === */
.resend-otp-btn,
.currency-btn,
.pay-btn {
  display: inline-block;
  margin: 6px 5px;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  color: #fff;
  background: #0073aa;
  transition: background 0.2s;
}

.currency-btn:hover,
.pay-btn:hover,
.resend-otp-btn:hover {
  background: #005f8a;
}

/* === Plan Card (if used) === */
.plan-card {
  border: 1px solid #e2ecf5;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.plan-title {
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
}

.plan-details {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
}

.plan-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  font-size: 13px;
  color: #fff !important;
  background: #0066cc;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.plan-btn:hover {
  background: #004d99;
}

/* === Responsive === */
@media (max-width: 600px) {
  #tayaroo-chatbot {
    width: calc(100% - 20px);
    right: 10px;
    bottom: 80px;
    max-height: 70vh;
  }
}
/* --- Tayaroo Modern Plan Card Style --- */
.tayaroo-plan-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}
.tayaroo-plan-row:hover {
  background: #f5f9ff;
  border-color: #0073aa33;
  transform: translateY(-1px);
}
.tayaroo-plan-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.tayaroo-plan-name {
  font-weight: 600;
  color: #222;
  font-size: 14px;
}
.tayaroo-plan-meta {
  color: #666;
  font-size: 13px;
}
.tayaroo-plan-action {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tayaroo-plan-price {
  font-weight: 600;
  color: #0073aa;
  font-size: 14px;
}
.plan-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.plan-btn:hover {
  background: #005f8d;
  transform: scale(1.03);
}

/* Responsive view for narrow chat windows */
@media (max-width: 480px) {
  .tayaroo-plan-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tayaroo-plan-action {
    width: 100%;
    justify-content: space-between;
  }
  .plan-btn {
    flex-shrink: 0;
  }
}
