/* ==========================================================================
   BS Computer InfoTech SMM Pro – main stylesheet
   1 Tokens  2 Base  3 Buttons/forms  4 Public site  5 Homepage
   6 Panel shell  7 Dashboard  8 Tables/status  9 Plugin content  10 Utilities
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
/* Defaults follow the design spec. inc/template-functions.php prints an inline :root block that
   overrides the colours (and derives card/border/hover shades) from the Customizer values. */
:root {
	--bg: #080b14;
	--panel: #0f172a;
	--card: #111827;
	--raised: #1a2336;
	--line: #1e293b;
	--accent: #2563eb;
	--accent-hi: #4a7df0;
	--accent-2: #8b5cf6;
	--accent-2-text: #b79cfa;
	--accent-2-solid: #6d3fc0;
	--text: #f8fafc;
	--muted: #94a3b8;
	--link: #7da2f4;
	--ok: #2ed3a2;
	--warn: #f59e0b;
	--bad: #ff6b87;
	--radius: 14px;
	--radius-sm: 9px;
	--container: 1160px;
	--sidebar: 264px;
	--shadow: 0 8px 24px rgba(0, 0, 0, .28);
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", Roboto, sans-serif;
	--font-display: "Bricolage Grotesque", var(--font-body);
}

/* Admin bar offset: every sticky / fixed element clears the WordPress admin bar.
   Core uses 46px below 783px and 32px above, so a single value cannot work. */
:root { --admin-offset: 0px; }
body.admin-bar { --admin-offset: 32px; }
@media screen and (max-width: 782px) { body.admin-bar { --admin-offset: 46px; } }

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 4px; }
ul, ol { padding-left: 1.2em; }
.menu, .menu ul, .cats, .channels, .news, .app-nav ul { list-style: none; padding: 0; margin: 0; }
.icon { flex: none; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2rem); }

/* 3. Buttons and forms -------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .55rem 1.1rem;
	border: 1px solid transparent; border-radius: var(--radius-sm);
	font: 600 .95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hi); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--raised); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hi); color: #fff; }
.bsci-fx .btn--accent { background: linear-gradient(135deg, var(--accent), var(--accent-2-solid)); box-shadow: 0 6px 18px -6px var(--accent); }
.bsci-fx .btn--accent:hover { filter: brightness(1.12); background: linear-gradient(135deg, var(--accent), var(--accent-2-solid)); }
.btn--lg { min-height: 52px; padding: .75rem 1.5rem; font-size: 1.02rem; }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	background: transparent; color: var(--text); border: 1px solid transparent;
	border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--raised); color: #fff; }

label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .92rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="number"],
input[type="search"], input[type="tel"], select, textarea {
	width: 100%; min-height: 44px; padding: .6rem .8rem;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line); border-radius: var(--radius-sm);
	font: inherit;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: 0; }
select option { background: var(--panel); color: var(--text); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 1.05rem; height: 1.05rem; }
.form p { margin-bottom: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.search-form { display: flex; gap: .5rem; margin: 1rem 0; }
.search-form input[type="search"] { flex: 1; }

.notice { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--panel); margin-bottom: 1rem; }
.notice--ok { border-color: var(--ok); }
.notice--bad { border-color: var(--bad); }

/* 4. Public site -------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: var(--accent-2-solid); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { left: .5rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--text); font: 700 1.2rem/1 var(--font-display); }
.brand:hover { color: #fff; }
.brand__logo { max-height: 40px; width: auto; }
.brand__mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; }

.site-header { position: sticky; top: var(--admin-offset); z-index: 40; background: var(--bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 1rem; background: var(--panel); border-bottom: 1px solid var(--line); }
.site-nav.is-open { display: block; }
.site-nav .menu { display: grid; gap: .25rem; margin-bottom: 1rem; }
.site-nav .menu a { display: block; padding: .7rem .5rem; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); }
.site-nav .menu a:hover { background: var(--raised); }
.site-nav__actions { display: grid; gap: .5rem; }

@media (min-width: 900px) {
	.site-nav-toggle { display: none; }
	.site-nav { display: flex; position: static; align-items: center; gap: 1.5rem; padding: 0; background: none; border: 0; }
	.site-nav .menu { display: flex; margin: 0; gap: .25rem; }
	.site-nav__actions { display: flex; }
	.site-nav .btn { min-height: 40px; }
}

.site-footer { border-top: 1px solid var(--line); padding: 1.75rem 0; margin-top: 3rem; color: var(--muted); font-size: .92rem; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.menu--footer { display: flex; flex-wrap: wrap; gap: 1rem; }
.menu--footer a { color: var(--muted); }

.page-body { padding-block: 2.5rem; }
.page-head { margin-bottom: 1.5rem; }
.page-head__title { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.post-list { display: grid; gap: 1rem; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.post-card__title { font-size: 1.3rem; margin-bottom: .25rem; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__meta { color: var(--muted); font-size: .88rem; margin-bottom: .5rem; }
.navigation.pagination { margin-top: 1.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 5. Homepage ----------------------------------------------------------- */

