/* Shared account invitation and merchant-role surfaces. */
.identity-dialog { box-sizing: border-box; width: min(560px, calc(100vw - 32px)); color: #17212e; font: 14px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 20px 80px #17212e33; }
.identity-dialog::backdrop { background: #14203355; }
.identity-dialog h2 { margin: 0 0 20px; font-size: 22px; }
.identity-dialog label { display: flex; flex-direction: column; gap: 7px; margin: 14px 0; font-weight: 500; }
.identity-dialog input:not([type=checkbox]), .identity-dialog select { box-sizing: border-box; width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #cdd4dc; border-radius: 8px; font: inherit; }
.identity-dialog label:has(input[type=checkbox]) { display: flex !important; flex-direction: row; align-items: center; gap: 10px; margin: 8px 0; }
.identity-dialog fieldset { margin: 20px 0; padding: 12px 16px; border: 1px solid #dce1e7; border-radius: 10px; max-height: 240px; overflow: auto; }
.identity-dialog button, .identity-roles button { font: inherit; padding: 9px 15px; margin: 6px 8px 0 0; border: 1px solid #d1d8df; border-radius: 8px; background: white; color: #17212e; cursor: pointer; }
.identity-dialog button[type=submit] { background: #162638; color: white; border-color: #162638; }
.identity-dialog button:disabled { cursor: not-allowed; opacity: .45; }
.identity-dialog a { display: inline-block; margin: 8px 16px 8px 0; color: #b96e06; }
.identity-dialog [role=alert] { color: #b42318; }
.identity-roles { padding: 24px; margin-top: 24px; }
.identity-roles p { padding: 8px 0; }
body[data-living-page="invitation-acceptance"] { background: #f4f6f8; }
body[data-living-page="invitation-acceptance"] .main-wrapper { max-width: 660px; margin: 8vh auto; padding: 20px; }
#acceptInvitationForm > label { display: block; font-weight: 500; }
#invitedEmail { display: block; box-sizing: border-box; width: 100%; margin-top: 8px; background: #f5f7f9; }
#acceptInvitationForm > p { margin: 24px 0; }
