/*
 * csp.css
 * Classes extracted from inline style="..." attributes so the Content-Security-Policy
 * no longer needs style-src 'unsafe-inline'. Do not re-introduce inline styles in views;
 * add a class here instead. Grouped by view area.
 */

/* ── Passkeys (Index, Prompt) ───────────────────────────────────────────── */
.cbpk-1 { font-size: 0.875rem; }
.cbpk-2 { background: white; color: #055160; border: 1px solid rgba(5, 81, 96, 0.2); font-weight: 500; text-decoration: none; }
.cbpk-3 { font-size: 4rem; color: var(--primary-color); opacity: 0.3; }
.cbpk-4 { font-size: 0.9375rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cbpk-5 { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; max-width: 500px; margin: 0 auto; }
.cbpk-6 { color: var(--primary-color); font-size: 1.125rem; }
.cbpk-7 { font-size: 0.9375rem; color: #374151; }
.cbpk-8 { font-size: 0.8125rem; }
.cbpk-9 { max-width: 400px; margin: 0 auto; }
.cbpk-10 { font-size: 0.9375rem; font-weight: 600; color: #374151; }
.cbpk-11 { background: rgba(113, 180, 114, 0.1); }
.cbpk-12 { color: var(--primary-color); }
.cbpk-13 { background: #d4edda; color: #155724; font-size: 0.75rem; padding: 0.25rem 0.5rem; }
.cbpk-14 { font-size: 0.625rem; }
.cbpk-15 { color: #dc3545; background: none; border: none; padding: 0.5rem; border-radius: 6px; transition: background 0.15s; }
.cbpk-15:hover { background: rgba(220, 53, 69, 0.12); }
.cbpk-list-item { cursor: default; }
.cbpk-list-item:hover { border-color: #e5e7eb !important; box-shadow: none !important; transform: none !important; }
.cbpk-16 { font-size: 0.9375rem; }
.cbpk-17 { color: #d9531e; font-weight: 500; }

/* ── Two-Factor (TwoFactorAuthentication, LoginWith2Fa*, TwoFactorPrompt, Disable2fa) ── */
.cbtfa-1 { font-size: 0.875rem; }
.cbtfa-2 { background: rgba(113, 180, 114, 0.1); }
.cbtfa-3 { color: var(--primary-color); }
.cbtfa-4 { color: #374151; font-size: 0.9375rem; }
.cbtfa-5 { font-size: 0.8125rem; }
.cbtfa-6 { color: #d1d5db; font-size: 0.875rem; }
.cbtfa-7 { background: rgba(99, 102, 241, 0.1); }
.cbtfa-8 { color: #6366f1; }
.cbtfa-9 { background: rgba(239, 68, 68, 0.1); }
.cbtfa-10 { color: #ef4444; }
.cbtfa-11 { border-top: 1px solid #e5e7eb; }
.cbtfa-12 { background: none; color: #dc3545; font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.cbtfa-13 { cursor: pointer; }
.cbtfa-14 { flex-shrink: 0; }
.cbtfa-15 { min-width: 0; }
.cbtfa-16 { font-size: 0.8125rem; line-height: 1.4; word-break: break-word; }
.cbtfa-17 { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.3); }
.cbtfa-18 { background: rgba(234,179,8,0.1); color: #a16207; border: 1px solid rgba(234,179,8,0.3); }
.cbtfa-19 { background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.3); }
.cbtfa-20 { cursor: default; }
.cbtfa-21 { background: rgba(34,197,94,0.1); }
.cbtfa-22 { color: #16a34a; }
.cbtfa-23 { color: #dc3545; font-size: 0.8125rem; font-weight: 500; text-decoration: none; white-space: nowrap; width: auto !important; }
.cbtfa-24 { font-size: 0.875rem; }
.cbtfa-25 { border: 2px solid var(--primary-color, #0d6efd); }

/* Real min-width:0 utility — Bootstrap build here ships no .min-w-0, so flex
   children with .text-truncate / long content overflow their row without it. */
.min-w-0 { min-width: 0; }

/* ── Authenticator (EnableAuthenticator, ResetAuthenticator, Generate/Show RecoveryCodes, ShowEmergencyOTPCodes) ── */
.cbau-1 { font-size: 1rem; font-weight: 600; color: #374151; }
.cbau-2 { font-size: 0.875rem; }
.cbau-3 { color: #374151; font-size: 0.9375rem; }
.cbau-4 { font-size: 0.8125rem; }
.cbau-5 { color: #d1d5db; font-size: 0.875rem; }
.cbau-6 { background: #f3f4f6; border-radius: 6px; font-size: 0.875rem; color: #374151; letter-spacing: 0.1rem; }
.cbau-7 { border: none; padding-bottom: 0; }
.cbau-8 { font-size: 0.875rem; font-weight: 500; }
.cbau-9 { font-size: 1.5rem; letter-spacing: 0.25rem; }

/* ── Layout / Login (_Layout, _InternalCardLayout, _ValidationSummary, Login) ── */
.cbly-1 { text-decoration: none; }
.cbly-2 { border-radius: 8px; }
.cbly-3 { font-size: 1.25rem; }
.cbly-4 { font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.cbly-5 { background: var(--primary-color, #0d6efd); color: #fff; position: sticky; top: 0; z-index: 1050; display: flex; align-items: stretch; }
.cbly-6 { color: #fff; font-weight: 600; text-decoration: none; flex: 1; display: flex; align-items: center; justify-content: center; padding: 1rem 1.25rem; font-size: 1rem; }
.cbly-7 { background: none; border: none; border-left: 1px solid rgba(255,255,255,0.3); color: #fff; opacity: 0.8; cursor: pointer; padding: 1rem 1.25rem; font-size: 1rem; flex-shrink: 0; }
.cbly-8 { font-size: 0.875rem; }
.cbly-9 { font-size: 0.8125rem; }
.cbly-10 { max-width: 1200px; }
.cbly-11 { background-color: #fff2f2; color: #c2274a; }
.cbly-12 { width: 48px; height: 48px; }
.cbly-13 { list-style: none; margin: 0; padding: 0; }
.cbly-14 { display: none; }
.cbly-15 { background: none; color: #dc3545; }
.cbly-16 { padding-right: 2.75rem; }
.cbly-17 { font-size: 0.875rem; white-space: nowrap; }
.cbly-18 { background: #f3f4f6; }
.cbly-19 { font-size: 0.875rem; color: #1f2933; min-width: 0; }
.cbly-20 { font-size: 0.8125rem; font-weight: 600; color: var(--primary-color) !important; text-decoration: none !important; width: auto !important; }
.cbly-20:hover, .cbly-20:focus { color: var(--primary-color) !important; text-decoration: none !important; }

/* Selection pages fill the space between header/footer; only their result list scrolls. */
body.selection-list-page {
    height: 100dvh !important;
    min-height: 0;
    overflow: hidden;
}

body.selection-list-page main {
    flex: 1 1 auto !important;
    min-height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

body.selection-list-page main > .container {
    height: 100%;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.selection-list-container {
    align-items: flex-start;
    height: 100%;
    min-height: 0;
    padding: 0 1rem;
}

.selection-list-container > .container,
.selection-list-container > .container > .row,
.selection-list-container > .container > .row > [class*="col-"] {
    height: 100%;
    min-height: 0;
}

.selection-list-container .card,
.selection-list-container .card-body {
    height: 100%;
    min-height: 0;
}

.selection-list-container .card-body {
    display: flex;
    flex-direction: column;
}

/* ── Password (ChangePassword, ResetPassword) ───────────────────────────── */
.cbpw-1 { background: #f9fafb; border: 1px solid #e5e7eb; border-left: 4px solid #d1d5db; border-radius: 10px; }
.cbpw-2 { color: #6c757d; }
.cbpw-3 { font-size: 0.875rem; }
.cbpw-4 { padding-left: 1.25rem; list-style: none; }
.cbpw-5 { font-size: 0.875rem; color: #dc3545; }
.cbpw-6 { padding-right: 2.75rem; }

/* ── Tenants / Grants / Organizations ───────────────────────────────────── */
.cbtn-1 {
    padding-left: 3.25rem !important;
    padding-right: 3rem !important;
    padding-inline-start: 3.25rem !important;
    padding-inline-end: 3rem !important;
}
.cbtn-2 { color: #9ca3af; font-size: 0.875rem; z-index: 2; pointer-events: none; }
.cbtn-3 { margin-top: -1px; padding: 0.25rem 0.75rem; color: #6b7280; z-index: 2; }
.cbtn-4 { font-size: 0.875rem; }
.cbtn-5 { font-size: 1.5rem; color: #d1d5db; }
.cbtn-6 { width: 100%; text-align: left; }
.cbtn-7 { font-size: 0.9375rem; font-weight: 600; color: #1f2937; margin: 0 0 0.25rem 0; }
.cbtn-8 { font-size: 0.8125rem; color: #6b7280; margin: 0; }
.cbtn-9 { font-size: 0.875rem; color: #9ca3af; }
.cbtn-10 { font-size: 0.9375rem; font-weight: 600; color: #1f2937; margin: 0; }
.cbtn-11 { background-color: rgba(var(--primary-rgb), 0.08); }
.cbtn-12 { color: var(--primary-color); }
.cbtn-13 { font-size: 0.9375rem; font-weight: 600; color: #1f2937; }
.cbtn-14 { font-size: 0.8125rem; color: #6b7280; }
.cbtn-15 { font-size: 3rem; color: #d1d5db; }
.cbtn-16 { font-size: 0.9375rem; }
.cbtn-17 { font-size: 1rem; font-weight: 600; color: #1f2937; }
.cbtn-18 { width: 14px; }

/* ── Confirm views (ConfirmPhoneNumber, ConfirmEmail, ConfirmEmailChange, ForgotPasswordConfirmation) ── */
.cbcf-1 { font-size: 0.875rem; }
