/* Widget de acessibilidade premium (mesmo modelo da home/detalhe de vaga).
   Extraído de vagas/detalhe.css para reuso na busca de vagas.
   Oculta o widget legado (plugin_pcd) mantendo os controles no DOM — o painel
   novo delega a eles via jQuery trigger. */

/* Oculta widgets legados sem causar scroll lateral:
   .acessibilidade-wp já é position:fixed, então right:-300px some sem expandir doc */
.acessibilidade-wp {
  right: -300px !important;
  pointer-events: none !important;
}
.acessibilidade-wp:hover {
  right: -300px !important;
}
/* VLibras mantido nesta página (decisão do Claudio, 2026-07-01) — só o widget
   legado plugin_pcd é ocultado; o VLibras (Libras/sinais) continua visível. */

/* === Botão de acessibilidade — modelo da home (aba lateral expansível) === */
.pcd-access-btn {
  width: 56px;
  height: 56px;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% - 72px));
  border-radius: 14px 0 0 14px;
  z-index: 9999;
  overflow: hidden;
  background: linear-gradient(145deg, #1db384, #179970);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0 0 0 16px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: -3px 3px 18px rgba(23,153,112,.5), -1px 0 6px rgba(0,0,0,.12);
  transition: width .38s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}
.pcd-access-btn:hover {
  width: 182px;
  box-shadow: -5px 5px 28px rgba(23,153,112,.7), -2px 0 10px rgba(0,0,0,.15);
}
.pcd-access-btn i,
.pcd-access-btn svg { color: #fff !important; fill: #fff !important; font-size: 1.5rem; width: 1.5rem; height: 1.5rem; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.pcd-access-label {
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity .22s ease .14s, transform .28s ease .14s;
}
.pcd-access-btn:hover .pcd-access-label { opacity: 1; transform: translateX(0); }

/* widget de acessibilidade legado (plugin_pcd) fica oculto nesta página —
   o botão acima já cobre a função; mantido no DOM pois o painel delega a ele */
.acessibilidade-wp { display: none !important; }

/* === Painel deslizante de acessibilidade — premium === */
.pcd-access-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: #f4f7fa;
  z-index: 10000;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  transition: right .3s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.pcd-access-panel.open { right: 0; }

.pcd-access-panel__header {
  background: linear-gradient(135deg, #179970 0%, #107a58 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.pcd-access-panel__header-title {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.pcd-access-panel__header-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcd-access-panel__header-icon i { font-size: .95rem; }

.pcd-access-panel__close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  padding: 0;
}
.pcd-access-panel__close:hover { background: rgba(255,255,255,.3); }

.pcd-access-panel__subtitle {
  padding: .75rem 1.25rem .35rem;
  font-size: .7rem;
  font-weight: 700;
  color: #8a9ab0;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pcd-access-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: .5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pcd-access-panel__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  font-size: .95rem;
  border: none;
  background: #fff;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: transform .15s ease, box-shadow .15s ease;
  color: #2f3a43;
  font-weight: 500;
}
.pcd-access-panel__item:hover {
  transform: translateX(-3px);
  box-shadow: 0 4px 14px rgba(17,127,169,.2);
}

.pcd-access-panel__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcd-access-panel__icon--blue   { background: linear-gradient(135deg,#179970,#107a58); }
.pcd-access-panel__icon--dark   { background: linear-gradient(135deg,#2f3a43,#1a2229); }
.pcd-access-panel__icon--white  { background: #fff; border: 2px solid #dee2e6; }
.pcd-access-panel__icon--orange { background: linear-gradient(135deg,#f5832a,#d96a1a); }
.pcd-access-panel__icon i       { font-size: 1rem; }
.pcd-access-panel__icon--blue i,
.pcd-access-panel__icon--dark i,
.pcd-access-panel__icon--orange i { color: #fff; }
.pcd-access-panel__icon--white i  { color: #2f3a43; }

.pcd-access-panel__item-text { line-height: 1.2; }
.pcd-access-panel__item-text small {
  display: block;
  font-size: .75rem;
  color: #8a9ab0;
  font-weight: 400;
  margin-top: .1rem;
}

/* Overlay escuro ao abrir o painel */
.pcd-access-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998;
  backdrop-filter: blur(2px);
}
.pcd-access-overlay.open { display: block; }
