/* =======================================================================
   SABBTCo — GLOBAL DESIGN SYSTEM
   Single source of truth. All pages inherit from here.
   Child templates must NOT redefine any token or component listed below.
   ======================================================================= */

/* ---- TOKENS ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:       #215ae0;
  --blue:       #00AEEF;
  --red:        #E31E24;
  --bg:         #f8fafc;
  --text:       #1e293b;
  --muted:      #64748b;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --shadow-sm:  0 2px 8px rgba(15,23,42,0.06);
  --shadow-md:  0 10px 28px rgba(15,23,42,0.10);
  --radius:     10px;
  --radius-sm:  6px;
  --transition: 0.22s ease;
}

/* FIX: do NOT set overflow-x:hidden on both html and body — that forces
   body to become its own scroll container, which breaks position:sticky
   on the header (it sticks to the wrong box, or fails on mobile Safari). */
html, body { height: 100%; }

body {
  overflow-x: hidden;
  font-family: "Inter", "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ---- CONTAINER ---- */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* =====================================================================
   BUTTONS — single definition, never redefined in child templates
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  height: 40px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  font-family: inherit;
}

.btn-primary,
a.btn-primary {
  background: var(--red) !important;
  color: #fff !important;
}

.btn-primary:hover,
a.btn-primary:hover {
  background: #c0181d !important;
}

.btn-danger { background: var(--red); color: #fff; }

/* =====================================================================
   STICKY HEADER
   ===================================================================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.site-header .container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
                                                                                
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 4px;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--blue); }

.nav-login-link {
  text-decoration: none;
  color: var(--navy) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid var(--red);
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-login-link:hover {
  color: var(--red) !important;
  border-bottom-color: var(--navy);
}

.drawer-login-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--red);
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-login-btn:hover { background: #f1f5f9; color: var(--red) !important; }
.drawer-login-btn i { width: 18px; text-align: center; color: var(--red); font-size: 15px; flex-shrink: 0; }

/* Quote shortcut shown below the login button in mobile drawer (guests only) */
.drawer-quote-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white) !important;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 14px;
  border-radius: 10px;
  background: var(--red);
  margin-top: 6px;
  transition: background 0.2s ease;
}

.drawer-quote-btn:hover { background: #c0181d; }
.drawer-quote-btn i { width: 18px; text-align: center; color: var(--white); font-size: 15px; flex-shrink: 0; }

.language-form { display: inline-flex; align-items: center; }

.language-select {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--text);
  cursor: pointer;
  height: 36px;
  outline: none;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: none;
  color: var(--text);
  padding: 4px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =====================================================================
   DESKTOP NOTIFICATION BELL
   ===================================================================== */
.notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.notif-bell {
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  padding: 4px;
}

.notif-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--red);
  color: white;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

/* =====================================================================
   MOBILE NOTIFICATION BELL  (inside drawer-links)
   ===================================================================== */
.mobile-bell-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 18px;          /* same fixed width as other drawer icons */
  flex-shrink: 0;
}

.mobile-bell-wrapper i {
  font-size: 15px;
  color: var(--muted);
}

.mobile-notif-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
  padding: 0 2px;
  z-index: 100001;
  pointer-events: none;
}

/* Keep icon colour consistent with drawer hover state */
.drawer-links a:hover .mobile-bell-wrapper i { color: var(--blue); }

.user-menu { position: relative; display: inline-flex; align-items: center; }

.avatar {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}

.drawer-avatar {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--blue);
  flex-shrink: 0;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 200px;
  background: #0f172a;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  display: block;
}

.dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a,
.dropdown button {
  display: block;
  width: 100%;
  padding: 14px 16px;
  color: #cbd5e1;
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover,
.dropdown button:hover {
  background: rgba(0,174,238,0.18);
  color: white;
}

/* =====================================================================
   MOBILE OVERLAY
   ===================================================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 99999;
}

.nav-overlay.active { opacity: 1; visibility: visible; }

/* =====================================================================
   MOBILE DRAWER
   ===================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(280px, 82vw);
  height: 100%;
  background: #fff;
  z-index: 100000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -8px 0 32px rgba(0,0,0,0.18);
}

.mobile-drawer.active { right: 0; }

.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.drawer-logo { height: 44px; }

.drawer-close {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
  padding: 4px;
}

.drawer-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
  flex-shrink: 0;
}

.drawer-profile:hover { background: rgba(15,23,42,0.04); }

.drawer-profile-info { display: flex; align-items: center; gap: 10px; }
.drawer-profile-info h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 0; }
.drawer-profile-info small { font-size: 11px; color: var(--muted); }

.drawer-profile-chevron {
  color: var(--muted);
  font-size: 13px;
  transition: transform var(--transition);
}

.drawer-profile.active .drawer-profile-chevron { transform: rotate(180deg); }

.drawer-profile-accordion {
  max-height: 0;
  overflow: hidden;
  background: rgba(15,23,42,0.03);
  transition: max-height 0.3s ease;
  flex-shrink: 0;
}

.drawer-profile-accordion.open { max-height: 200px; }

.drawer-profile-accordion a,
.drawer-profile-accordion button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 26px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.drawer-profile-accordion a:hover,
.drawer-profile-accordion button:hover {
  background: rgba(0,174,238,0.08);
  color: var(--blue);
}

.drawer-links {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 12px 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-links::-webkit-scrollbar { width: 4px; }
.drawer-links::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-links a:hover { background: #f1f5f9; color: var(--blue); }

.drawer-links a i {
  width: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  flex-shrink: 0;
}

.drawer-links a:hover i { color: var(--blue); }

/* Desktop nav: highlight the protected quote link */
.nav-links a.protected-link {
  background: var(--red);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

/* Mobile drawer: no special highlight — kept plain */
.drawer-links a.protected-link {
  background: transparent !important;
  color: var(--text) !important;
  padding: 13px 14px;
  border-radius: 10px;
  font-weight: 500;
}

.drawer-links a.protected-link i {
  color: var(--muted) !important;
}

@media (max-width: 992px) {
  .nav-links a.protected-link {
    background: transparent !important;
    color: var(--text) !important;
    border: none !important;
  }

  .drawer-links a.protected-link {
    background: transparent !important;
    color: var(--text) !important;
    border-left: none !important;
  }
}

#mainContent { transition: filter 0.3s ease; }
#mainContent.blurred { filter: blur(5px); pointer-events: none; user-select: none; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: #021441;
  border-top: 3px solid var(--red);
  color: #cbd5e1 !important;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo { width: 65px; margin-bottom: 10px; }

.site-footer h2,
.site-footer h3 { color: #e2e8f0 !important; margin-bottom: 12px; }

.site-footer p { font-size: 14px; margin-bottom: 6px; color: #cbd5e1; }

.site-footer a {
  color: #94a3b8 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a { display: block; margin-bottom: 8px; }
.footer-links a:hover { color: var(--blue) !important; }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-contact p i { width: 16px; color: var(--blue); flex-shrink: 0; }

.social-icons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: #94a3b8 !important;
  font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-icon:hover { background: var(--blue); color: #fff !important; }

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-credit { opacity: 0.55; font-size: 11px; margin-top: 4px; }

/* =====================================================================
   GLOBAL PAGE LOADER
   ===================================================================== */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.loader-overlay.active { opacity: 1; visibility: visible; }

.loader-box { text-align: center; padding: 0 24px; }

.loader-circle {
  width: 46px;
  height: 46px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--blue);
  animation: spinLoader 0.9s linear infinite;
}

.loader-box p {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #f1f5f9;
  max-width: 280px;
  margin: 0 auto;
}

@keyframes spinLoader { to { transform: rotate(360deg); } }

/* =====================================================================
   FLOATING SOCIAL HUB
   ===================================================================== */
.social-hub {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 100000;
}

#socialBtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.social-menu {
  display: none;
  position: absolute;
  bottom: 64px;
  left: 0;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  min-width: 210px;
  animation: slideUp 0.18s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.social-menu.active { display: block; }

.social-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  text-decoration: none;
  color: var(--text);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.15s ease;
}

.social-item:hover { background: #f1f5f9; }

.whatsapp-submenu {
  display: none;
  padding-left: 16px;
  border-left: 2px solid #e2e8f0;
  margin: 4px 0 4px 12px;
}

.whatsapp-submenu.show { display: block; }

.whatsapp-submenu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  transition: background 0.15s ease;
}

.whatsapp-submenu a:hover { background: #f1f5f9; }

/* =====================================================================
   CHATBOT
   ===================================================================== */
#chatbot-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99998;
}

#chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #ffffff;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.16);
}

.assistant-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: #0f172a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  overflow: hidden;
  flex-shrink: 0;
}

.assistant-avatar i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 20px;
  line-height: 1;
}

.online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #22c55e;
  border: 2px solid white;
  border-radius: 50%;
}

