/* Shared by every Identity Razor Page; the operational shell uses the same theme tokens. */
.chef-identity {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 15% 0%, var(--chef-soft), transparent 55%), var(--chef-bg);
}
.identity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 26px 38px;
}
.identity-brand { display: flex; gap: 12px; align-items: center; color: var(--chef-ink); }
.identity-brand:hover { text-decoration: none; }
.identity-brand strong { display: block; font-size: 19px; letter-spacing: -.5px; }
.identity-brand small { display: block; font-size: 9px; font-weight: 650; letter-spacing: 1.2px; margin-top: 3px; color: var(--chef-muted); }
.identity-theme { background: var(--chef-panel); }
.identity-theme button { width: 42px; height: 42px; min-height: 42px; padding: 0; font-size: 18px; }
.identity-main { flex: 1; display: grid; place-items: center; padding: 32px 20px 54px; }
.identity-card { width: min(100%, 480px); overflow: hidden; border: 1px solid var(--chef-line); border-radius: 22px; background: var(--chef-panel); box-shadow: 0 22px 65px rgb(15 35 31 / 7%); }
.identity-hero { padding: 34px 34px 28px; background: linear-gradient(140deg, var(--chef-soft), var(--chef-panel)); border-bottom: 1px solid var(--chef-line); }
.identity-eyebrow { font-size: 9px; letter-spacing: 1.6px; font-weight: 750; color: var(--chef-accent); }
.identity-hero h1 { font-size: 30px; font-weight: 750; letter-spacing: -1px; line-height: 1.2; margin: 12px 0 10px; }
.identity-hero p { color: var(--chef-muted); line-height: 1.65; margin: 0; font-size: 13px; }
.identity-body { padding: 28px 34px 30px; }
.identity-body .form-control { min-height: 47px; font-size: 14px; }
.identity-body .form-label { font-size: 12px; font-weight: 650; }
.identity-body .btn { min-height: 45px; }
.identity-body .form-text, .identity-body .field-validation-error { font-size: 11px; line-height: 1.6; }
.identity-validation.validation-summary-valid { display: none; }
.identity-validation ul { margin: 0; padding-left: 18px; }
.identity-body .input-validation-error { border-color: var(--bs-danger); }
.identity-notice { border-left: 3px solid var(--chef-accent); background: var(--chef-soft); padding: 14px 16px; border-radius: 6px; margin-bottom: 22px; font-size: 12px; line-height: 1.65; }
.identity-notice strong { display: block; margin-bottom: 4px; }
.identity-notice p { margin: 0; }
.identity-footnote { border-top: 1px solid var(--chef-line); padding-top: 20px; margin: 24px 0 0; font-size: 11px; color: var(--chef-muted); line-height: 1.7; }
.identity-back { display: block; margin-top: 20px; text-align: center; font-size: 12px; }
.identity-footer { padding: 18px 20px 24px; text-align: center; color: var(--chef-muted); font-size: 11px; }
.identity-success { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--chef-accent); background: var(--chef-soft); font-size: 23px; margin-bottom: 20px; }
.identity-account-nav { display: flex; gap: 8px; border-bottom: 1px solid var(--chef-line); padding-bottom: 18px; margin-bottom: 24px; }
.identity-account-nav a { flex: 1; text-align: center; padding: 8px; background: var(--chef-soft); border-radius: 6px; font-size: 12px; }
.identity-account-details { display: grid; gap: 14px; font-size: 13px; margin-bottom: 24px; }
.identity-account-details dt { font-weight: 500; color: var(--chef-muted); font-size: 11px; margin-bottom: 4px; }
.identity-account-details dd { margin: 0; overflow-wrap: anywhere; }
.identity-skip:focus { position: fixed; left: 16px; top: 10px; z-index: 10; padding: 12px; background: var(--chef-panel); }
[data-bs-theme=dark] .identity-card { box-shadow: 0 22px 65px rgb(0 0 0 / 18%); }
@media(max-width:575px) {
    .identity-header { padding: 19px 16px; gap: 12px; }
    .identity-brand strong { font-size: 15px; }
    .identity-brand small { font-size: 7px; letter-spacing: .8px; }
    .identity-brand .brand-mark { width: 34px; height: 34px; font-size: 20px; }
    .identity-brand { gap: 9px; }
    .identity-theme button { width: 42px; height: 42px; min-height: 42px; padding: 0; font-size: 18px; }
    .identity-main { padding: 20px 14px 28px; align-items: start; }
    .identity-card { border-radius: 17px; }
    .identity-hero { padding: 26px 23px 23px; }
    .identity-hero h1 { font-size: 27px; }
    .identity-body { padding: 24px 23px; }
    .identity-body .form-control { font-size: 16px; }
    .identity-footer { font-size: 10px; }
}
