/* Pitch Hit pre-signup chatbot widget */
#ph-chat-bubble {
  position: fixed; right: 18px; bottom: 18px; z-index: 9998;
  display: flex; align-items: center; gap: 8px;
  background: #c0392b; color: #fff; border: 0; border-radius: 999px;
  padding: 12px 18px; font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
#ph-chat-bubble:hover { background: #a93226; }
.ph-chat-emoji { font-size: 20px; }
#ph-chat-panel {
  position: fixed; right: 18px; bottom: 78px; z-index: 9999;
  width: 340px; max-width: calc(100vw - 36px); height: 480px; max-height: calc(100vh - 120px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
  font-family: inherit;
}
.ph-chat-head {
  background: #1a2f4a; color: #fff; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
#ph-chat-close {
  background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1;
}
.ph-chat-body {
  flex: 1; overflow-y: auto; padding: 12px;
  display: flex; flex-direction: column; gap: 8px; background: #f4f7fa;
}
.ph-msg {
  max-width: 85%; padding: 9px 12px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.45;
}
.ph-bot { background: #fff; border: 1px solid #dfe6ec; align-self: flex-start; color: #1a2f4a; }
.ph-user { background: #1a2f4a; color: #fff; align-self: flex-end; }
.ph-chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; background: #f4f7fa; }
.ph-quick {
  background: #fff; border: 1px solid #c0392b; color: #c0392b; border-radius: 999px;
  padding: 6px 12px; font-size: 12.5px; cursor: pointer;
}
.ph-quick:hover { background: #c0392b; color: #fff; }
.ph-chat-inputrow { display: flex; border-top: 1px solid #dfe6ec; }
#ph-chat-input {
  flex: 1; border: 0; padding: 12px; font-size: 14px; outline: none;
}
#ph-chat-send {
  background: #c0392b; color: #fff; border: 0; padding: 0 16px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}
#ph-chat-send:hover { background: #a93226; }
.ph-code {
  display: inline-block; background: #1a2f4a; color: #fff; font-weight: 800;
  font-size: 20px; letter-spacing: 2px; padding: 8px 18px; border-radius: 8px;
}
.ph-wa {
  display: inline-block; background: #25d366; color: #fff !important;
  padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
@media (max-width: 480px) {
  #ph-chat-panel { right: 8px; bottom: 70px; width: calc(100vw - 16px); }
  #ph-chat-bubble { right: 8px; bottom: 8px; }
}
