/* ==========================================================================
   SMILI HOME — SLEEK DARK-GLASS QUICK-CHAT WIDGET
   ========================================================================== */
.smili-chat-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9990;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--smile);
  color: #030812;
  font-family: var(--font-display, sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(240, 176, 64, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.smili-chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(240, 176, 64, 0.5);
}
.smili-chat-box {
  position: fixed;
  bottom: 82px;
  right: 22px;
  width: 340px;
  max-width: calc(100vw - 32px);
  z-index: 9991;
  background: rgba(8, 14, 26, 0.96);
  border: 1px solid rgba(240, 176, 64, 0.35);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #ffffff;
  overflow: hidden;
  display: none;
  flex-direction: column;
}
.smili-chat-box.open {
  display: flex;
}
.smili-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.smili-chat-title {
  font-family: var(--font-display, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}
.smili-chat-sub {
  font-size: 0.74rem;
  color: #f0b040;
}
.smili-chat-close {
  background: none;
  border: 0;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.smili-chat-body {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
  overflow-y: auto;
  font-size: 0.86rem;
  line-height: 1.5;
}
.smili-chat-msg {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: #e2e8f0;
}
.smili-chat-q-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.smili-chat-q {
  text-align: left;
  background: rgba(240, 176, 64, 0.08);
  border: 1px solid rgba(240, 176, 64, 0.28);
  color: #f0b040;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.smili-chat-q:hover {
  background: rgba(240, 176, 64, 0.18);
}
.smili-chat-foot {
  padding: 0.85rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.5rem;
}
.smili-chat-cta {
  flex: 1;
  text-align: center;
  background: var(--smile);
  color: #030812;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
}
.smili-chat-call {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  text-decoration: none;
}

/* Hide quick help chat button & popup on mobile and tablet devices */
@media (max-width: 768px) {
  .smili-chat-fab,
  .smili-chat-box {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Ensure Quick Help button is completely removed on mobile & tablet so it NEVER covers the dock menu */
@media screen and (max-width: 860px) {
  .smili-chat-fab,
  .smili-chat-box {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0) !important;
  }
}


/* Ensure Quick Help button is completely removed on iPad & tablet so it NEVER covers the dock menu */
@media screen and (max-width: 1024px) {
  .smili-chat-fab,
  .smili-chat-box {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0) !important;
  }
}
