/**
 * shadcn theme: page styles for "auth" (loaded after css/core/shadcn.php).
 * Scope every rule to this page's own wrapper so it cannot affect other pages.
 * Area: logged-out pages (landing + sign-up card, login, reset password).
 */

/* Cards: 16px padding now set in css/core/shadcn.php */

/* Card titles (login, reset password): 16px medium like the sign-up card title */
body.sc .ossn-startup-wrapper .login-card-custom h2 {
	font-size: 1rem !important; line-height: 1.375rem; font-weight: 500 !important; letter-spacing: 0 !important; margin: 0 !important;
}
body.sc .ossn-startup-wrapper .login-card-custom .text-center.mb-4.mt-4 { margin: var(--sc-field-stack) 0 !important; }

/* Icon badge: drop the old 4px white ring, centre the icon (FontAwesome margin-right pushed it 5px off) */
body.sc .ossn-startup-wrapper .login-icon-badge { border: 0 !important; }
body.sc .ossn-startup-wrapper .login-icon-badge i,
body.sc .ossn-startup-wrapper .forgot-link i,
body.sc .ossn-startup-wrapper .back-to-login i,
body.sc .ossn-startup-wrapper .login-card-custom .alert i { margin: 0 !important; width: 1rem; height: 1rem; line-height: 1; display: inline-flex; }

/* Login + reset fields: same label/input/field rhythm as the sign-up form */
body.sc .ossn-startup-wrapper #ossn-login fieldset > div > label { display: block; line-height: 1; margin: 0 0 var(--sc-field-gap) !important; }
body.sc .ossn-startup-wrapper #ossn-login input[type="text"],
body.sc .ossn-startup-wrapper #ossn-login input[type="password"] { margin: 0 0 var(--sc-field-stack) !important; }
body.sc .ossn-startup-wrapper #ossn-login input[type="submit"],
body.sc .ossn-startup-wrapper .ossn-reset-login input[type="submit"] { margin: 0 !important; }
body.sc .ossn-startup-wrapper .login-card-custom .login-footer { margin-top: var(--sc-field-stack) !important; }
body.sc .ossn-startup-wrapper .ossn-reset-login .reset-notice { line-height: 1.25rem; margin: 0 0 var(--sc-field-gap); color: var(--foreground); }
body.sc .ossn-startup-wrapper .ossn-reset-login input[type="text"] { margin: 0 0 var(--sc-field-stack) !important; }

/* Reset password footer: Bootstrap "border-light" divider -> theme border; link styled like "Reset Password" on login */
body.sc .ossn-startup-wrapper .login-card-custom .border-top.border-light {
	border-top-color: var(--border) !important; margin-top: var(--sc-field-stack) !important; padding-top: var(--sc-field-stack) !important;
}
body.sc .ossn-startup-wrapper .back-to-login {
	color: var(--muted-foreground) !important; font-size: 0.875rem; text-decoration: underline; text-underline-offset: 4px;
	display: inline-flex; align-items: center; gap: 0.375rem;
}
body.sc .ossn-startup-wrapper .back-to-login:hover { color: var(--foreground) !important; }

/* Inline error inside the login card: an Alert, not a floating toast (no shadow), icon aligned with the text */
body.sc .ossn-startup-wrapper .login-card-custom .alert {
	display: flex; align-items: flex-start; gap: 0.75rem; box-shadow: none !important;
	padding: 0.75rem 1rem !important; margin: 0 0 var(--sc-field-stack) !important; line-height: 1.25rem;
}
body.sc .ossn-startup-wrapper .login-card-custom .alert i { margin-top: 0.125rem !important; flex-shrink: 0; }

/* Sign-up validation: OSSN marks empty fields with a 2px #ff4d4d border; use the shadcn invalid state
   (same as the year picker's .is-invalid) */
body.sc .ossn-startup-wrapper #ossn-home-signup .ossn-red-borders,
body.sc .ossn-startup-wrapper #ossn-login .ossn-red-borders,
body.sc .ossn-startup-wrapper .ossn-reset-login .ossn-red-borders {
	border: 1px solid var(--destructive) !important;
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--destructive) 20%, transparent) !important;
}

