.fc-chat-launcher {
  align-items: center;
  background: #fa6400;
  border: 0;
  border-radius: 8px;
  bottom: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  font: 700 15px/1 "DM Sans", sans-serif;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  position: fixed;
  right: 20px;
  z-index: 10000;
}

.fc-chat-panel {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  bottom: 78px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
  max-height: min(650px, calc(100vh - 105px));
  overflow: hidden;
  position: fixed;
  right: 20px;
  width: min(380px, calc(100vw - 32px));
  z-index: 10000;
}

.fc-chat-header {
  align-items: center;
  background: #111;
  color: #fff;
  display: grid;
  gap: 12px;
  grid-template-columns: 40px 1fr 36px;
  min-height: 72px;
  padding: 12px 14px;
}

.fc-chat-header strong,
.fc-chat-header span {
  display: block;
}

.fc-chat-header span {
  color: #ddd;
  font-size: 13px;
  margin-top: 3px;
}

.fc-chat-agent,
.fc-chat-close {
  align-items: center;
  display: flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.fc-chat-agent {
  background: #f26a21;
  border-radius: 50%;
}

.fc-chat-close {
  background: transparent;
  border: 0;
  color: #fff;
}

.fc-chat-body {
  max-height: calc(min(650px, 100vh - 105px) - 72px);
  overflow-y: auto;
  padding: 18px;
}

.fc-chat-message {
  background: #f4f4f4;
  border-radius: 8px;
  color: #222;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 14px;
  padding: 12px 14px;
}

.fc-chat-typing {
  align-items: center;
  color: #555;
  display: flex;
  font-size: 13px;
  gap: 8px;
  min-height: 52px;
}

.fc-chat-dots {
  display: inline-flex;
  gap: 4px;
}

.fc-chat-dots i {
  animation: fc-chat-dot 0.9s infinite ease-in-out;
  background: #f26a21;
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.fc-chat-dots i:nth-child(2) { animation-delay: 0.15s; }
.fc-chat-dots i:nth-child(3) { animation-delay: 0.3s; }

@keyframes fc-chat-dot {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-4px); }
}

.fc-chat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fc-chat-pills button,
.fc-chat-back {
  background: #fff;
  border: 1px solid #f26a21;
  border-radius: 8px;
  color: #d95713;
  font-size: 13px;
  padding: 8px 10px;
}

.fc-chat-pills button:hover,
.fc-chat-pills button:focus-visible {
  background: #f26a21;
  color: #fff;
}

.fc-chat-back {
  border: 0;
  margin-bottom: 10px;
  padding-left: 0;
}

.fc-chat-selected {
  background: #fff4ec;
  border-left: 3px solid #f26a21;
  color: #222;
  font-size: 13px;
  margin-bottom: 12px;
  padding: 9px 11px;
}

.fc-chat-form {
  display: grid;
  gap: 8px;
}

.fc-chat-form label {
  color: #222;
  font-size: 12px;
  font-weight: 700;
}

.fc-chat-input {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  color: #222;
  font: 14px/1.4 "DM Sans", sans-serif;
  min-height: 42px;
  padding: 9px 11px;
  width: 100%;
}

textarea.fc-chat-input {
  min-height: 92px;
  resize: vertical;
}

.fc-chat-input:focus {
  border-color: #f26a21;
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.12);
  outline: 0;
}

.contact-lead-form .iti,
.fc-chat-form .iti {
  display: block;
  width: 100%;
}

.contact-lead-form .iti input[type="tel"],
.fc-chat-form .iti input[type="tel"] {
  width: 100% !important;
}

.iti--container {
  z-index: 10050;
}

.iti__country-list {
  max-width: min(360px, calc(100vw - 32px));
  white-space: normal;
}

.fc-chat-primary {
  align-items: center;
  background: #f26a21;
  border: 0;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  width: 100%;
}

.fc-chat-primary:disabled {
  cursor: wait;
  opacity: 0.65;
}

.fc-chat-status {
  color: #b42318;
  font-size: 13px;
  margin: 2px 0;
}

.fc-chat-success {
  padding: 28px 10px;
  text-align: center;
}

.fc-chat-success i {
  color: #f26a21;
  font-size: 44px;
}

.fc-chat-success h3 {
  font-size: 21px;
  margin: 14px 0 8px;
}

.fc-chat-success p {
  margin: 0;
}

.fc-chat-honeypot {
  left: -9999px;
  position: absolute;
}

.turnstile-slot {
  min-height: 65px;
  overflow: hidden;
}

.fc-whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 50%;
  bottom: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  height: 48px;
  justify-content: center;
  position: fixed;
  left: 20px;
  width: 48px;
  z-index: 9999;
}

.fc-whatsapp-float i {
  font-size: 26px;
}

.fc-whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
}

@media (max-width: 575px) {
  .fc-chat-launcher {
    bottom: 12px;
    right: 12px;
  }

  .fc-chat-panel {
    bottom: 70px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  .fc-whatsapp-float {
    bottom: 12px;
    left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-chat-dots i {
    animation: none;
  }

  .fc-chat-launcher,
  .fc-chat-panel {
    scroll-behavior: auto;
    transition: none;
  }
}