.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(2.3rem, 6.2vw, 4.1rem); font-weight: 700; letter-spacing: -.025em; margin-bottom: .4em; max-width: 14ch; }
.hero__text { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.steps__item { display: flex; gap: 1rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.steps__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-2-solid); color: #fff; font: 700 1rem/1 var(--font-display); }
.steps__title { font-size: 1.1rem; margin-bottom: .15rem; }
.steps__item p { margin: 0; color: var(--muted); font-size: .95rem; }


.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--alt { background: var(--panel); border-block: 1px solid var(--line); }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1.5rem; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.cat__card { display: grid; gap: .35rem; align-content: start; height: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; color: var(--text); transition: border-color .15s, background-color .15s; }
a.cat__card { text-decoration: none; }
a.cat__card:hover { border-color: var(--accent); background: var(--raised); color: var(--text); }
.cat__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--raised); color: var(--link); margin-bottom: .35rem; }
.cat__name { font: 700 1.15rem/1.2 var(--font-display); }
.cat__text { color: var(--muted); font-size: .93rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 1.5rem; }
.feature__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--accent-2-text); margin-bottom: .75rem; }
.feature__title { font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { transform: rotate(45deg); color: var(--muted); transition: transform .2s; }
.faq__item[open] .faq__icon { transform: rotate(0deg); color: var(--accent-2-text); }
.faq__a { color: var(--muted); padding-bottom: 1.1rem; margin: 0; max-width: 62ch; }

.cta { display: grid; gap: 1.5rem; align-items: center; background: var(--raised); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 2.75rem); }
.cta__title { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta p { color: var(--muted); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 800px) { .cta { grid-template-columns: 1fr auto; } }

/* 6. Panel shell -------------------------------------------------------- */
.app-sidebar {
	position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(var(--sidebar), 86vw);
	display: flex; flex-direction: column; gap: 1rem; padding: 1rem;
	background: var(--panel); border-right: 1px solid var(--line);
	transform: translateX(-100%); visibility: hidden;
	transition: transform .25s ease, visibility 0s linear .25s;
}
.app-sidebar.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.app-sidebar__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.app-nav { flex: 1; overflow-y: auto; }
.app-nav ul { display: grid; gap: .2rem; }
.app-nav__link { display: flex; align-items: center; gap: .8rem; min-height: 46px; padding: .5rem .8rem; border-radius: var(--radius-sm); color: var(--muted); text-decoration: none; font-weight: 600; }
.app-nav__link:hover { background: var(--raised); color: #fff; }
.app-nav__link.is-current { background: var(--accent); color: #fff; }
.app-nav__link.is-disabled { opacity: .45; cursor: not-allowed; }
.app-nav__link.is-disabled:hover { background: none; color: var(--muted); }
.app-user { display: flex; align-items: center; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.app-user__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-2-solid); color: #fff; font-weight: 700; flex: none; }
.app-user__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }

.app-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(3, 7, 18, .6); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.has-open-menu .app-scrim { opacity: 1; pointer-events: auto; }
body.has-open-menu { overflow: hidden; }

.app-topbar { position: sticky; top: var(--admin-offset); z-index: 30; display: flex; align-items: center; gap: .75rem; min-height: 64px; padding: .5rem 1rem; background: var(--bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.app-topbar__title { flex: 1; margin: 0; font: 700 1.2rem/1.2 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .3rem .9rem; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--accent-2-text); font-weight: 700; text-decoration: none; }
a.chip:hover { border-color: var(--accent-2); color: var(--accent-2-text); }
.chip .icon { width: 18px; height: 18px; }

.app-content { padding: 1.25rem 1rem 6rem; max-width: 1200px; }

.tabbar { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--panel); border-top: 1px solid var(--line); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + var(--admin-offset)); }
.tabbar__link { display: grid; justify-items: center; gap: .1rem; padding: .55rem .25rem .5rem; min-height: 56px; color: var(--muted); text-decoration: none; font-size: .72rem; font-weight: 600; }
.tabbar__link.is-current { color: var(--accent-2-text); }
.tabbar__link .icon { width: 22px; height: 22px; }

@media (max-width: 1023px) {
	/* The offsetting tab bar is 46px taller, so the content below it needs the same room. */
	body.admin-bar .app-content { padding-bottom: calc(6rem + 46px); }
}

@media (min-width: 1024px) {
	.app-sidebar { bottom: var(--admin-offset); transform: none; visibility: visible; width: var(--sidebar); transition: none; }
	.app-sidebar__close, .app-menu-btn, .tabbar, .app-scrim { display: none; }
	.app-main { margin-left: var(--sidebar); }
	.app-topbar { padding-inline: 2rem; }
	.app-content { padding: 2rem 2rem 3rem; }
	.bell__menu { position: absolute; right: 0; top: calc(100% + 8px); }
}

/* 7. Dashboard ---------------------------------------------------------- */
.greeting { font: 600 1.05rem/1.3 var(--font-body); color: var(--muted); margin-bottom: 1rem; }
.dash-top { display: grid; gap: 1rem; margin-bottom: 1rem; }
.balance { background: var(--raised); border: 1px solid var(--line); border-left: 4px solid var(--accent-2); border-radius: var(--radius); padding: 1.4rem; }
.balance__label { color: var(--muted); font-weight: 600; margin-bottom: .25rem; }
.balance__value { font: 700 clamp(2.2rem, 6vw, 3.2rem)/1.05 var(--font-display); color: var(--text); margin-bottom: 1rem; letter-spacing: -.02em; }
.balance__value--off { color: var(--muted); font-size: 1.6rem; }
.balance__hint { color: var(--muted); font-size: .88rem; }
.balance__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.stat--wide { grid-column: 1 / -1; padding: 0; }
.stat__value { font: 700 1.7rem/1.1 var(--font-display); margin-bottom: .2rem; }
.stat__label { color: var(--muted); margin: 0; font-size: .92rem; }

.grid { display: grid; gap: 1rem; margin-bottom: 1rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; min-width: 0; }
.grid > .panel { margin-bottom: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.panel__title { font-size: 1.15rem; margin-bottom: 1rem; }
.panel__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; }
.link { font-weight: 600; font-size: .92rem; }
.muted { color: var(--muted); font-size: .92rem; }

@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
	.dash-top { grid-template-columns: minmax(300px, 380px) 1fr; }
	.grid--dash { grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); }
}
@media (min-width: 800px) { .grid--support { grid-template-columns: 1fr 1fr; } }