.assistant-label { display: flex; flex-direction: column; text-align: left; }
.assistant-label strong { font-size: 13px; font-weight: 700; color: #111827; }
.assistant-label small { font-size: 11px; color: #64748b; margin-top: 1px; }

#chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  height: 520px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  border: 1px solid #e5e7eb;
  display: none;
  flex-direction: column;
}

.chatbot-header {
  background: #0f172a;
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.chat-header-info h4 { margin: 0; font-size: 14px; font-weight: 700; }
.status { margin-top: 3px; font-size: 11px; opacity: 0.8; }
.status i { color: #22c55e; margin-right: 4px; font-size: 9px; }

#chatbot-close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

#chatbot-close:hover { background: rgba(255,255,255,0.2); }

#chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  scroll-behavior: smooth;
}

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

.bot-message, .user-message {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  animation: msgIn 0.2s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.user-message { justify-content: flex-end; }

.bot-avatar, .user-avatar {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  align-self: flex-end;
}

.bot-avatar  { background: #0f172a; color: white; }
.user-avatar { background: #2563eb; color: white; }

.message-content {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 10px 13px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  max-width: 78%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.user-message .message-content {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
}

.message-content p { margin: 0; font-size: 13.5px; line-height: 1.55; }
.message-content strong { display: block; margin-bottom: 5px; font-size: 13px; }

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.typing-bubble span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  display: inline-block;
  animation: typingBounce 1.2s ease infinite;
}

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

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30%           { transform: translateY(-6px); }
}

.chatbot-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e5e7eb;
  background: white;
  flex-shrink: 0;
}

.chatbot-input input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  outline: none;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #f8fafc;
}

.chatbot-input input:focus {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

#chatbot-send {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: white;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-submit-btn { position: relative; }
.quote-submit-btn.loading { pointer-events: none; opacity: 0.85; }
.quote-submit-btn .btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  animation: spinLoader 0.8s linear infinite;
  margin-right: 8px;
}
.quote-submit-btn.loading .btn-spinner { display: inline-block; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 992px) {
  .nav-links  { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header .container.nav { padding: 12px 16px; }
  .logo-img { height: 44px; }

  /* Footer: collapse to single column on tablet/mobile */
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-contact p { justify-content: center; }
  .social-icons { justify-content: center; }
  .social-hub { bottom: 16px; left: 16px; }

  /* Desktop notif badge stays visible */
  .notif-wrapper {
    display: inline-flex !important;
    position: relative;
  }

  .notif-count {
    top: -2px;
    right: -2px;
    z-index: 100001;
  }
}

@media (max-width: 768px) {
  #chatbot-container { right: 14px; bottom: 14px; }
  #chatbot-window { width: calc(100vw - 28px); height: 78vh; right: 0; bottom: 76px; border-radius: 16px; }
  .assistant-label { display: none; }
  #chatbot-toggle { padding: 0; border-radius: 50%; width: 60px; height: 60px; justify-content: center; }
  .assistant-avatar { width: 60px; height: 60px; min-width: 60px; min-height: 60px; font-size: 24px; }
  .assistant-avatar i { font-size: 24px; }
}

/* =====================================================================
   GOOGLE ONE TAP
   ===================================================================== */
#g_id_onload {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 99997;
}