.guard-dog-passkey-login {
    --guard-dog-passkey-login-border: #d0d7de;
    --guard-dog-passkey-login-border-hover: #8c959f;
    --guard-dog-passkey-login-bg: #ffffff;
    --guard-dog-passkey-login-bg-hover: #f6f8fa;
    --guard-dog-passkey-login-text: #1f2328;
    --guard-dog-passkey-login-muted: #59636e;
    margin: 0 0 16px;
    max-width: var(--guard-dog-passkey-login-max-width, 34rem);
}

.guard-dog-login-form .guard-dog-passkey-login {
    margin: 0;
    max-width: none;
}

.guard-dog-passkey-login__button {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--guard-dog-passkey-login-border);
    border-radius: 999px;
    background: var(--guard-dog-passkey-login-bg);
    color: var(--guard-dog-passkey-login-text);
    box-sizing: border-box;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.guard-dog-passkey-login__button:disabled {
    cursor: progress;
    opacity: 0.72;
}

.guard-dog-passkey-login__button:hover,
.guard-dog-passkey-login__button:focus {
    border-color: var(--guard-dog-passkey-login-border-hover);
    background: var(--guard-dog-passkey-login-bg-hover);
    color: var(--guard-dog-passkey-login-text);
}

.guard-dog-passkey-login__button:disabled:hover,
.guard-dog-passkey-login__button:disabled:focus {
    border-color: var(--guard-dog-passkey-login-border);
    background: var(--guard-dog-passkey-login-bg);
}

.guard-dog-passkey-login__button:focus {
    outline: 2px solid rgba(15, 108, 189, 0.22);
    outline-offset: 2px;
}

.guard-dog-passkey-login__button .dashicons {
    width: 1.1rem;
    height: 1.1rem;
    font-size: 1.1rem;
    line-height: 1;
}

.guard-dog-passkey-login__status {
    margin: 0.6rem 0 0;
    color: var(--guard-dog-passkey-login-muted);
    font-size: 0.9rem;
}

.guard-dog-passkey-login__status.is-success {
    color: #00a32a;
}

.guard-dog-passkey-login__status.is-error {
    color: #d63638;
}

body.guard-dog-passkey-setup-screen #login {
    width: min(92vw, 420px);
    padding-top: clamp(48px, 9vh, 92px);
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt {
    max-width: 420px;
    margin: 0 auto;
    padding: 30px 32px 24px;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__header {
    padding: 0;
    text-align: center;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #eef6ff;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__icon .dashicons {
    width: 26px;
    height: 26px;
    color: #2271b1;
    font-size: 26px;
    line-height: 1;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt h2 {
    margin: 0 0 10px;
    color: #1d2327;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt .description {
    margin: 0;
    color: #50575e;
    font-size: 13px;
    line-height: 1.5;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__form {
    display: block;
    padding: 22px 0 0;
    clear: both;
    box-sizing: border-box;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__label {
    display: block;
    margin: 0 0 8px;
    color: #1d2327;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt input.guard-dog-passkey-setup-prompt__input {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 46px;
    height: auto;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid #8c8f94;
    border-radius: 6px;
    box-sizing: border-box;
    background: #fff;
    color: #1d2327;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt input.guard-dog-passkey-setup-prompt__input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: 2px solid transparent;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt button.guard-dog-passkey-setup-prompt__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    float: none;
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #3858e9;
    border-radius: 6px;
    box-sizing: border-box;
    background: #3858e9;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    text-shadow: none;
    transition: background-color 120ms ease, border-color 120ms ease;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt button.guard-dog-passkey-setup-prompt__submit:hover,
body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt button.guard-dog-passkey-setup-prompt__submit:focus {
    border-color: #2145e0;
    background: #2145e0;
    color: #fff;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__status {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.45;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__status[hidden] {
    display: none !important;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__status.is-pending {
    background: #f0f6fc;
    color: #135e96;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__status.is-success {
    background: #edfaef;
    color: #008a20;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__status.is-error {
    background: #fcf0f1;
    color: #b32d2e;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__actions {
    clear: both;
    margin: 0;
    padding: 18px 0 0;
    text-align: center;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__skip {
    color: #50575e;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__skip:hover,
body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt__skip:focus {
    color: #135e96;
    text-decoration: underline;
}

@media (max-width: 480px) {
    body.guard-dog-passkey-setup-screen #login .guard-dog-passkey-setup-prompt {
        padding: 26px 22px 22px;
    }
}