.news__item { display: flex; gap: .8rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.news__item:first-child { border-top: 0; padding-top: 0; }
.news__icon { color: var(--accent-2-text); flex: none; }
.news__title { font-weight: 600; color: var(--text); text-decoration: none; }
.news__title:hover { color: var(--link); text-decoration: underline; }
.news__meta { margin: 0; color: var(--muted); font-size: .85rem; }

.channels { display: grid; gap: .6rem; }
.channel { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; line-height: 1.35; }
.channel:hover { border-color: var(--accent); background: var(--raised); color: var(--text); }
.channel .icon { color: var(--link); }

.details { margin: 0; display: grid; gap: .75rem; }
.details div { display: grid; gap: .1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: .88rem; }
.details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 640px) { .details div { grid-template-columns: 180px 1fr; align-items: baseline; } }

.empty { text-align: center; padding: 1.75rem 1rem; border: 1px dashed var(--line); border-radius: var(--radius-sm); }
.empty__title { font: 700 1.1rem/1.3 var(--font-display); margin-bottom: .35rem; }
.empty__hint { color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: .93rem; }

/* 8. Tables and status -------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { padding: .7rem .75rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.table .cell-link { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { display: inline-block; padding: .15rem .65rem; border-radius: 999px; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; background: var(--raised); }
.status--completed, .status--complete, .status--success { color: var(--ok); border-color: var(--ok); }
.status--pending, .status--processing, .status--in-progress { color: var(--link); border-color: var(--link); }
.status--partial { color: var(--accent-2-text); border-color: var(--accent-2); }
.status--canceled, .status--cancelled, .status--failed, .status--refunded { color: var(--bad); border-color: var(--bad); }

@media (max-width: 719px) {
	.table--stack thead { position: absolute; left: -9999px; }
	.table--stack tr { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); }
	.table--stack td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; text-align: right; }
	.table--stack td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex: none; }
	.table--stack .cell-link { max-width: none; }
}

/* 9. Plugin and editor content (themes whatever your SMM plugin prints) -- */
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; }
.entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: .65rem .75rem; text-align: left; border-bottom: 1px solid var(--line); }
.entry-content th { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.entry-content button, .entry-content input[type="submit"], .entry-content input[type="button"],
.entry-content .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem;
	background: var(--accent); color: #fff; border: 1px solid transparent; border-radius: var(--radius-sm);
	font: 600 .95rem/1.2 var(--font-body); cursor: pointer; text-decoration: none;
}
.entry-content button:hover, .entry-content input[type="submit"]:hover, .entry-content .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--accent-hi); color: #fff; }
.entry-content form p, .entry-content .form-row { margin-bottom: 1rem; }
.entry-content blockquote { margin: 1em 0; padding-left: 1rem; border-left: 3px solid var(--accent-2); color: var(--muted); }
.entry-content code, .entry-content pre { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; }
.entry-content pre { padding: 1rem; overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); }
.entry-content img { border-radius: var(--radius-sm); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: .8rem 1rem; margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.woocommerce-error { border-color: var(--bad); }
.woocommerce-message { border-color: var(--ok); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--accent); border-color: var(--accent); color: #fff; }

/* 10. Utilities --------------------------------------------------------- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static; width: auto; height: auto; margin: 0; clip: auto; }
.alignleft { float: left; margin: 0 1rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, figcaption { color: var(--muted); font-size: .88rem; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* 11. v2 additions ------------------------------------------------------ */

/* Hero glow (visual effects on). overflow:hidden keeps the glow from widening the page. */
.hero { position: relative; overflow: hidden; }
.bsci-fx .hero::before {
	content: ""; position: absolute; inset: -30% -10% auto auto; width: min(720px, 90vw); aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(37, 99, 235, .28), rgba(139, 92, 246, .12) 55%, transparent 75%);
	pointer-events: none;
}
.hero__title { max-width: 16ch; }