/* "Check your email" panel: OSSN's "#ossn-home-signup p { margin-top: 10px }" beat the panel's own margin: 0,
   so its gaps were 18px instead of the panel's 8px gap */
body.sc .ossn-startup-wrapper #ossn-home-signup .sc-signup-next p { margin: 0; }

/* Dark mode: the dark --primary green on its own 12% tint was barely visible on the dark card; lift the icon colour */
:root.dark body.sc .ossn-startup-wrapper .sc-signup-next-icon { color: color-mix(in srgb, var(--primary) 55%, var(--foreground)); }

/* Landing feature tags are static labels: drop the old GoBlue hover lift */
body.sc .ossn-startup-wrapper .feature-tag:hover { transform: none !important; }

/* Stacked layout (below lg): the sign-up card sat only 10px under the last feature tag */
@media (max-width: 991.98px) {
	body.sc .ossn-startup-wrapper .landing-main .col-lg-5 { margin-top: var(--sc-field-stack); }
}

/* Type scale: 13px leftovers -> 14px button text, 12px helper text */
/* dev-fill button 14px: now in css/core/shadcn.php */
body.sc .ossn-startup-wrapper #ossn-home-signup .terms-text { font-size: 0.75rem !important; line-height: 1rem; }

/* auth-1: landing feature tags use the kit Badge size: 2px 8px padding, 12px text on a 16px line
   (about 22px tall with the 1px border), 4px corners, 4px gap before the 12px icon.
   The tag row is a wrapping flex row with an 8px gap instead of per-tag 10px margins. */
body.sc .ossn-startup-wrapper .modern-features { display: flex; flex-wrap: wrap; gap: 0.5rem; }
body.sc .ossn-startup-wrapper .feature-tag {
	display: inline-flex; align-items: center; gap: 0.25rem; margin: 0 !important;
	padding: 0.125rem 0.5rem !important; font-size: 0.75rem !important; line-height: 1rem !important;
	border-radius: var(--sc-tag-radius) !important; white-space: nowrap;
}
body.sc .ossn-startup-wrapper .feature-tag i { margin: 0 !important; display: inline-flex; font-size: inherit !important; }
/* auth-2: on phones the tags wrap several per row (flex-wrap above); nothing forces one per row */

/* auth-5: welcome heading is 16px medium like card titles, at every width
   (beats Bootstrap's .display-5 and the 20px/24px startup heading rules) */
body.sc .ossn-startup-wrapper .landing-main h1,
body.sc .ossn-startup-wrapper .landing-main h1.display-5 {
	font-size: 1rem !important; line-height: 1.5rem !important; font-weight: 500 !important; letter-spacing: 0 !important;
}

/* auth-3: wrong-password alert on /login = kit Alert, destructive variant.
   Card background, 1px destructive border all round (no 3px left bar), red title and red 16px
   circle-alert icon (pages/contents/user/login.php), any description text in a muted red. */
body.sc .ossn-startup-wrapper .login-card-custom .alert.sc-alert-destructive {
	background: var(--card) !important; color: var(--destructive) !important;
	border: 1px solid var(--destructive) !important; border-left-width: 1px !important;
	border-radius: var(--radius) !important; box-shadow: none !important; font-size: 0.875rem;
}
body.sc .ossn-startup-wrapper .login-card-custom .alert.sc-alert-destructive i,
body.sc .ossn-startup-wrapper .login-card-custom .alert.sc-alert-destructive .sc-icon { color: var(--destructive) !important; }
body.sc .ossn-startup-wrapper .login-card-custom .alert.sc-alert-destructive .sc-alert-title { font-weight: 500; line-height: 1.25rem; }
body.sc .ossn-startup-wrapper .login-card-custom .alert.sc-alert-destructive .sc-alert-description {
	color: color-mix(in oklch, var(--destructive) 90%, transparent); line-height: 1.25rem;
}

/* auth-4: no gender chosen -> red outline on the Gender radio circles, same red as the other invalid
   fields. OSSN marks the group with .ossn-required on submit; the :has() check clears it as soon as one is picked. */
