.fmcs-passkeys {
    font-size: 16px;
}

.fmcs-passkeys-manage {
    max-width: 56rem;
    margin-inline: auto;
}

.fmcs-passkey-help {
    margin-block: 0 1.5rem;
}

.fmcs-passkey-help summary {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: fit-content;
    max-width: 100%;
    color: #103c56;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    cursor: pointer;
}

.fmcs-passkey-help summary::-webkit-details-marker {
    display: none;
}

.fmcs-passkey-help summary:focus-visible {
    outline: 3px solid #145986;
    outline-offset: 4px;
    border-radius: 8px;
}

.fmcs-passkey-help-icon {
    display: grid;
    flex: 0 0 44px;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #145986;
    color: #fff;
    font: 700 28px/1 Georgia, serif;
}

.fmcs-passkey-help[open] .fmcs-passkey-help-icon,
.fmcs-passkey-help summary:hover .fmcs-passkey-help-icon {
    background: #0d466b;
}

.fmcs-passkey-help-text {
    margin-block: .75rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #c5dde8;
    border-radius: 12px;
    background: #f4f8fa;
}

.fmcs-passkey-help-text > :last-child {
    margin-bottom: 0;
}

.fmcs-passkeys .wwa-login-form {
    max-width: none;
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #d5e4e7;
    border-radius: 12px;
    background: #f4f8f8;
}

.fmcs-passkeys .wwa-login-form label {
    font: inherit;
}

.fmcs-passkeys .wwa-login-form input[type="text"],
.fmcs-passkeys .wwa-authenticator-name,
.fmcs-passkeys .wwa-authenticator-type {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 28rem;
    min-height: 44px;
    margin: 0 0 .5rem;
    font: inherit;
}

.fmcs-passkeys .wp-webauthn-notice {
    height: auto !important;
    min-height: 0;
    padding: 0;
    margin-block: .5rem .75rem;
    text-align: left;
    font: inherit;
    color: #13425a;
}

.fmcs-passkeys .wwa-login-submit-p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem 1rem;
}

.fmcs-passkeys .wwa-form-left:empty {
    display: none;
}

.fmcs-passkeys input.wwa-login-submit,
.fmcs-passkeys button.wwa-bind-submit,
.fmcs-passkeys button.wwa-test-submit,
.fmcs-passkeys button.wwa-test-usernameless-submit {
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #145986;
    border-radius: 8px;
    background: #145986;
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
    cursor: pointer;
}

.fmcs-passkeys input.wwa-login-submit:hover:not(:disabled),
.fmcs-passkeys button:hover:not(:disabled) {
    background: #0d466b;
    color: #fff;
}

.fmcs-passkeys :is(button, input, select, a):focus-visible {
    outline: 3px solid #145986;
    outline-offset: 3px;
}

.fmcs-passkeys :is(button, input):disabled {
    opacity: .65;
    cursor: wait;
}

.fmcs-passkeys .wwa-table-container {
    overflow-x: auto;
}

.fmcs-passkeys .wwa-failed,
.fmcs-passkeys .failed {
    color: #a52626;
}

.fmcs-passkeys .wwa-success,
.fmcs-passkeys .success {
    color: #066146;
}

.fmcs-login .fmcs-passkey-remember[hidden] {
    display: none;
}

.fmcs-login .fmcs-passkey-remember {
    display: block;
    margin: .5rem 0;
    line-height: 1.5;
}
