.quiqqer-webauthn-auth-settings,
.quiqqer-webauthn-settings {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 620px;
    padding: 28px 30px 34px;
    width: 100%;
}

.quiqqer-webauthn-auth-settings *,
.quiqqer-webauthn-auth-settings *:before,
.quiqqer-webauthn-auth-settings *:after,
.quiqqer-webauthn-settings *,
.quiqqer-webauthn-settings *:before,
.quiqqer-webauthn-settings *:after {
    box-sizing: border-box;
}

.quiqqer-webauthn-settings-header {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto 32px;
    max-width: 430px;
    text-align: center;
}

.quiqqer-webauthn-settings-icon {
    align-items: center;
    background: #eef1f4;
    border-radius: 50%;
    color: #606c76;
    display: flex;
    font-size: 42px;
    height: 96px;
    justify-content: center;
    margin: 0 auto 18px;
    width: 96px;
}

.quiqqer-webauthn-settings-header h1 {
    color: #222;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 8px;
}

.quiqqer-webauthn-settings-header p {
    color: #606c76;
    line-height: 1.5;
    margin: 0;
}

.quiqqer-webauthn-settings-form {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    margin: 0 auto 22px;
    max-width: 390px;
}

.quiqqer-webauthn-settings-field {
    display: block;
    min-width: 0;
}

.quiqqer-webauthn-settings-field span {
    color: #3b4650;
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
}

.quiqqer-webauthn-settings-field input {
    display: block;
    width: 100%;
}

.quiqqer-webauthn-auth-settings button,
.quiqqer-webauthn-settings button {
    align-items: center;
    display: inline-flex;
    gap: 0.55rem;
    justify-content: center;
    white-space: nowrap;
}

.quiqqer-webauthn-settings-form button {
    width: 100%;
}

.quiqqer-webauthn-auth-settings button .fa,
.quiqqer-webauthn-settings button .fa {
    margin: 0;
}

.quiqqer-webauthn-settings-message {
    margin: 0 auto 30px;
    max-width: 420px;
}

.quiqqer-webauthn-settings-message:empty {
    display: none;
}

.quiqqer-webauthn-settings-message-entry {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 250ms ease, transform 250ms ease;
}

.quiqqer-webauthn-settings-message-entry.is-visible {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 20px;
}

.quiqqer-webauthn-settings-list {
    border-top: 1px solid #e4e8ec;
    margin-top: 40px;
    padding-top: 28px;
}

.quiqqer-webauthn-settings-message:not(:empty) + .quiqqer-webauthn-settings-list {
    margin-top: 0;
}

.quiqqer-webauthn-settings-list h2 {
    color: #222;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 18px;
}

.quiqqer-webauthn-credentials {
    overflow-x: auto;
}

.quiqqer-webauthn-credentials-table {
    background: #fff;
    border: 1px solid #dfe4e8;
    border-radius: 6px;
    border-spacing: 0;
    font-size: 13px;
    overflow: hidden;
    width: 100%;
}

.quiqqer-webauthn-credentials-table th,
.quiqqer-webauthn-credentials-table td {
    border-bottom: 1px solid #edf0f2;
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
}

.quiqqer-webauthn-credentials-table th {
    background: #f6f8fa;
    color: #3b4650;
    font-size: 12px;
    font-weight: 600;
    text-transform: none;
}

.quiqqer-webauthn-credentials-table td:last-child,
.quiqqer-webauthn-credentials-table th:last-child {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}

.quiqqer-webauthn-credentials-table td:nth-child(2),
.quiqqer-webauthn-credentials-table th:nth-child(2) {
    color: #697783;
    width: 170px;
}

.quiqqer-webauthn-credentials-table tbody tr:last-child td {
    border-bottom: 0;
}

.quiqqer-webauthn-credential strong {
    color: #222;
    display: block;
    line-height: 1.3;
}

.quiqqer-webauthn-credential [name="delete-passkey"] {
    padding: 6px 10px;
}

.quiqqer-webauthn-settings-empty {
    background: #f6f8fa;
    border: 1px dashed #cfd7de;
    border-radius: 6px;
    color: #697783;
    padding: 18px;
    text-align: center;
}

@media (max-width: 560px) {
    .quiqqer-webauthn-auth-settings,
    .quiqqer-webauthn-settings {
        padding: 22px 18px 26px;
    }

    .quiqqer-webauthn-settings-icon {
        font-size: 34px;
        height: 78px;
        width: 78px;
    }

    .quiqqer-webauthn-settings-header h1 {
        font-size: 24px;
    }

    .quiqqer-webauthn-credentials-table {
        min-width: 520px;
    }
}
