/* UCF Chat bubble: UCF red, brushed steel header, Poppins (from the theme) */
.ucfc-btn { position: fixed; right: 18px; bottom: 86px; z-index: 2147483000; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: #e31d27; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.35); display: grid; place-items: center; transition: transform .15s; }
.ucfc-btn:hover { transform: scale(1.06); }
.ucfc-btn svg { width: 28px; height: 28px; fill: #fff; }
.ucfc-btn.is-open { background: #1b1c1d; }
.ucfc-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: #e31d27; font: 700 12px/20px Poppins, Arial, sans-serif; box-shadow: 0 0 0 2px #e31d27; }
.ucfc-peek { position: fixed; right: 18px; bottom: 154px; z-index: 2147483000; max-width: 280px; background: #fff; color: #141414; padding: 10px 14px; border-radius: 12px 12px 2px 12px;
  font: 13px/1.4 Poppins, Arial, sans-serif; box-shadow: 0 8px 24px rgba(0,0,0,.3); cursor: pointer; border-left: 3px solid #e31d27; }
.ucfc-panel { position: fixed; right: 18px; bottom: 154px; z-index: 2147483001; width: 360px; max-width: calc(100vw - 24px); height: 480px; max-height: calc(100vh - 180px);
  background: #fff; color: #141414; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.4); font: 14px/1.4 Poppins, Arial, sans-serif; }
.ucfc-panel[hidden], .ucfc-peek[hidden], .ucfc-badge[hidden], .ucfc-who[hidden], .ucfc-err[hidden] { display: none !important; }
.ucfc-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: #fff; background: #1b1c1d url(../img/steel-d.jpg) center/cover; border-bottom: 3px solid #e31d27; }
.ucfc-title { flex: 1; display: flex; flex-direction: column; }
.ucfc-title b { text-transform: uppercase; letter-spacing: .05em; font-size: 13px; }
.ucfc-status { font-size: 12px; color: #c9ccd1; }
.ucfc-status.on { color: #6fe39a; }
.ucfc-x { background: transparent; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.ucfc-list { flex: 1; overflow-y: auto; padding: 12px; background: #f1f2f4; }
.ucfc-msg { max-width: 82%; margin: 0 0 8px; padding: 8px 11px; border-radius: 12px; white-space: pre-wrap; word-wrap: break-word; }
.ucfc-msg.them { background: #fff; border: 1px solid #e1e3e7; border-bottom-left-radius: 3px; }
.ucfc-msg.me { margin-left: auto; background: #e31d27; color: #fff; border-bottom-right-radius: 3px; }
.ucfc-msg.sys { margin: 6px auto; background: transparent; color: #777; font-size: 12px; text-align: center; }
.ucfc-msg.intro { color: #444; }
.ucfc-name { font-size: 11px; font-weight: 600; color: #e31d27; margin-bottom: 2px; }
.ucfc-err { padding: 6px 12px; background: #fde8ea; color: #b22234; font-size: 12px; }
.ucfc-form { border-top: 1px solid #e1e3e7; padding: 8px; background: #fff; }
.ucfc-who input { width: 100%; box-sizing: border-box; border: 1px solid #d9dbdf; border-radius: 6px; padding: 7px 9px; margin-bottom: 6px; font: inherit; font-size: 13px; }
.ucfc-row { display: flex; gap: 6px; align-items: flex-end; }
.ucfc-row textarea { flex: 1; resize: none; border: 1px solid #d9dbdf; border-radius: 6px; padding: 8px 9px; font: inherit; min-height: 40px; max-height: 120px; box-sizing: border-box; }
.ucfc-send { border: 0; background: #e31d27; color: #fff; font: 700 13px Poppins, Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 0 14px; height: 40px; border-radius: 6px; cursor: pointer; }
.ucfc-send:disabled { opacity: .6; }
@media (max-width: 520px) {
  .ucfc-panel { right: 0; left: 0; bottom: 0; width: 100%; max-width: none; height: 75vh; max-height: none; border-radius: 12px 12px 0 0; }
  .ucfc-btn { right: 14px; }
  .ucfc-peek { right: 14px; }
}
