.pex-password-protected,
.pex-pp__content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}


.pex-pp__gate {
    background-color: #f7f0c0;
    border: 2px solid #1b2a4a;
    padding: 32px 40px;
    text-align: center;
}

.pex-pp__message {
    color: #1b2a4a;
    font-size: 1.375rem;
    line-height: 1.5;
    margin: 0 0 24px;
}

.pex-pp__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.pex-pp__input {
    width: 100%;
    max-width: 560px;
    padding: 14px 18px;
    border: 2px solid #1b2a4a;
    background-color: #fff;
    color: #1b2a4a;
    font-size: 1.125rem;
}

.pex-pp__input:focus {
    outline: none;
    border-color: #3a8dde;
}

.pex-pp__submit {
    background: transparent;
    border: 2px solid #3a8dde;
    color: #3a8dde;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 56px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pex-pp__submit:hover,
.pex-pp__submit:focus {
    background-color: #3a8dde;
    color: #fff;
}

.pex-pp__error {
    color: #c0392b;
    font-size: 0.9375rem;
    margin: -8px 0 0;
}

.pex-pp__loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
}

.pex-pp__spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(27, 42, 74, 0.2);
    border-top-color: #1b2a4a;
    border-radius: 50%;
    animation: pex-pp-spin 0.8s linear infinite;
}

.pex-pp__loader-text {
    color: #1b2a4a;
    font-size: 1rem;
}

@keyframes pex-pp-spin {
    to {
        transform: rotate(360deg);
    }
}

.pex-password-protected [hidden] {
    /* theme's Tailwind reset strips the native [hidden] display rule */
    display: none !important;
}

/*
 * The theme wraps content in a scroll-reveal ".anima-bottom" class (see
 * _animationPage.scss) that only reaches opacity:1 after its own JS toggles
 * a "set-animation" class in response to a real scroll/resize. On a gated
 * page (other .module elements hidden by this shortcode) there may be
 * nothing for the visitor to scroll, so it can stay invisible forever. The
 * password gate is a functional control, not decorative content — force it
 * visible unconditionally rather than depending on that animation firing.
 */
.anima-bottom:has(.pex-password-protected),
.anima-left:has(.pex-password-protected),
.anima-right:has(.pex-password-protected),
.anima-top:has(.pex-password-protected),
.anima-opacity:has(.pex-password-protected) {
    opacity: 1 !important;
    transform: none !important;
}
