/* Advanced Login — public pages (same design as Visibility Center 3.1).
 * Colours come from the active style (panel, bg3, button) so prosilver-based
 * styles keep their palette; only layout and spacing are defined here.
 */
.al-auth { width: 100%; }

/* Hero panel */
.al-hero-panel { border-radius: 8px; margin-bottom: 12px; }
.al-hero-panel .inner { display: flex; align-items: center; gap: 14px; }
.al-hero-panel-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; font-size: 24px; background: rgba(0, 0, 0, 0.06); }
.al-hero-panel-icon .icon { font-size: inherit; }
.al-hero-panel-text { min-width: 0; }
.al-hero-panel .al-hero-panel-title { margin: 0 0 2px; padding: 0; border: 0; font-size: 1.5em; }
.al-hero-panel p { margin: 0; opacity: 0.85; }

/* Login form additions */
.al-login-extra { clear: both; margin: 10px 0 4px; }
.al-login-totp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0; }
.al-login-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.al-login-alt > strong { white-space: nowrap; }

/* Chips (same as Visibility Center discovery filters) */
.al-chips, .al-link-accounts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.al-chips li { margin: 0; }
.al-chips .button, .al-link-accounts .button { border-radius: 99px; padding: 3px 12px; font-weight: normal; }
.al-link-accounts { justify-content: center; margin: 8px 0; }

/* UCP status text */
.al-on { color: #1e7b45; font-weight: bold; }
.al-off { color: #66727e; }

@media (max-width: 700px) {
	.al-hero-panel .inner { align-items: flex-start; }
	.al-hero-panel-icon { width: 40px; height: 40px; font-size: 20px; }
}
.al-mono-input { font-family: Consolas, Menlo, monospace; }
.al-back { margin: 10px 0; }
.al-back .button { border-radius: 99px; padding: 3px 12px; font-weight: normal; }
.al-token-box { padding: 0; }
.al-token-box > .al-token-summary { cursor: pointer; padding: 8px 10px; font-weight: bold; }
.al-token-box[open] > .al-token-summary { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.al-token-box .inner { padding: 5px 10px; }

/* UCP passkeys: list, registration and the device step. Colours come from the style's .button and panels. */
.al-pk .al-pk-heading { display: flex; align-items: center; gap: 6px; margin: 14px 0 8px; padding: 0; border: 0; font-size: 1.15em; text-transform: none; }
.al-pk .inner > .al-pk-heading:first-child { margin-top: 0; }
.al-pk-list { list-style: none; margin: 0; padding: 0; }
.al-pk-item { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 12px; margin: 0 0 8px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.45); }
.al-pk-item-icon, .al-pk-step-icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; font-size: 18px; background: rgba(0, 0, 0, 0.06); }
.al-pk-item-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.al-pk-item-text strong { font-size: 1.1em; overflow-wrap: anywhere; }
.al-pk-meta { opacity: 0.75; font-size: 0.95em; }
.al-pk-empty { font-style: italic; opacity: 0.8; }
.al-pk .button { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.al-pk .button .icon { margin: 0; }
.al-pk-primary { font-weight: bold; padding-left: 14px; padding-right: 14px; }
.al-pk-danger, .al-pk-danger .icon, .al-pk-remove > summary .icon { color: #bc2a4d; }
.al-pk-remove { flex: 0 0 auto; }
.al-pk-remove > summary { list-style: none; color: inherit; font-weight: normal; }
.al-pk-remove > summary::-webkit-details-marker { display: none; }
.al-pk-remove[open] { flex: 1 1 100%; }
.al-pk-remove[open] > summary { display: none; }
.al-pk-remove-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0 2px; border-top: 1px dashed rgba(0, 0, 0, 0.15); }
.al-pk-remove-form label { font-weight: bold; }
.al-pk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.al-pk-actions-form { justify-content: flex-end; }
.al-pk-step .inner { display: flex; gap: 14px; align-items: flex-start; }
.al-pk-step-body { flex: 1 1 auto; min-width: 0; }
.al-pk-step-body h3 { margin: 0 0 6px; padding: 0; border: 0; font-size: 1.15em; text-transform: none; }
.al-pk-step .error:empty { display: none; }
@media (max-width: 700px) {
	.al-pk-actions-form { justify-content: stretch; }
	.al-pk-actions-form .button, .al-pk-remove-form .inputbox { flex: 1 1 100%; justify-content: center; }
}
