/* RapidHireMe V70.1.52 Button Interaction Feedback
   V70.1.54 reliability patch: clearer visible pressed/done states for all action buttons.
   Purpose: make clicks feel acknowledged without delaying links, forms, or locked workflows. */
:root{
  --rhm-feedback-blue:#2563eb;
  --rhm-feedback-blue-soft:rgba(37,99,235,.18);
  --rhm-feedback-green:#16a34a;
  --rhm-feedback-ring:rgba(37,99,235,.34);
}
.rhm-feedback-ready .btn,
.rhm-feedback-ready button,
.rhm-feedback-ready [role="button"],
.rhm-feedback-ready input[type="button"],
.rhm-feedback-ready input[type="submit"],
.rhm-feedback-ready input[type="reset"]{
  position:relative;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:transform .14s ease, box-shadow .18s ease, filter .18s ease, outline-color .18s ease;
}
.rhm-feedback-ready .btn,
.rhm-feedback-ready button,
.rhm-feedback-ready [role="button"]{
  overflow:hidden;
}
.rhm-feedback-ready .btn.rhm-action-confirmed,
.rhm-feedback-ready button.rhm-action-confirmed,
.rhm-feedback-ready [role="button"].rhm-action-confirmed{
  overflow:visible;
}
.rhm-feedback-ready .btn:hover,
.rhm-feedback-ready button:hover,
.rhm-feedback-ready [role="button"]:hover{
  filter:brightness(1.02);
}
.rhm-feedback-ready .rhm-action-pressed{
  transform:translateY(1px) scale(.975) !important;
  box-shadow:0 0 0 5px var(--rhm-feedback-blue-soft), 0 16px 36px rgba(15,23,42,.18) !important;
  filter:brightness(.99) saturate(1.06);
}
.rhm-feedback-ready .rhm-action-confirmed{
  outline:2px solid var(--rhm-feedback-ring);
  outline-offset:2px;
}
.rhm-feedback-ready .rhm-action-confirmed::after{
  content:"✓";
  position:absolute;
  right:8px;
  top:50%;
  z-index:20;
  width:23px;
  height:23px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--rhm-feedback-green);
  color:#fff;
  font-size:13px;
  font-weight:1000;
  border:2px solid #fff;
  box-shadow:0 8px 20px rgba(22,163,74,.32);
  pointer-events:none;
  transform:translateY(-50%);
  animation:rhm-confirm-pop .34s ease both;
}
.rhm-feedback-ready .rhm-action-confirmed:not(.rhm-action-pressed){
  box-shadow:0 0 0 4px rgba(22,163,74,.16), 0 10px 28px rgba(15,23,42,.10) !important;
}
.rhm-feedback-ready .rhm-next-action-pulse{
  animation:rhm-next-action-pulse 1.15s ease-in-out 2;
}
.rhm-feedback-ready input.rhm-action-confirmed::after{content:none;}
.rhm-click-ripple{
  position:absolute;
  z-index:1;
  border-radius:999px;
  width:18px;
  height:18px;
  transform:translate(-50%,-50%) scale(0);
  background:radial-gradient(circle, rgba(255,255,255,.70) 0%, rgba(255,255,255,.36) 44%, rgba(37,99,235,.08) 68%, transparent 72%);
  pointer-events:none;
  animation:rhm-ripple-out .58s ease-out forwards;
}
.rhm-click-spark{
  position:absolute;
  z-index:2;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.22), 0 0 20px rgba(37,99,235,.34);
  transform:translate(-50%,-50%) scale(.7);
  pointer-events:none;
  animation:rhm-spark-out .42s ease-out forwards;
}
.rhm-action-toast{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:99999;
  transform:translateX(-50%) translateY(20px);
  display:flex;
  align-items:center;
  gap:9px;
  max-width:min(92vw,420px);
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(15,23,42,.94);
  color:#fff;
  box-shadow:0 18px 50px rgba(2,6,23,.28);
  font-weight:850;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.rhm-action-toast.show{opacity:1;transform:translateX(-50%) translateY(0);}
.rhm-action-toast .rhm-toast-icon{
  width:20px;
  height:20px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--rhm-feedback-green);
  color:#fff;
  font-weight:1000;
  flex:0 0 auto;
}
@keyframes rhm-ripple-out{to{transform:translate(-50%,-50%) scale(18);opacity:0;}}
@keyframes rhm-spark-out{to{transform:translate(-50%,-50%) scale(1.35);opacity:0;}}
@keyframes rhm-confirm-pop{0%{transform:translateY(-50%) scale(.45);opacity:0;}70%{transform:translateY(-50%) scale(1.12);opacity:1;}100%{transform:translateY(-50%) scale(1);opacity:1;}}
@keyframes rhm-next-action-pulse{0%,100%{box-shadow:0 0 0 0 rgba(37,99,235,.0);}45%{box-shadow:0 0 0 6px rgba(37,99,235,.18);}}
@media (prefers-reduced-motion: reduce){
  .rhm-feedback-ready .btn,
  .rhm-feedback-ready button,
  .rhm-feedback-ready [role="button"],
  .rhm-feedback-ready input[type="button"],
  .rhm-feedback-ready input[type="submit"],
  .rhm-feedback-ready input[type="reset"]{transition:outline-color .01s linear, box-shadow .01s linear;}
  .rhm-feedback-ready .rhm-action-pressed{transform:none !important;}
  .rhm-click-ripple,.rhm-click-spark{display:none;}
  .rhm-feedback-ready .rhm-next-action-pulse{animation:none;}
  .rhm-feedback-ready .rhm-action-confirmed::after{animation:none;}
  .rhm-action-toast{transition:none;}
}
