/* ==========================================================================
   GNIPST FLOATING AI CHATBOT STYLES (ENHANCED VERSION)
   Brand: Forest Green (#0d4c2f, #072a1a), Gold (#f0a800, #ffbe26), Slate, White
   Executive, Highly Readable & Visually Appealing
   ========================================================================== */

#gnipstChatWidget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- FLOATING TRIGGER BUTTON (MESSAGE ICON) ---------- */
.gnipst-chat-trigger {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4c2f 0%, #072a1a 100%);
  color: #ffffff;
  border: 2px solid #f0a800;
  box-shadow: 0 8px 24px rgba(13, 76, 47, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: gnipstFloat 3.8s ease-in-out infinite, gnipstPulse 3s infinite;
  outline: none;
  padding: 0;
  overflow: visible;
}

.gnipst-chat-trigger:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 30px rgba(13, 76, 47, 0.45);
  border-color: #ffbe26;
  background: linear-gradient(135deg, #0f5837 0%, #0a3823 100%);
}

.gnipst-chat-trigger:active {
  transform: scale(0.95);
}

.gnipst-trigger-msg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.25s ease;
}

.gnipst-chat-trigger:hover .gnipst-trigger-msg-icon {
  transform: scale(1.08);
}

/* When chat window opens, chat window displays over the trigger button spot */
#gnipstChatWidget.is-open .gnipst-chat-trigger {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: none;
}

/* Badge */
.gnipst-chat-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #f0a800;
  color: #072a1a;
  font-size: 11px;
  font-weight: 800;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#gnipstChatWidget.is-open .gnipst-chat-badge,
.gnipst-chat-badge.is-hidden {
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
}

/* Teaser Speech Bubble */
.gnipst-chat-teaser {
  position: absolute;
  bottom: 74px;
  right: 0;
  background: #ffffff;
  color: #072a1a;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(13, 76, 47, 0.16);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 285px;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: gnipstTeaserPop 0.4s ease-out;
}

.gnipst-chat-teaser::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 26px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ffffff;
}

.gnipst-teaser-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(13, 76, 47, 0.12);
}

.gnipst-teaser-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gnipst-teaser-text {
  font-size: 12.8px;
  line-height: 1.45;
  font-weight: 600;
  color: #0f172a;
  flex-grow: 1;
}

.gnipst-teaser-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.gnipst-teaser-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* Animations */
@keyframes gnipstFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes gnipstPulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 76, 47, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(13, 76, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 76, 47, 0); }
}

@keyframes gnipstTeaserPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- CHAT WINDOW (DISPLAYS OVER TRIGGER SPOT, PLENTY OF TOP CLEARANCE) ---------- */
.gnipst-chat-window {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  top: auto !important;
  width: 400px;
  max-width: calc(100vw - 32px);
  height: min(580px, calc(100vh - 64px));
  max-height: calc(100vh - 64px);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 64px -12px rgba(7, 42, 26, 0.32), 0 0 0 1px rgba(13, 76, 47, 0.12), 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.94) translateY(16px);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  z-index: 999999;
}

#gnipstChatWidget.is-open .gnipst-chat-window {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Header - Royal Emerald Gradient with Fine Gold Accent */
.gnipst-chat-header {
  background: linear-gradient(135deg, #062b19 0%, #0d4c2f 55%, #135937 100%);
  color: #ffffff;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid #f0a800;
  box-shadow: 0 4px 14px rgba(6, 43, 25, 0.2);
  flex-shrink: 0;
}

.gnipst-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gnipst-bot-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #ffffff;
  border: 2px solid #f0a800;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.gnipst-bot-avatar:hover {
  transform: scale(1.05);
}

.gnipst-header-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gnipst-online-dot {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid #062b19;
  box-shadow: 0 0 0 1px #ffffff, 0 0 6px rgba(34, 197, 94, 0.8);
}

