/* Passkey sign-in banner (login page). Shown first, above the email/password
   forms, only on WebAuthn-capable devices (passkey-login.js toggles [hidden]). */
.passkey-banner {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    margin: 0 0 1.4rem;
    border: 1px solid #bfe3ff;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf6ff 0%, #f5fbff 100%);
    box-shadow: 0 6px 18px rgba(43, 168, 255, 0.12);
}
.passkey-banner__lead {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.passkey-banner__icon {
    flex: 0 0 auto;
    font-size: 1.6rem;
    color: #2ba8ff;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(43, 168, 255, 0.25);
}
.passkey-banner__copy { display: flex; flex-direction: column; line-height: 1.4; }
.passkey-banner__copy strong { font-size: 0.98rem; color: #0b3b5e; }
.passkey-banner__copy span { font-size: 0.82rem; color: #4a6b82; }

/* Style the package's <x-authenticate-passkey> click target as a primary button.
   Its markup is a clickable element with onclick="authenticateWithPasskey()". */
.passkey-banner__action [id="passkey-login-form"],
.passkey-banner__action form { margin: 0; }
.passkey-banner__action [onclick*="authenticateWithPasskey"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #2ba8ff;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: background 0.15s ease;
}
.passkey-banner__action [onclick*="authenticateWithPasskey"]:hover { background: #1f92e6; }
