/* Hidefy — self-hosted, no external fonts or UI dependencies */
.hidefy-auth-body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(
        circle at 50% 0%,
        #263a5b 0%,
        #0c1425 42%,
        #080e19 100%
    );
    color: #f8fafc;
    font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
}
.hidefy-auth-body * {
    box-sizing: border-box;
}
.hidefy-auth-card {
    width: min(100%, 490px);
    background: #111c30;
    border: 1px solid #30415b;
    border-radius: 22px;
    box-shadow: 0 25px 90px #0008;
    padding: 38px;
}
.hidefy-auth-mark {
    height: 54px;
    width: 54px;
    border-radius: 15px;
    background: #e73545;
    color: white;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin-bottom: 20px;
}
.hidefy-eyebrow {
    font-size: 11px;
    letter-spacing: 0.17em;
    font-weight: 800;
    color: #fa7180;
}
.hidefy-auth-card h1 {
    font-size: 29px;
    line-height: 1.2;
    margin: 12px 0;
    color: white;
}
.hidefy-auth-sub {
    color: #a9b8cf;
    margin: 0 0 24px;
}
.hidefy-auth-card h2 {
    font-size: 17px;
    margin: 22px 0 12px;
}
.hidefy-auth-card ol {
    padding-left: 23px;
    color: #cbd5e1;
}
.hidefy-auth-card li {
    margin-bottom: 8px;
}
.hidefy-auth-card code {
    color: #fff;
    word-break: break-all;
}
.hidefy-auth-card #hidefy-qr {
    background: #fff;
    padding: 12px;
    border-radius: 14px;
    width: 248px !important;
    min-height: 248px !important;
    display: grid;
    place-items: center;
}
.hidefy-auth-card #hidefy-qr canvas {
    display: block;
}
.hidefy-auth-form {
    margin-top: 24px;
}
.hidefy-auth-form label {
    display: block;
    font-weight: 650;
    margin-bottom: 9px;
}
.hidefy-auth-form input {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #455875;
    border-radius: 10px;
    background: #0b1424;
    color: white;
    font-size: 19px;
    letter-spacing: 0.12em;
    padding: 0 15px;
    margin-bottom: 15px;
}
.hidefy-auth-form input:focus {
    outline: 2px solid #fb5565;
    outline-offset: 1px;
}
.hidefy-auth-form button {
    border: 0;
    border-radius: 10px;
    background: #ef3449;
    color: white;
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
}
.hidefy-auth-form button:hover {
    background: #d91f37;
}
.hidefy-auth-footer {
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #30415b;
    color: #8295b2;
    text-align: center;
    font-size: 12px;
}
.hidefy-auth-card [role="alert"] {
    color: #fecaca;
    background: #601a28;
    border-radius: 8px;
    padding: 10px;
}
.hidefy-pin-screen {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
}
.hidefy-pin-brand {
    font-size: 20px;
    font-weight: 750;
    color: #17263e;
    margin-bottom: 22px;
}
.hidefy-pin-brand .dashicons {
    color: #ed3449;
    font-size: 26px;
    width: 30px;
    height: 30px;
}
.hidefy-pin-card {
    box-sizing: border-box;
    background: white;
    border: 1px solid #dce2ea;
    border-radius: 18px;
    box-shadow: 0 18px 55px #1a29451a;
    padding: 38px;
    width: min(100%, 460px);
}
.hidefy-pin-symbol {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #fff0f1;
    display: grid;
    place-items: center;
    font-size: 23px;
    margin-bottom: 18px;
}
.hidefy-pin-card h2 {
    font-size: 27px;
    line-height: 1.2;
    margin: 10px 0;
}
.hidefy-muted {
    color: #617087;
    line-height: 1.6;
    margin: 0 0 25px;
}
.hidefy-pin-card label {
    font-weight: 650;
    display: block;
    margin: 14px 0 8px;
}
.hidefy-pin-card input {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 10px;
    font-size: 17px;
}
.hidefy-pin-card input:focus {
    border-color: #ed3449;
    box-shadow: 0 0 0 2px #ed34492b;
}
.hidefy-pin-card .hidefy-button {
    margin-top: 18px;
    display: block;
    width: 100%;
    min-height: 44px;
    border-radius: 9px;
    font-weight: 700;
}
.hidefy-pin-card .button-primary {
    background: #ed3449;
    border-color: #ed3449;
}
.hidefy-pin-card .button-primary:hover {
    background: #d51f37;
    border-color: #d51f37;
}
.hidefy-pin-foot {
    text-align: center;
    border-top: 1px solid #edf0f4;
    margin: 25px 0 0;
    padding-top: 18px;
    color: #8793a5;
    font-size: 12px;
}
.hidefy-change {
    border-top: 1px solid #edf0f4;
    margin-top: 24px;
    padding-top: 18px;
}
.hidefy-change summary {
    cursor: pointer;
    color: #42536b;
    font-weight: 600;
}
.hidefy-success {
    background: #ecfdf3;
    border: 1px solid #b9ebce;
    border-radius: 9px;
    color: #166534;
    padding: 12px;
    margin: 12px 0;
}
@media (max-width: 550px) {
    .hidefy-auth-card {
        padding: 26px 21px;
        border-radius: 17px;
    }
    .hidefy-auth-card h1 {
        font-size: 25px;
    }
    .hidefy-pin-card {
        padding: 26px 22px;
    }
}

/* 2FA enrollment and verification footer links */
.hidefy-auth-footer a {
    color: #a8c4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hidefy-auth-footer a:hover,
.hidefy-auth-footer a:focus {
    color: #fff;
}
