/* Core Brand Colors */
:root {
  --sree-navy: #003366; 
  --sree-orange: #F26522; 
  --sree-bg: #f9f9f9;
}

/* Floating Action Button */
#sree-chat-fab {
  position: fixed;
  bottom: 30px;
  right: 150px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--sree-navy);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#sree-chat-fab:hover {
  transform: scale(1.1);
  background-color: var(--sree-orange);
}

/* Main Chat Container */
#sree-chatbot-container {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 350px;
  height: 75vh;
  max-height: 550px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  z-index: 10000;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
#sree-chat-header {
  background-color: var(--sree-navy);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#tara-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--sree-orange);
  object-fit: cover;
}

.header-text { flex-grow: 1; }
.header-text strong { font-size: 16px; letter-spacing: 0.5px; }
.header-text span { font-size: 12px; opacity: 0.8; }

#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* Chat Body */
#sree-chat-body {
  flex-grow: 1;
  padding: 20px;
  background-color: var(--sree-bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.bot-message {
  background-color: white;
  color: #333;
  border-left: 4px solid var(--sree-orange);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* The Lead Form */
#sree-lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#sree-lead-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}

#sree-lead-form input:focus {
  border-color: var(--sree-orange);
}

#sree-start-btn {
  background-color: var(--sree-orange);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.2s;
}

#sree-start-btn:hover { opacity: 0.9; }

/* Menu Options - Class based Grid Layout */
#sree-chat-options {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.sree-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sree-option-btn {
  background-color: white;
  color: var(--sree-navy);
  border: 1px solid var(--sree-navy);
  padding: 10px 8px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.3;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sree-option-btn:hover {
  background-color: var(--sree-navy);
  color: white;
  transform: translateY(-2px);
}

/* Full width for the last odd button */
.sree-option-btn:last-child:nth-child(odd) {
  grid-column: 1 / -1; 
}