@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --font-roboto: "Roboto", sans-serif;
}

p {
  margin-bottom: 0 !important;
}
/* ── Layout ── */
.child-2 {
  /* height: 450px !important; */
}
.chatbox {
  background-color: white !important;
  border-radius: 10px;
  width: 100%;
  /* padding: 2em 2em; */
  display: grid;
  font-family: var(--font-roboto);
  gap: 10px;
}

.para {
  color: #6b7280;
  font-weight: 600;
  font-size: 13px;
  margin-top: -1em;
}
.right-tick {
  display: grid;
  grid-template-columns: 30px 1fr;
  margin-bottom: 14px;
}
.right-tick p {
  color: #374151d4 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.tick {
  background-color: #d1fae5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tick i {
  color: #059669;
  font-size: 10px;
  font-weight: 600;
}
.btn-chta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.btn-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 2px solid #fca5a5;
  border-radius: 30px;
  padding: 5px 5px;
  background-color: #fef2f2;
  cursor: pointer;
}

.textone {
  font-size: 13px;
  color: #6b7280;
  padding: 1.5em 2em;
  border-bottom: 1px solid #6b72803b;
}

.box-spacing {
  padding: 0em 1em;
}
.box-spacing-bottom {
  padding: 5px 2em;
  margin-bottom: 10px;
}

.btn-flex {
  color: #c0122e;
  font-weight: 700;
  font-size: 12px;
}
.center-btn {
  background-color: #c0122e;
  display: flex;
  color: white;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  gap: 1em;
  padding: 1em 0px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.center-btn .center-btn:hover {
  background-color: #a01025;
}

/* ── Fixed-breaker: traps widget inside ── */
#chatbot-fixed-breaker {
  display: block;
  width: 100%;
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
  border-radius: 16px;
  overflow: visible;
  position: relative;
  height: auto;
  min-height: 70px;
  box-sizing: border-box;
}

#chatbotbox {
  width: 100%;
  height: auto;
  min-height: 70px;
  position: relative;
  box-sizing: border-box;
}

/* Widget inside box */
#chatbotbox #hichroney-widget-container {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 70px !important;
  box-sizing: border-box !important;
}

/* Hide nudge popup always */
#hichroney-proactive-nudge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Full Width Pill & Input Stretch Rules ── */
#chatbotbox #hichroney-widget-button,
#chatbotbox #hichroney-widget-button.pill-style {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  padding: 6px 12px !important;
}

/* Replaces the fixed 380px column so the input wrapper takes all remaining width */
#hichroney-widget-button.pill-style .pill-wrapper,
#chatbotbox .pill-wrapper {
  display: grid !important;
  grid-template-columns: min-content 1fr !important;
  width: 100% !important;
  max-width: 100% !important;
  align-items: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
}

/* Make inner search container and text input stretch edge-to-edge */
#chatbotbox .pill-wrapper > div:last-child,
#chatbotbox .pill-input-container,
#chatbotbox form {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  background-color: #ffffff !important;
  border-radius: 9999px !important;
  box-sizing: border-box !important;
}

#chatbotbox input#hichroney-pill-input,
#chatbotbox input[type="text"] {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

#hichroney-widget-button.pill-style {
  justify-content: center !important;
}

/* ── Force all parent containers to stretch 100% ── */
#chatbotbox #hichroney-widget-button,
#chatbotbox .pill-state--input,
#chatbotbox .pill-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* ── Force the button wrapper into a full-width flex container ── */
#chatbotbox #hichroney-widget-button {
  display: flex !important;
  align-items: center !important;
  padding: 6px 12px !important;
  box-sizing: border-box !important;
}

#chatbotbox .pill-state--input {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
}

/* ── 2-Column Grid: Fixed Avatar + Full-Stretching Input Capsule ── */
#chatbotbox .pill-wrapper {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  gap: 12px !important;
}

/* ── Avatar stays fixed ── */
#chatbotbox .pill-avatar {
  flex-shrink: 0 !important;
  width: 48px !important;
  height: 48px !important;
}

/* ── White Input Capsule stretches edge-to-edge ── */
#chatbotbox .pill-input-container {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  background-color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 4px 8px 4px 16px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* ── Textarea & Arrow Button layout inside capsule ── */
#chatbotbox textarea#hichroney-pill-input {
  width: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  resize: none !important;
  color: #333333 !important;
  font-size: 15px !important;
  padding: 8px 0 !important;
}

#chatbotbox #hichroney-pill-send-btn {
  flex-shrink: 0 !important;
  margin-left: 8px !important;
}

.chatbox > div h3 {
  font-size: 18px;
  color: black;
  font-weight: 700;
}

center {
  color: #9ca3af;
  font-size: 11px;
}
/* .chatbox p {
  font-size: 13px;
  color: #6b7280;
} */

@media (max-width: 720px) {
  .btn-chta {
    grid-template-columns: 1fr;
  }

  .child-2 {
    padding: 0px 0px;
  }

  .center-btn > p {
    font-size: 12px;
  }

  center > p {
    font-size: 12px;
  }

  .banner-section .child-2 {
    justify-content: center;
  }

  .chatbox {
    width: 100%;
  }
}

.child-1 {
  display: grid;
  justify-self: center;
  align-items: center;
  gap: 2em;
}

.child-center {
  display: grid;
  gap: 1em;
}
