/* IN1 modern WordPress page-password screen */
.in1-password-screen,
.in1-password-screen * { box-sizing: border-box; }

.in1-password-screen {
    --in1-ink: #17233b;
    --in1-muted: #68758b;
    --in1-primary: #315efb;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 430px;
    margin: 32px auto;
    padding: 44px 20px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 12% 15%, rgba(99, 130, 255, .17), transparent 35%),
        radial-gradient(ellipse at 88% 85%, rgba(32, 190, 180, .13), transparent 32%),
        linear-gradient(135deg, #f5f7ff 0%, #eef3ff 48%, #f5fbff 100%);
    font-family: inherit;
}

.in1-password-card {
    width: 100%;
    max-width: 460px;
    padding: 42px 40px 32px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 24px 70px rgba(37, 57, 105, .13), 0 3px 10px rgba(37,57,105,.04);
    text-align: center;
}

.in1-password-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 19px;
    color: #fff;
    background: linear-gradient(145deg, #4778ff, #3152e8);
    box-shadow: 0 10px 24px rgba(49,94,251,.25);
}

.in1-password-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.in1-password-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #5272db;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.in1-password-title {
    margin: 0 0 10px !important;
    color: var(--in1-ink);
    font-size: clamp(23px, 3vw, 29px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -.7px;
}

.in1-password-description {
    max-width: 330px;
    margin: 0 auto 27px !important;
    color: var(--in1-muted);
    font-size: 14px;
    line-height: 1.65;
}

.in1-password-form { margin: 0; text-align: left; }
.in1-password-form label {
    display: block;
    margin: 0 0 9px;
    color: #34415a;
    font-size: 13px;
    font-weight: 700;
}

.in1-password-input-wrap { position: relative; }
.in1-password-input {
    display: block;
    width: 100% !important;
    height: 54px !important;
    margin: 0 !important;
    padding: 0 54px 0 16px !important;
    border: 1px solid #dce3f0 !important;
    border-radius: 12px !important;
    outline: none;
    background: #fbfcff !important;
    color: var(--in1-ink) !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.in1-password-input::placeholder { color: #a0aabd; opacity: 1; }
.in1-password-input:focus {
    border-color: #6686ff !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(49,94,251,.11) !important;
}

.in1-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #7b879b;
    cursor: pointer;
}
.in1-password-toggle:hover { background: #eef2ff; color: #315efb; }
.in1-password-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.in1-password-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    margin: 18px 0 0;
    padding: 0 20px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(100deg, #315efb, #5278ff);
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(49,94,251,.22);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.in1-password-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 13px 25px rgba(49,94,251,.28);
}
.in1-password-submit:focus-visible,
.in1-password-toggle:focus-visible {
    outline: 3px solid rgba(49,94,251,.3);
    outline-offset: 3px;
}
.in1-password-submit svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.in1-password-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 25px;
    color: #8994a7;
    font-size: 11px;
    font-weight: 600;
}
.in1-password-secure-note svg { width: 15px; height: 15px; fill: none; stroke: #42a58a; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 600px) {
    .in1-password-screen { min-height: 0; margin: 20px auto; padding: 24px 13px; border-radius: 16px; }
    .in1-password-card { padding: 32px 22px 26px; border-radius: 18px; }
    .in1-password-icon { width: 58px; height: 58px; border-radius: 17px; }
    .in1-password-title { font-size: 24px; }
}

/* Floating live-chat-style page password logout launcher */
.in1-page-password-logout-wrap {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
.in1-page-password-logout-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444 0%, #c81e3a 100%);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .1px;
    box-shadow: 0 10px 28px rgba(190, 24, 48, .32), 0 3px 8px rgba(15, 23, 42, .12);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    pointer-events: auto;
    animation: in1-logout-float 3.2s ease-in-out infinite;
}
.in1-page-password-logout-button::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(220, 38, 38, .22);
    border-radius: inherit;
    pointer-events: none;
    animation: in1-logout-pulse 2.4s ease-out infinite;
}
.in1-page-password-logout-button:hover {
    color: #fff !important;
    filter: brightness(1.06);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(190, 24, 48, .38), 0 5px 12px rgba(15, 23, 42, .14);
}
.in1-page-password-logout-button:focus-visible {
    outline: 3px solid rgba(220, 38, 38, .32);
    outline-offset: 5px;
}
.in1-page-password-logout-button .in1-logout-icon {
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.in1-page-password-logout-button span { display: inline-block; }
.in1-page-password-logout-button.is-logging-out {
    opacity: .72;
    pointer-events: none;
    animation: none;
}
@keyframes in1-logout-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes in1-logout-pulse {
    0% { opacity: .7; transform: scale(.98); }
    75%, 100% { opacity: 0; transform: scale(1.12); }
}
@media (max-width: 600px) {
    .in1-page-password-logout-wrap { right: 16px; bottom: 16px; }
    .in1-page-password-logout-button { min-width: 120px; min-height: 50px; padding: 0 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .in1-page-password-logout-button,
    .in1-page-password-logout-button::after { animation: none !important; transition: none !important; }
}