body.sc .ossn-startup-wrapper #ossn-home-signup .radio-block-container.ossn-required:not(:has(input:checked)) input[type="radio"] {
	border-color: var(--destructive) !important;
	box-shadow: 0 0 0 3px color-mix(in oklch, var(--destructive) 20%, transparent) !important;
}

/* ======================================================================================
 * CSSL alumni split screen: sign-up (pages/contents/index.php), sign-in (pages/contents/user/login.php)
 * and the welcome page (pages/welcome.php). Left: the form; right: the green alumni panel.
 * ====================================================================================== */
/* the split screen is the whole page: no top bar, sidebar, blobs or footer around it */
body.sc:has(.sc-auth) .sc-header,
body.sc:has(.sc-auth) .sc-sidebar,
body.sc:has(.sc-auth) .sc-sidebar-backdrop,
body.sc:has(.sc-auth) .blob-container,
body.sc:has(.sc-auth) .sc-chat-fab,
body.sc:has(.sc-auth) .sc-post-fab { display: none !important; }
body.sc:has(.sc-auth) .opensource-socalnetwork,
body.sc:has(.sc-auth) .sc-inset { margin: 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
body.sc:has(.sc-auth) .sc-main,
body.sc:has(.sc-auth) .ossn-startup-wrapper,
body.sc:has(.sc-auth) .ossn-startup-wrapper .container,
body.sc:has(.sc-auth) .ossn-home-container { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; min-height: 0 !important; background: var(--background) !important; }

body.sc .sc-auth { display: flex; flex-wrap: wrap; min-height: calc(100vh - 3.5rem); background: var(--background); color: var(--foreground); }
/* the footer stays under the split screen: OSSN removes the page if its "Powered by" link is not visible (licence) */
body.sc:has(.sc-auth) footer { margin: 0 !important; padding: 1rem 3rem !important; border-top: 1px solid var(--border); background: var(--background) !important; }
@media (max-width: 767.98px) { body.sc:has(.sc-auth) footer { padding: 1rem !important; } }
body.sc .sc-auth [hidden] { display: none !important; }
body.sc .sc-auth-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; padding: 2rem 3rem; box-sizing: border-box; }
body.sc .sc-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
body.sc .sc-auth-brand { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 600; font-size: 0.9375rem; color: var(--foreground) !important; text-decoration: none !important; }
body.sc .sc-auth-brand img { width: 2.25rem; height: 2.25rem; object-fit: contain; }
body.sc .sc-auth-switch { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }
body.sc .sc-auth-switch a { font-weight: 600; color: var(--primary) !important; margin-left: 0.25rem; }
body.sc .sc-auth-body { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem 0; }

/* the form column: flat, no card (the sign-up keeps .glass-signup-card for its success message hook) */
html body.sc .sc-auth .sc-auth-form { width: 100%; max-width: 26.25rem; display: flex; flex-direction: column; gap: 1.25rem;
	background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; backdrop-filter: none !important; }
html body.sc .sc-auth .sc-auth-form.sc-welcome { max-width: 30rem; }
body.sc .sc-auth form, body.sc .sc-auth form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
body.sc .sc-auth form fieldset { display: flex; flex-direction: column; gap: 1.25rem; }
body.sc .sc-auth .sc-step { display: flex; flex-direction: column; gap: 1.25rem; }
body.sc .sc-auth .sc-step-head { display: flex; flex-direction: column; gap: 0.375rem; }
body.sc .sc-auth .sc-step-head h1 { margin: 0; font-size: 1.875rem; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--foreground); }
body.sc .sc-auth .sc-step-head p { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--muted-foreground); }
body.sc .sc-auth .sc-step-progress { display: flex; gap: 0.375rem; }
body.sc .sc-auth .sc-step-progress span { flex: 1; height: 0.25rem; border-radius: 999px; background: var(--border); }
body.sc .sc-auth .sc-step-progress span.is-done { background: var(--primary); }
body.sc .sc-auth .sc-step-count { margin: -0.75rem 0 0; font-size: 0.8125rem; font-weight: 500; color: var(--muted-foreground); }
body.sc .sc-auth .sc-step-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.375rem; height: 2rem; padding: 0 0.5rem; margin: -0.5rem 0 0 -0.5rem;
	border: 0; border-radius: var(--sc-control-radius); background: transparent; color: var(--muted-foreground); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; }