.gnipst-header-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.gnipst-header-text p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.85);
  margin: 2px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-btn-icon {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.gnipst-btn-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Chat Messages Area */
.gnipst-chat-messages {
  flex: 1;
  padding: 18px 16px;
  overflow-y: auto;
  background: #f6f9f7;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.gnipst-chat-messages::-webkit-scrollbar {
  width: 5px;
}
.gnipst-chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

/* Message Rows */
.gnipst-msg-row {
  display: flex;
  gap: 10px;
  max-width: 96%;
  animation: gnipstMsgIn 0.3s ease-out;
}

@keyframes gnipstMsgIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.gnipst-msg-row.is-bot {
  align-self: flex-start;
  width: 100%;
}

.gnipst-msg-row.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
  max-width: 84%;
}

.gnipst-msg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff;
  border: 1.5px solid #0d4c2f;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 2px 6px rgba(13, 76, 47, 0.14);
}

.gnipst-msg-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gnipst-msg-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #1e293b;
  position: relative;
  word-break: break-word;
  width: 100%;
}

.gnipst-msg-row.is-bot .gnipst-msg-bubble {
  background: #ffffff;
  border: 1.5px solid #e3ede6;
  border-top-left-radius: 4px;
  box-shadow: 0 4px 16px rgba(13, 76, 47, 0.04);
}

.gnipst-msg-row.is-user .gnipst-msg-bubble {
  background: linear-gradient(135deg, #0d4c2f 0%, #062b19 100%);
  color: #ffffff;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(7, 42, 26, 0.22);
  width: auto;
  font-size: 14px;
}

.gnipst-msg-bubble p {
  margin: 0 0 8px;
}
.gnipst-msg-bubble p:last-child {
  margin-bottom: 0;
}

/* Time */
.gnipst-msg-time {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 6px;
  text-align: right;
  font-weight: 500;
}

.gnipst-msg-row.is-user .gnipst-msg-time {
  color: rgba(255, 255, 255, 0.75);
}

/* ================= VISUALLY APPEALING RESPONSE CARDS ================= */
.gnipst-resp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gnipst-resp-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-bottom: 11px;
  border-bottom: 1.5px solid #edf4ef;
  width: 100%;
}

.gnipst-resp-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.gnipst-resp-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #eaf5ee 0%, #d8eee0 100%);
  color: #0d4c2f;
  border: 1px solid #cce5d5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(13, 76, 47, 0.08);
}

.gnipst-resp-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: #072a1a;
  margin: 0;
  line-height: 1.35;
  flex: 1;
  word-break: normal;
}

.gnipst-resp-tag-row {
  display: flex;
  align-items: center;
  padding-left: 46px; /* Perfectly aligns under the title text */
  margin-top: -2px;
  width: 100%;
}

.gnipst-resp-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  border: 1px solid #fde68a;
  box-shadow: 0 1px 3px rgba(180, 83, 9, 0.08);
  white-space: normal;
  line-height: 1.3;
}

.gnipst-resp-desc {
  font-size: 13.2px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
}

/* Spec Grid (Key attributes in 2 columns) */
.gnipst-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 2px 0;
}

.gnipst-spec-item {
  background: #ffffff;
  border: 1.5px solid #e1ede5;
  border-radius: 10px;
  padding: 9px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all 0.2s ease;
}

.gnipst-spec-item:hover {
  border-color: #0d4c2f;
  box-shadow: 0 2px 8px rgba(13, 76, 47, 0.08);
  transform: translateY(-1px);
}

.gnipst-spec-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gnipst-spec-value {
  font-size: 12.8px;
  font-weight: 700;
  color: #072a1a;
  line-height: 1.35;
}

/* Feature Checklist */
.gnipst-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gnipst-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.5;
}

.gnipst-feature-icon {
  width: 16px;
  height: 16px;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Response CTA action buttons */
.gnipst-resp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #edf4ef;
}

.gnipst-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.gnipst-btn-cta.is-primary {
  background: linear-gradient(135deg, #0d4c2f 0%, #083822 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(13, 76, 47, 0.22);
}

.gnipst-btn-cta.is-primary:hover {
  background: linear-gradient(135deg, #115e3a 0%, #062b19 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(13, 76, 47, 0.32);
}

.gnipst-btn-cta.is-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.gnipst-btn-cta.is-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.38);
}

.gnipst-btn-cta.is-outlined {
  background: #ffffff;
  color: #0d4c2f !important;
  border: 1.5px solid #cadcd0;
}

