.page-id-4083 .joinchat {
  display: none !important;
}
footer#site-footer.site-footer {
  padding-block-start: 0 !important;
  padding-block-end: 0 !important;
}

/* CENTRADO VERTICAL REAL */
body.post-password-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #0f0f10;
}

/* TARJETA CONTENEDORA */
.post-password-form {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 32px;
  text-align: center;
  font-family: 'Poppins', sans-serif !important;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

/* RESET DURO DE TIPOGRAFÍA (anula al tema) */
.post-password-form,
.post-password-form * {
  font-family: 'Poppins', sans-serif !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0 !important;
  filter: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* LOGO VIDEOTRAINING.AI ARRIBA */
.post-password-form::before {
  content: '';
  display: block;
  width: 100%;
  height: 36px;
  margin-bottom: 26px;
  background-image: url('https://videotraining.ai/wp-content/uploads/2025/08/LOGO-SOLO.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* RITMO VERTICAL ENTRE BLOQUES */
.post-password-form p {
  margin: 0 0 22px !important;
}
.post-password-form p:last-child {
  margin-bottom: 0 !important;
}

/* TEXTO PRINCIPAL */
.post-password-form p {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  color: #a9a9a9 !important;
}

/* LABEL */
.post-password-form label {
  display: block !important;
  margin-bottom: 22px !important;
  font-size: 11px !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  color: #a9a9a9 !important;
  font-weight: 600 !important;
}

/* INPUT (aplica tanto en estado oculto como visible) */
.post-password-form input[type="password"],
.post-password-form input[type="text"] {
  height: 48px !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: #0f0f10 !important;
  color: #fff !important;
  font-size: 14px !important;
  outline: none !important;
  width: 100%;
  max-width: 220px;
}
.post-password-form input[type="password"]:focus,
.post-password-form input[type="text"]:focus {
  border-color: #e10000 !important;
  box-shadow: 0 0 0 3px rgba(225,0,0,.18) !important;
}

/* BOTÓN */
.post-password-form input[type="submit"] {
  height: 48px !important;
  padding: 0 22px !important;
  box-sizing: border-box !important;
  background: #e10000 !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  transition: .2s ease;
  margin-left: 10px !important;
}

/* ALINEACIÓN VERTICAL DE LA FILA INPUT + BOTÓN */
.post-password-form input[type="password"],
.post-password-form input[type="text"],
.post-password-form input[type="submit"] {
  vertical-align: middle !important;
  display: inline-flex !important;
  align-items: center !important;
}

@media (hover:hover) {
  .post-password-form input[type="submit"]:hover {
    transform: scale(1.05);
    filter: none !important;
  }
}

/* MOBILE */
@media (max-width:600px){
  .post-password-form {
    padding: 32px 22px;
    margin: 0 16px;
  }
  .post-password-form input[type="password"],
  .post-password-form input[type="text"] {
    width: 100%;
    max-width: none;
    display: block !important;
    margin-bottom: 12px !important;
  }
  .post-password-form input[type="submit"] {
    width: 100%;
    margin-left: 0 !important;
  }
}

/* Punto de notificación rojo sobre el botón de WhatsApp */
.joinchat__button {
  position: relative !important;
  overflow: visible !important;
}
.joinchat__button::after {
  content: '' !important;
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  width: 13px !important;
  height: 13px !important;
  background: #e10000 !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  display: block !important;
  z-index: 1 !important;
  animation: joinchat-badge-pulse 2s ease-in-out infinite !important;
}
@keyframes joinchat-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* FORZAR FILA CENTRADA: INPUT + BOTÓN (basado en .acd-pw-wrap, que no cambia al togglear) */
.post-password-form p:has(.acd-pw-wrap),
.post-password-form label:has(.acd-pw-wrap) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap;
}

/* OJITO MOSTRAR/OCULTAR CONTRASEÑA */
.acd-pw-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}
.acd-pw-wrap input[type="password"],
.acd-pw-wrap input[type="text"] {
  padding-right: 44px !important;
}
.acd-pw-toggle {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 22px !important;
  height: 22px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.acd-pw-toggle svg {
  width: 18px !important;
  height: 18px !important;
}
.acd-pw-toggle svg path {
  fill: #a9a9a9;
  transition: .2s fill;
}
.acd-pw-toggle:hover svg path {
  fill: #fff;
}

body.parent-pageid-5693 .joinchat {
  display: none !important;
}

.page-id-3716 .joinchat {
  display: none !important;
}

.page-id-5693 .joinchat {
  display: none !important;
}