/* How it works */
.steps { grid-template-columns: 1fr; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps__item { background: var(--card); }

/* Ticker */
.ticker { background: var(--panel); border-bottom: 1px solid var(--line); font-size: .9rem; }
.ticker__inner { display: flex; align-items: center; gap: .75rem; min-height: 40px; overflow: hidden; }
.ticker__label { color: var(--accent-2-text); display: inline-flex; flex: none; }
.ticker__label .icon { width: 18px; height: 18px; }
.ticker__text { margin: 0; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; color: var(--muted); }
.ticker__text span { display: inline-block; padding-left: 0; }
@media (prefers-reduced-motion: no-preference) {
	.bsci-fx .ticker__text span { padding-left: 100%; animation: bsci-marquee 28s linear infinite; }
	.bsci-fx .ticker__text:hover span { animation-play-state: paused; }
}
@keyframes bsci-marquee { to { transform: translateX(-100%); } }
body:not(.bsci-fx) .ticker__text { white-space: normal; }

/* Footer layout */
.site-footer__inner { align-items: flex-start; }
.site-footer__col { display: grid; gap: .75rem; }
.site-footer .brand { font-size: 1.05rem; }
.site-footer .menu--footer { margin-bottom: .25rem; }

/* Dashboard quick links, amounts, pagination */
.quick { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.quick .btn { min-height: 42px; }
.quick .icon { width: 18px; height: 18px; }
.amt { font-weight: 700; white-space: nowrap; }
.amt--in { color: var(--ok); }
.amt--out { color: var(--bad); }
.pager { margin-top: 1rem; }
.pager .page-numbers { display: inline-block; margin: 0 .25rem .25rem 0; }
.inline-form { display: inline; }
.status--queued, .status--submitting, .status--review { color: var(--link); border-color: var(--link); }

/* Notification (announcements) menu */
.bell { position: relative; }
.bell > summary { list-style: none; cursor: pointer; }
.bell > summary::-webkit-details-marker { display: none; }
.bell__menu { position: fixed; right: 1rem; top: calc(var(--admin-offset) + 68px); z-index: 70; width: min(320px, 88vw); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; }
.bell__title { font: 700 1rem/1.2 var(--font-display); margin-bottom: .5rem; }
.bell__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.bell__menu li a { display: block; color: var(--text); text-decoration: none; font-weight: 600; }
.bell__menu li a:hover { color: var(--link); }
.bell__menu li span { display: block; color: var(--muted); font-size: .82rem; }
.bell__empty { color: var(--muted); margin: 0; font-size: .92rem; }

/* Panel pages inside the shell: keep plugin boxes full width of the card */
.app-content .smmn-box { max-width: 760px; margin-inline: 0; }

/* Auth: WooCommerce My Account login / register / lost password (the plugin sends users here) */
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password,
.woocommerce-form-login, .woocommerce-form-register {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0 0 1rem;
}
.woocommerce .u-columns { display: grid; gap: 1rem; }
@media (min-width: 800px) { .woocommerce .u-columns { grid-template-columns: 1fr 1fr; } }
.woocommerce .u-columns h2 { font-size: 1.3rem; }
.woocommerce form .form-row { margin-bottom: 1rem; }
.woocommerce form .form-row label { display: block; }
.woocommerce .password-input { position: relative; display: block; }
.woocommerce .show-password-input { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; min-height: 32px; }
.woocommerce .lost_password a, .woocommerce-privacy-policy-text a { color: var(--link); }
.woocommerce-privacy-policy-text, .woocommerce form .woocommerce-form__label-for-checkbox { color: var(--muted); font-size: .9rem; font-weight: 400; }
.woocommerce-MyAccount-content { margin-top: 1rem; }
.woocommerce form fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0; }
.woocommerce form fieldset legend { padding: 0 .5rem; font-weight: 700; }

/* Visual effects off: flat surfaces, no motion */
body:not(.bsci-fx) .btn,
body:not(.bsci-fx) .app-sidebar { transition: none; }
