/* Honeypot: off-screen so people never see it; bots that fill every input trip it. */
.pv-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*
 * Human-verify widget — multi-step spinner / scan / check so the step reads as
 * deliberate security, branded with each portal's company icon.
 */
.ui-update .pvVerify {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 78px;
    border: 1px solid #D6D6D6;
    border-radius: 4px;
    background: #F7F7F7;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ui-update .pvVerify::before {
    content: "";
    position: absolute;
    left: -40%;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(119, 163, 49, 0.12), transparent);
    opacity: 0;
    pointer-events: none;
}

.ui-update .pvVerify.pvVerify_checking::before {
    opacity: 1;
    animation: pvVerify-scan 1.1s ease-in-out infinite;
}

.ui-update .pvVerify.pvVerify_checking {
    border-color: #A8A8A8;
    background: #EEEEEE;
}

.ui-update .pvVerify.pvVerify_verified {
    border-color: #77A331;
    background: #F1F8E9;
    box-shadow: inset 3px 0 0 #77A331;
}

.ui-update .pvVerify-hit {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    min-width: 0;
}

.ui-update .pvVerify-hit:focus {
    outline: none;
}

.ui-update .pvVerify-hit:focus-visible {
    outline: 2px solid #77A331;
    outline-offset: -2px;
}

.ui-update .pvVerify-hit:disabled {
    cursor: wait;
}

.ui-update .pvVerify-box {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 2px solid #888888;
    border-radius: 3px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.ui-update .pvVerify_checking .pvVerify-box,
.ui-update .pvVerify_verified .pvVerify-box {
    border-color: #77A331;
}

.ui-update .pvVerify_checking .pvVerify-box {
    animation: pvVerify-boxPulse 0.9s ease-in-out infinite;
}

.ui-update .pvVerify_verified .pvVerify-box {
    background: #77A331;
}

.ui-update .pvVerify-spinner {
    position: absolute;
    inset: 4px;
    border: 2px solid transparent;
    border-top-color: #77A331;
    border-right-color: #77A331;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

.ui-update .pvVerify_checking .pvVerify-spinner {
    opacity: 1;
    transform: scale(1);
    animation: pvVerify-spin 0.65s linear infinite;
}

.ui-update .pvVerify-check {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 10px;
    margin: -6px 0 0 -7px;
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
}

.ui-update .pvVerify_verified .pvVerify-check {
    opacity: 1;
    transform: scale(1);
    animation: pvVerify-pop 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.35) both;
}

.ui-update .pvVerify-check path {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
}

.ui-update .pvVerify_verified .pvVerify-check path {
    animation: pvVerify-draw 0.4s ease 0.05s forwards;
}

.ui-update .pvVerify-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ui-update .pvVerify-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: #212224;
}

.ui-update .pvVerify_checking .pvVerify-title {
    color: #3C3C3C;
}

.ui-update .pvVerify_verified .pvVerify-title {
    color: #558B2F;
}

.ui-update .pvVerify-hint {
    font-size: 12px;
    line-height: 1.3;
    color: #888888;
}

.ui-update .pvVerify_verified .pvVerify-hint {
    color: #558B2F;
}

.ui-update .pvVerify-progress {
    display: block;
    height: 2px;
    width: 0;
    margin-top: 4px;
    border-radius: 1px;
    background: #77A331;
    opacity: 0;
}

.ui-update .pvVerify_checking .pvVerify-progress {
    opacity: 1;
    animation: pvVerify-progress 1.55s ease-in-out forwards;
}

/* Half-width on desktop when the widget sits outside a half-column layout. */
.ui-update .pvVerify-wrap {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .ui-update .pvVerify-wrap.pvVerify-wrap_half {
        width: 50%;
        max-width: 50%;
    }
}

.ui-update .pvVerify-aside {
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    border-left: 1px solid #E1E1E1;
    background: #fff;
}

.ui-update .pvVerify_verified .pvVerify-aside {
    border-left-color: #C5E1A5;
}

.ui-update .pvVerify-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: grayscale(0.15);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.ui-update .pvVerify_checking .pvVerify-logo {
    animation: pvVerify-logoPulse 1s ease-in-out infinite;
}

.ui-update .pvVerify_verified .pvVerify-logo {
    filter: none;
    animation: pvVerify-logoSettle 0.5s ease both;
}

.ui-update .pvVerify-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.ui-update .pvVerify.pvVerify_attention {
    animation: pvVerify-shake 0.4s ease;
    border-color: #C62828;
}

@keyframes pvVerify-spin {
    to { transform: rotate(360deg); }
}

@keyframes pvVerify-draw {
    to { stroke-dashoffset: 0; }
}

@keyframes pvVerify-pop {
    0% { opacity: 0; transform: scale(0.4); }
    70% { opacity: 1; transform: scale(1.14); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pvVerify-scan {
    0% { left: -40%; }
    100% { left: 110%; }
}

@keyframes pvVerify-boxPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes pvVerify-progress {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes pvVerify-logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes pvVerify-logoSettle {
    0% { transform: scale(0.85); opacity: 0.55; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pvVerify-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: reduce) {
    .ui-update .pvVerify::before,
    .ui-update .pvVerify-spinner,
    .ui-update .pvVerify-check,
    .ui-update .pvVerify-check path,
    .ui-update .pvVerify-box,
    .ui-update .pvVerify-logo,
    .ui-update .pvVerify-progress,
    .ui-update .pvVerify.pvVerify_attention {
        animation: none !important;
    }

    .ui-update .pvVerify_checking .pvVerify-spinner {
        opacity: 1;
        transform: none;
    }

    .ui-update .pvVerify_verified .pvVerify-check {
        opacity: 1;
        transform: none;
    }

    .ui-update .pvVerify_verified .pvVerify-check path {
        stroke-dashoffset: 0;
    }

    .ui-update .pvVerify_checking .pvVerify-progress {
        width: 100%;
        opacity: 1;
    }
}
