/* Certified Chat Widget — certified123.com */
#certified-chat-bubble {
  position: fixed; right: 20px; top: 132px; z-index: 99990;
  background: #111111; color: #ffffff; border: 2px solid #C9A227;
  border-radius: 999px; padding: 12px 20px; font-family: inherit;
  font-size: 15px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.35); display: flex; align-items: center; gap: 8px;
}
#certified-chat-bubble:hover { background: #1d1d1d; }
#certified-chat-bubble .cc-dot {
  background: #C9A227; color: #111; border-radius: 999px;
  font-size: 12px; font-weight: 800; padding: 1px 7px;
}
#certified-chat-panel {
  position: fixed; right: 20px; top: 188px; z-index: 99991;
  width: 370px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 214px);
  background: #ffffff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.4); display: none;
  flex-direction: column; font-family: inherit;
  border: 1px solid #e3e3e3;
}
#certified-chat-panel.cc-open { display: flex; }
.cc-header {
  background: #111111; color: #fff; padding: 14px 16px; border-bottom: 3px solid #C9A227;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.cc-header .cc-title { font-weight: 800; font-size: 16px; }
.cc-header .cc-sub { font-size: 12.5px; color: #d8c98a; margin-top: 2px; }
.cc-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0 2px; }
#certified-chat-messages {
  flex: 1; overflow-y: auto; padding: 14px; background: #f7f5ef;
  display: flex; flex-direction: column; gap: 10px;
}
.cc-msg { max-width: 85%; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.cc-msg.bot { background: #ffffff; border: 1px solid #e0dccb; align-self: flex-start; border-bottom-left-radius: 4px; }
.cc-msg.user { background: #111111; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.cc-msg a { color: #1a73e8; font-weight: 700; }
.cc-msg.user a { color: #8ab4f8; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; }
.cc-chip {
  background: #fff; border: 1.5px solid #C9A227; color: #111; border-radius: 999px;
  padding: 6px 12px; font-size: 13.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.cc-chip:hover { background: #C9A227; }
.cc-inputrow { display: flex; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid #e3e3e3; }
#certified-chat-input {
  flex: 1; border: 1.5px solid #cfcfcf; border-radius: 10px; padding: 10px 12px;
  font-size: 14.5px; font-family: inherit; outline: none;
}
#certified-chat-input:focus { border-color: #C9A227; }
#certified-chat-send {
  background: #C9A227; color: #111; border: none; border-radius: 10px;
  padding: 10px 16px; font-weight: 800; font-size: 14.5px; cursor: pointer; font-family: inherit;
}
#certified-chat-send:hover { background: #b08d1e; }
@media (max-width: 480px) {
  #certified-chat-panel { right: 12px; top: 178px; height: calc(100vh - 200px); }
  #certified-chat-bubble { right: 12px; top: 122px; }
}
