/* PsychCura — Ask Widget */

:root{
  --pc-ask:#15b9d9;
  --pc-ask-dark:#119ab4;
}

/* Hide honeypot */
.pc-hp{
  position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden;
}

/* Floating Button (desktop/tablet = pill) */
.pc-ask-fab{
  position:fixed; left:22px; bottom:22px; z-index:1049;
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.8rem 1rem; border:0; border-radius:999px;
  font-weight:700; background:linear-gradient(135deg,var(--pc-ask),var(--pc-ask-dark)); color:#fff;
  box-shadow:0 14px 30px rgba(17,154,180,.28),0 4px 10px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .2s ease, opacity .2s ease;
  animation:pc-pulse 2.6s ease-out infinite;
  margin-bottom: 6px;
}
.pc-ask-fab i{ font-size:1rem; line-height:1; }
.pc-ask-fab:hover,.pc-ask-fab:focus{ transform:translateY(-1px); box-shadow:0 18px 36px rgba(17,154,180,.32),0 6px 14px rgba(0,0,0,.14); outline:none; }

@keyframes pc-pulse{ 0%{box-shadow:0 0 0 0 rgba(21,185,217,.45)} 70%{box-shadow:0 0 0 14px rgba(21,185,217,0)} 100%{box-shadow:0 0 0 0 rgba(21,185,217,0)} }

/* Compact circular style on small screens (match back-to-top size) */
@media (max-width: 576px){
  .pc-ask-fab{
    width:56px; height:56px; padding:0; border-radius:50%;
    justify-content:center; gap:0;
    margin-bottom: 7px;
  }
  .pc-ask-fab i{ font-size:1.25rem; }  /* visually matches back-to-top icon scale */
  .pc-ask-label{ display:none !important; }
}

/* Extra-tight phones */
@media (max-width:380px){
  .pc-ask-fab{ left:14px; bottom:14px; }
}

/* Word counter colors */
#pcAskWordCount.limit-warning{ color:#b54708; }
#pcAskWordCount.limit-reached{ color:#b42318; }

/* Modal polish */
#pcAskModal .modal-content{ border:0; border-radius:1rem; }

@media (prefers-reduced-motion: reduce) {
  .pc-ask-fab { animation: none; transition: none; }
}