.gnipst-btn-cta.is-outlined:hover {
  border-color: #0d4c2f;
  background: #f4f9f6;
  transform: translateY(-1.5px);
  box-shadow: 0 3px 10px rgba(13, 76, 47, 0.1);
}

/* ================= INLINE LEAD CAPTURE FORM ================= */
.gnipst-lead-form-card {
  background: #ffffff;
  border: 1.5px solid #0d4c2f;
  border-radius: 16px;
  padding: 16px;
  margin-top: 10px;
  box-shadow: 0 6px 18px rgba(13, 76, 47, 0.08);
}

.gnipst-lead-badge {
  display: inline-block;
  background: #e6f4ea;
  color: #0d4c2f;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.gnipst-lead-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #072a1a;
  margin: 0 0 4px;
  line-height: 1.3;
}

.gnipst-lead-sub {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 12px;
  line-height: 1.45;
}

.gnipst-lead-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gnipst-lead-row {
  display: flex;
  gap: 8px;
}

.gnipst-lead-input,
.gnipst-lead-select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12.5px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.gnipst-lead-input:focus,
.gnipst-lead-select:focus {
  border-color: #0d4c2f;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 76, 47, 0.12);
}

.gnipst-lead-submit-btn {
  background: linear-gradient(135deg, #0d4c2f 0%, #072a1a 100%);
  color: #ffffff;
  border: 1.5px solid #f0a800;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.gnipst-lead-submit-btn:hover {
  background: #072a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 76, 47, 0.25);
  border-color: #ffbe26;
}

.gnipst-lead-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.gnipst-lead-counsellor-alt {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 6px;
}

.gnipst-lead-instant-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-instant-link {
  font-weight: 700;
  text-decoration: none !important;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gnipst-instant-link.is-wa {
  background: #e7f9ee;
  color: #16a34a !important;
}

.gnipst-instant-link.is-wa:hover {
  background: #25D366;
  color: #ffffff !important;
}

.gnipst-instant-link.is-tel {
  background: #fff8e7;
  color: #b45309 !important;
}

.gnipst-instant-link.is-tel:hover {
  background: #f0a800;
  color: #072a1a !important;
}

/* Success Card after submitting */
.gnipst-lead-success-card {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.gnipst-lead-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.gnipst-lead-success-card h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #166534;
  margin: 0 0 6px;
}

.gnipst-lead-success-card p {
  font-size: 12.8px;
  color: #15803d;
  line-height: 1.55;
  margin: 0 0 10px;
}

.gnipst-lead-ref-badge {
  display: inline-block;
  background: #16a34a;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

/* Quick Exploration Grid (Eye-comforting alternative to empty vertical chips) */
.gnipst-quick-menu {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef4f0;
}

.gnipst-quick-prompt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #557262;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-quick-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.gnipst-quick-card {
  background: #ffffff;
  border: 1.5px solid #dce8df;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  position: relative;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.gnipst-quick-card:hover {
  background: #f4faf6;
  border-color: #0d4c2f;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(13, 76, 47, 0.12);
}

.gnipst-quick-card:active {
  transform: translateX(0);
}

.gnipst-quick-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eaf4ed;
  color: #0d4c2f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.gnipst-quick-card-icon svg {
  width: 17px;
  height: 17px;
}

.gnipst-quick-card:hover .gnipst-quick-card-icon {
  background: #0d4c2f;
  color: #f0a800;
  box-shadow: 0 2px 6px rgba(13, 76, 47, 0.25);
}

.gnipst-quick-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.gnipst-quick-card-title {
  font-size: 12.8px;
  font-weight: 700;
  color: #0a3d24;
  line-height: 1.3;
  white-space: normal !important;
  word-break: normal;
}

.gnipst-quick-card-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
  line-height: 1.35;
  white-space: normal !important;
  word-break: normal;
}

.gnipst-quick-card-arrow {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.gnipst-quick-card:hover .gnipst-quick-card-arrow {
  color: #0d4c2f;
  transform: translateX(2px);
}

/* Quick Suggestion Chips - Structured 2-column balanced grid */
.gnipst-chips-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #edf4f0;
  width: 100%;
}

.gnipst-chips-wrap > .gnipst-chip-btn:last-child:nth-child(odd) {
  grid-column: span 2;
  justify-content: center;
}