body.sc .sc-auth .sc-step-back:hover { background: var(--accent); color: var(--accent-foreground); }
body.sc .sc-auth .sc-step-back svg { width: 1rem; height: 1rem; }

/* fields: label above, 40px controls */
html body.sc .sc-auth .sc-signup-field { display: flex; flex-direction: column; gap: 0.375rem; margin: 0 !important; }
html body.sc .sc-auth .sc-signup-field > label, html body.sc .sc-auth .sc-label-row > label { margin: 0 !important; font-size: 0.875rem; font-weight: 500; line-height: 1.25rem; color: var(--foreground); }
html body.sc .sc-auth .sc-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
html body.sc .sc-auth .sc-label-row a { font-size: 0.8125rem; font-weight: 500; color: var(--primary) !important; }
html body.sc .sc-auth input[type="text"], html body.sc .sc-auth input[type="password"], html body.sc .sc-auth input[type="email"] {
	height: 2.5rem !important; margin: 0 !important; width: 100% !important; box-sizing: border-box; font-size: 0.9375rem !important; }
html body.sc .sc-auth .sc-optional { font-weight: 400; color: var(--muted-foreground); }
html body.sc .sc-auth .sc-signup-hint { margin: 0 !important; font-size: 0.8125rem; color: var(--muted-foreground); }
html body.sc .sc-auth .sc-signup-error { margin: 0 !important; font-size: 0.8125rem; color: var(--destructive); }
html body.sc .sc-auth .sc-signup-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
html body.sc .sc-auth .sc-signup-extra { display: flex; flex-direction: column; gap: 1.25rem; margin: 0 !important; padding: 0 !important; }
html body.sc .sc-auth .sc-signup-extra .radio-block-container { margin: 0 !important; }
html body.sc .sc-auth #ossn-signup-errors:empty { display: none !important; }

/* password: show/hide button inside the field, rules under it */
body.sc .sc-auth .sc-password-wrap { position: relative; }
html body.sc .sc-auth .sc-password-wrap input { padding-right: 2.75rem !important; }
body.sc .sc-auth .sc-password-toggle { position: absolute; top: 0.125rem; right: 0.125rem; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: var(--sc-control-radius); background: transparent; color: var(--muted-foreground); cursor: pointer; }
body.sc .sc-auth .sc-password-toggle:hover { background: var(--accent); color: var(--foreground); }
body.sc .sc-auth .sc-password-toggle[aria-pressed="true"] { color: var(--foreground); }
body.sc .sc-auth .sc-password-toggle svg { width: 1.125rem; height: 1.125rem; }
body.sc .sc-auth .sc-password-rules { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.8125rem; color: var(--muted-foreground); }
body.sc .sc-auth .sc-password-rules li { display: flex; align-items: center; gap: 0.375rem; }
body.sc .sc-auth .sc-password-rules li svg { width: 0.875rem; height: 0.875rem; opacity: 0.5; }
body.sc .sc-auth .sc-password-rules li.is-met { color: var(--primary); }
body.sc .sc-auth .sc-password-rules li.is-met svg { opacity: 1; }
body.sc .sc-auth .sc-password-rules li.is-missing { color: var(--destructive); }

/* primary actions: full width, 44px */
html body.sc .sc-auth .sc-step-next,
html body.sc .sc-auth #ossn-submit-button,
html body.sc .sc-auth #ossn-login input[type="submit"] { width: 100%; height: 2.75rem !important; margin: 0 !important; font-size: 0.9375rem !important; font-weight: 600 !important; }
html body.sc .sc-auth .terms-text { margin: 0 !important; font-size: 0.75rem; line-height: 1.5; color: var(--muted-foreground); text-align: center; }
html body.sc .sc-auth .alert { margin: 0 !important; }

