.atc-chatbot {
  position: fixed;
  right: 28px;
  bottom: 128px;
  z-index: 340;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Inter', sans-serif;
}

.atc-chatbot-panel {
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 620px);
  display: none;
  flex-direction: column;
  background: rgba(7, 17, 31, 0.98);
  border: 1px solid rgba(207, 174, 100, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.atc-chatbot.open .atc-chatbot-panel {
  display: flex;
}

.atc-chatbot-header {
  padding: 18px 20px 16px;
  background: linear-gradient(135deg, #08152C 0%, #0B1C38 58%, #122045 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.atc-chatbot-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #CFAE64;
}

.atc-chatbot-title {
  margin-top: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.atc-chatbot-subtitle {
  margin-top: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.atc-chatbot-body {
  padding: 18px;
  overflow-y: auto;
  display: grid;
  gap: 14px;
}

.atc-chatbot-message {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.65;
}

.atc-chatbot-actions {
  display: grid;
  gap: 10px;
}

.atc-chatbot-chip {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(207, 174, 100, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: #FFFFFF;
  padding: 12px 14px;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.atc-chatbot-chip:hover {
  background: rgba(207, 174, 100, 0.08);
  border-color: rgba(207, 174, 100, 0.3);
  transform: translateY(-1px);
}

.atc-chatbot-footer {
  display: grid;
  gap: 10px;
  padding: 0 18px 18px;
}

.atc-chatbot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 13px 16px;
  font-family: 'Syne', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atc-chatbot-link.primary {
  background: #CFAE64;
  color: #0B1C38;
}

.atc-chatbot-link.secondary {
  border: 1px solid rgba(207, 174, 100, 0.18);
  color: #CFAE64;
}

.atc-chatbot-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  background: #0B1C38;
  color: #FFFFFF;
  padding: 14px 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.atc-chatbot-toggle-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.atc-chatbot-toggle-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CFAE64;
}

.atc-chatbot-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .atc-chatbot {
    right: 16px;
    left: 16px;
    bottom: 88px;
    align-items: stretch;
  }

  .atc-chatbot-panel {
    width: 100%;
  }

  .atc-chatbot-toggle {
    align-self: flex-end;
  }
}