.gnipst-chip-btn {
  background: #f8faf8;
  border: 1.5px solid #d5e4da;
  color: #0d4c2f;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  transition: all 0.2s ease;
  text-align: left;
  line-height: 1.3;
}

.gnipst-chip-btn svg {
  width: 15px;
  height: 15px;
  color: #0d4c2f;
  flex-shrink: 0;
  transition: color 0.2s;
}

.gnipst-chip-btn:hover {
  background: #0d4c2f;
  color: #ffffff;
  border-color: #0d4c2f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 76, 47, 0.15);
}

.gnipst-chip-btn:hover svg {
  color: #f0a800;
}

/* Typing indicator */
.gnipst-typing-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  border-top-left-radius: 4px;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.gnipst-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d4c2f;
  animation: gnipstBlink 1.4s infinite both;
}

.gnipst-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.gnipst-typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes gnipstBlink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}

/* Chat Input Footer */
.gnipst-chat-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.gnipst-input-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fbfdfc;
  border: 1.5px solid #cadcd0;
  border-radius: 26px;
  padding: 4px 6px 4px 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.gnipst-input-form:focus-within {
  border-color: #0d4c2f;
  box-shadow: 0 0 0 3px rgba(13, 76, 47, 0.14);
  background: #ffffff;
}

.gnipst-input-field {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 0;
  font-size: 13.5px;
  color: #0f172a;
  outline: none;
}

.gnipst-input-field::placeholder {
  color: #94a3b8;
}

.gnipst-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4c2f 0%, #072a1a 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13, 76, 47, 0.3);
  transition: all 0.2s ease;
}

.gnipst-send-btn:hover {
  background: linear-gradient(135deg, #f0a800 0%, #d97706 100%);
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(240, 168, 0, 0.4);
}

.gnipst-mic-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #64748b;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-right: 2px;
}

.gnipst-mic-btn:hover {
  background: #e2ece5;
  color: #0d4c2f;
}

.gnipst-mic-btn.is-listening {
  background: #fee2e2;
  color: #dc2626;
  animation: gnipstMicPulse 1.2s infinite;
}

@keyframes gnipstMicPulse {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Voice Listening Status Banner */
.gnipst-voice-status {
  background: #fee2e2;
  border-bottom: 1px solid #fca5a5;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #b91c1c;
  animation: gnipstTeaserPop 0.25s ease-out;
}

.gnipst-voice-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  animation: gnipstBlink 1s infinite;
  display: inline-block;
  margin-right: 8px;
}

.gnipst-voice-text {
  flex-grow: 1;
}

.gnipst-voice-stop {
  background: transparent;
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #b91c1c;
  cursor: pointer;
  padding: 0 4px;
}

/* Sound Icons */
.gnipst-sound-on-icon,
.gnipst-sound-off-icon {
  display: block;
}

/* ================= MESSAGE FEEDBACK ROW ================= */
.gnipst-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #e2ece5;
  font-size: 11px;
  color: #64748b;
}

.gnipst-feedback-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gnipst-feedback-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-fb-btn {
  background: #f8faf8;
  border: 1px solid #d5e4da;
  border-radius: 6px;
  padding: 3px 7px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #475569;
}

.gnipst-fb-btn:hover {
  background: #ffffff;
  border-color: #0d4c2f;
  transform: scale(1.08);
}

.gnipst-fb-btn.is-active {
  background: #e6f4ea;
  border-color: #16a34a;
  color: #15803d;
  font-weight: 700;
  pointer-events: none;
}

/* ================= INTERACTIVE 3-STEP PROGRAM FINDER QUIZ ================= */
.gnipst-quiz-card {
  background: #ffffff;
  border: 1.5px solid #0d4c2f;
  border-radius: 14px;
  padding: 14px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(13, 76, 47, 0.08);
}

.gnipst-quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.gnipst-quiz-badge {
  background: #e6f4ea;
  color: #0d4c2f;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gnipst-quiz-step-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.gnipst-quiz-title {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #0a3d24;
  margin: 0 0 10px;
}