/* the green alumni panel */
body.sc .sc-auth-panel { flex: 1 1 440px; min-width: 0; box-sizing: border-box; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
	background: #0b3d24; color: #ffffff; }
body.sc .sc-auth-panel-crest { width: 7.5rem; height: 7.5rem; object-fit: contain; }
body.sc .sc-auth-panel-copy { display: flex; flex-direction: column; gap: 1rem; }
body.sc .sc-auth-panel-eyebrow { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #bbf7d0; }
body.sc .sc-auth-panel h2 { margin: 0; font-size: 2.5rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; }
body.sc .sc-auth-panel-copy p:last-child { margin: 0; font-size: 1rem; line-height: 1.6; color: #dcfce7; max-width: 32rem; }
body.sc .sc-auth-panel-members { display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap; }
body.sc .sc-auth-panel-members p { margin: 0; font-size: 0.875rem; color: #dcfce7; }
body.sc .sc-auth-panel-avatars { display: flex; }
body.sc .sc-auth-panel-avatars img { width: 2.5rem; height: 2.5rem; border-radius: 999px; object-fit: cover; border: 2px solid #0b3d24; background: #ffffff; }
body.sc .sc-auth-panel-avatars img + img { margin-left: -0.625rem; }

/* welcome page (sign-up step 3) */
body.sc .sc-welcome-photo { display: flex; align-items: center; gap: 0.875rem; flex-wrap: wrap; padding: 0.875rem; border: 1px solid var(--border); border-radius: var(--radius); }
body.sc .sc-welcome-avatar { width: 3.25rem; height: 3.25rem; border-radius: 999px; object-fit: cover; flex: none; }
body.sc .sc-welcome-avatar.is-empty { display: flex; align-items: center; justify-content: center; background: var(--muted); border: 1px dashed var(--muted-foreground); color: var(--muted-foreground); box-sizing: border-box; }
body.sc .sc-welcome-avatar.is-empty svg { width: 1.375rem; height: 1.375rem; }
body.sc .sc-welcome-photo-text { flex: 1 1 11rem; display: flex; flex-direction: column; gap: 0.125rem; }
body.sc .sc-welcome-photo-text strong { font-size: 0.9375rem; font-weight: 600; }
body.sc .sc-welcome-photo-text span { font-size: 0.8125rem; color: var(--muted-foreground); }
html body.sc .sc-welcome-upload { margin: 0 !important; cursor: pointer; }
body.sc .sc-welcome-photo-status { flex-basis: 100%; margin: 0; font-size: 0.8125rem; color: var(--muted-foreground); }
body.sc .sc-welcome-photo-status.is-error { color: var(--destructive); }
body.sc .sc-welcome-set { border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; }
body.sc .sc-welcome-set-head { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
body.sc .sc-welcome-set-head h2 { margin: 0; font-size: 0.9375rem; font-weight: 600; }
body.sc .sc-welcome-set-head span { font-size: 0.8125rem; color: var(--muted-foreground); }
body.sc .sc-welcome-person { padding: 0.625rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
body.sc .sc-welcome-person + .sc-welcome-person { border-top: 1px solid var(--border); }
body.sc .sc-welcome-person > img { width: 2.5rem; height: 2.5rem; border-radius: 999px; object-fit: cover; flex: none; }
body.sc .sc-welcome-group-icon { width: 2.5rem; height: 2.5rem; border-radius: 999px; flex: none; display: flex; align-items: center; justify-content: center; background: color-mix(in oklch, var(--primary) 12%, transparent); color: var(--primary); }
body.sc .sc-welcome-group-icon svg { width: 1.125rem; height: 1.125rem; }
body.sc .sc-welcome-person-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.125rem; }
body.sc .sc-welcome-person-text a { font-weight: 600; font-size: 0.875rem; color: var(--foreground) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sc .sc-welcome-person-text span { font-size: 0.8125rem; color: var(--muted-foreground); }
html body.sc .sc-welcome-person .btn { display: inline-flex; align-items: center; gap: 0.375rem; margin: 0 !important; flex: none; }
body.sc .sc-welcome-person .btn svg { width: 0.9375rem; height: 0.9375rem; }
body.sc .sc-welcome-state { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8125rem; font-weight: 600; color: var(--primary); flex: none; }
body.sc .sc-welcome-state.is-muted { color: var(--muted-foreground); font-weight: 500; }
body.sc .sc-welcome-state svg { width: 0.9375rem; height: 0.9375rem; }
body.sc .sc-welcome-empty { padding: 1rem; display: flex; flex-direction: column; gap: 0.375rem; font-size: 0.875rem; color: var(--muted-foreground); }
body.sc .sc-welcome-empty p { margin: 0; }
body.sc .sc-welcome-empty a { font-weight: 600; color: var(--primary) !important; }
body.sc .sc-welcome-actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
body.sc .sc-welcome-skip { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground) !important; }
html body.sc .sc-welcome-actions .btn { height: 2.75rem; display: inline-flex; align-items: center; padding: 0 1.5rem; font-weight: 600; margin: 0 !important; }
body.sc .sc-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* phones: tighter padding, one column of names; the panel follows the form */
@media (max-width: 767.98px) {
	body.sc .sc-auth-main { padding: 1.25rem 1rem; }
	body.sc .sc-auth-body { padding: 2rem 0; align-items: flex-start; }
	body.sc .sc-auth-panel { padding: 2rem 1.25rem; gap: 1.5rem; }
	body.sc .sc-auth-panel h2 { font-size: 1.75rem; }
	body.sc .sc-auth-panel-crest { width: 4.5rem; height: 4.5rem; }
	html body.sc .sc-auth .sc-signup-row { grid-template-columns: minmax(0, 1fr); }
}
/* the theme's global heading and text colours outrank the rules above: restate them here */
html body.sc .sc-auth .sc-step-head h1 { font-size: 1.875rem !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: -0.02em !important; color: var(--foreground) !important; margin: 0 !important; }
html body.sc .sc-auth .sc-step-head p { color: var(--muted-foreground) !important; font-size: 0.9375rem !important; }
html body.sc .sc-auth-panel h2 { font-size: 2.5rem !important; line-height: 1.15 !important; font-weight: 700 !important; letter-spacing: -0.02em !important; color: #ffffff !important; margin: 0 !important; }
html body.sc .sc-auth-panel p { color: #dcfce7 !important; }
html body.sc .sc-auth-panel .sc-auth-panel-eyebrow { color: #bbf7d0 !important; }
html body.sc .sc-auth-welcome .sc-welcome-set-head h2 { font-size: 0.9375rem !important; font-weight: 600 !important; margin: 0 !important; color: var(--foreground) !important; }
@media (max-width: 767.98px) { html body.sc .sc-auth-panel h2 { font-size: 1.75rem !important; } }
html body.sc .sc-auth .sc-signup-error { color: var(--destructive) !important; }
html body.sc .sc-auth input.ossn-red-borders { border-color: var(--destructive) !important; }

/* Turnstile security check on sign-up: full width, 12px above the error box and Create account button */
body.sc .sc-turnstile { margin: 0 0 0.75rem; min-height: 65px; }

/* ================================================================== waiting for set-admin approval (pages/approval.php) */
body.sc .sc-approval { gap: 1.25rem; }
body.sc .sc-approval-icon { width: 3rem; height: 3rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--muted); color: var(--foreground); }
body.sc .sc-approval-icon i[data-icon] { width: 1.5rem; height: 1.5rem; }
body.sc .sc-approval-icon.is-declined { background: color-mix(in oklch, var(--destructive) 12%, transparent); color: var(--destructive); }
body.sc .sc-approval-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; color: var(--muted-foreground); }
body.sc .sc-approval-steps li { display: flex; align-items: center; gap: 0.5rem; }
body.sc .sc-approval-steps li.is-done { color: var(--foreground); }
body.sc .sc-approval-steps li.is-done i[data-icon] { color: var(--primary); }
body.sc .sc-approval-note { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

/* "Resend email" on the sign-up "Check your email" card (js/shadcn.php scResendButton) */
body.sc .sc-signup-next .sc-signup-resend { align-self: center; margin-top: 0.25rem; }
body.sc .sc-signup-resend-status { margin: 0; font-size: 0.8125rem; color: var(--muted-foreground); min-height: 1.25em; }
 