.gnipst-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.gnipst-quiz-opt-btn {
  background: #f8faf8;
  border: 1.5px solid #dce8df;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.gnipst-quiz-opt-btn:hover {
  background: #0d4c2f;
  color: #ffffff;
  border-color: #0d4c2f;
  transform: translateX(3px);
}

.gnipst-quiz-opt-btn svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.gnipst-quiz-opt-btn:hover svg {
  opacity: 1;
}

/* ================= INTERACTIVE FEE & SCHOLARSHIP ESTIMATOR ================= */
.gnipst-calc-card {
  background: #ffffff;
  border: 1.5px solid #f0a800;
  border-radius: 14px;
  padding: 14px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(240, 168, 0, 0.12);
}

.gnipst-calc-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #072a1a;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gnipst-calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.gnipst-calc-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gnipst-calc-label {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.gnipst-calc-select,
.gnipst-calc-input {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 12px;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  font-family: inherit;
}

.gnipst-calc-result-box {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
}

.gnipst-calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
  color: #166534;
}

.gnipst-calc-row.is-total {
  font-weight: 800;
  font-size: 13.5px;
  border-top: 1px solid #bbf7d0;
  margin-top: 4px;
  padding-top: 6px;
  color: #0f5132;
}

/* ================= INTERACTIVE PLACEMENT TABS ================= */
.gnipst-tabs-wrap {
  margin-top: 10px;
}

.gnipst-tabs-nav {
  display: flex;
  gap: 6px;
  border-bottom: 2px solid #eef3f0;
  padding-bottom: 6px;
  margin-bottom: 10px;
  overflow-x: auto;
}

.gnipst-tab-btn {
  background: #f1f5f3;
  border: none;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gnipst-tab-btn:hover {
  background: #e2ece5;
  color: #0d4c2f;
}

.gnipst-tab-btn.is-active {
  background: #0d4c2f;
  color: #ffffff;
}

.gnipst-tab-content {
  display: none;
  animation: gnipstMsgIn 0.2s ease-out;
}

.gnipst-tab-content.is-active {
  display: block;
}

/* ================= CAMPUS & LAB PHOTO CAROUSEL / MINI GALLERY ================= */
.gnipst-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}

.gnipst-gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d5e4da;
  background: #000000;
  aspect-ratio: 4 / 3;
}

.gnipst-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gnipst-gallery-card:hover img {
  transform: scale(1.08);
}

.gnipst-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 6px 4px 3px;
  text-align: center;
  line-height: 1.15;
}

/* ================= 1-CLICK PDF DOWNLOAD CARDS ================= */
.gnipst-download-card {
  background: #f8faf8;
  border: 1.5px solid #d5e4da;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.gnipst-download-card:hover {
  background: #ffffff;
  border-color: #0d4c2f;
  box-shadow: 0 4px 12px rgba(13, 76, 47, 0.1);
}

.gnipst-download-info {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.gnipst-download-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}

.gnipst-download-title {
  font-size: 12px;
  font-weight: 700;
  color: #0a3d24;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gnipst-download-sub {
  font-size: 10px;
  color: #64748b;
}

.gnipst-download-btn {
  background: #0d4c2f;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.gnipst-download-btn:hover {
  background: #f0a800;
  color: #072a1a !important;
}

/* ================= ALUMNI SPOTLIGHT QUOTE ================= */
.gnipst-quote-box {
  background: #f0f7f2;
  border-left: 3px solid #0d4c2f;
  border-radius: 0 8px 8px 0;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 11.8px;
  font-style: italic;
  color: #1e3a29;
  line-height: 1.45;
}

.gnipst-quote-author {
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  color: #0d4c2f;
  margin-top: 4px;
  display: block;
}

/* ================= CALLBACK PREFERRED TIME SLOTS IN LEAD FORM ================= */
.gnipst-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.gnipst-time-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  display: block;
  user-select: none;
}

.gnipst-time-input {
  display: none;
}

.gnipst-time-input:checked + .gnipst-time-label {
  background: #0d4c2f;
  border-color: #0d4c2f;
  color: #ffffff;
  font-weight: 700;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  #gnipstChatWidget {
    bottom: 16px;
    right: 16px;
  }
  
  .gnipst-chat-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
  }
  
  .gnipst-chat-teaser {
    display: none !important;
  }
}
