/**
 * ST Membership — Premium SaaS UI
 */

:root {
	/* StingTune tokens (stingtune-gform-combined.css) */
	--st-ms-primary: #5b21b6;
	--st-ms-primary-dark: #7c3aed;
	--st-ms-accent: #5b21b6;
	--st-ms-accent-bright: #7c3aed;
	--st-ms-accent-rgb: 91, 33, 182;
	--st-ms-accent-soft: rgba(91, 33, 182, 0.14);
	--st-ms-accent-glow: rgba(91, 33, 182, 0.45);
	--st-ms-ink: #0a0a0b;
	--st-ms-surface: #ffffff;
	--st-ms-surface-input: #f4f4f5;
	--st-ms-bg: #f8fafc;
	--st-ms-card: #ffffff;
	--st-ms-text: #0a0a0b;
	--st-ms-muted: #52525b;
	--st-ms-border: #d4d4d8;
	--st-ms-border-bold: #18181b;
	--st-ms-border-focus: #5b21b6;
	--st-ms-auth-bg: #0a0a0b;
	--st-ms-radius: 10px;
	--st-ms-radius-sm: 6px;
	--st-ms-shadow: 0 4px 0 #0a0a0b;
	--st-ms-shadow-lg: 0 20px 50px rgba(91, 33, 182, 0.15);
	--st-ms-font: "Inter", system-ui, -apple-system, sans-serif;
	--st-ms-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base */
.st-ms-wrap,
.st-ms-plans-grid,
.st-ms-premium-auth,
.st-ms-profile {
	font-family: var(--st-ms-font);
	color: var(--st-ms-text);
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

.st-ms-wrap *,
.st-ms-plans-grid *,
.st-ms-premium-auth *,
.st-ms-profile * {
	box-sizing: border-box;
}

/* Animations */
@keyframes st-ms-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes st-ms-slide-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.st-ms-animate-in {
	animation: st-ms-fade-in 0.5s var(--st-ms-ease) both;
}

.st-ms-animate-up {
	animation: st-ms-slide-up 0.6s var(--st-ms-ease) 0.1s both;
}

/* Signup — plan dropdown */
.st-ms-plan-select-field {
	margin-bottom: 1.25rem;
}

.st-ms-plan-select-field label {
	display: block;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.45rem;
	color: var(--st-ms-text, #0f172a);
}

.st-ms-plan-select-field select,
.st-ms-plan-select-locked {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 2.5rem 0.7rem 0.9rem;
	font-size: 1rem;
	font-weight: 600;
	border: 1.5px solid var(--st-ms-border, #e2e8f0);
	border-radius: var(--st-ms-radius-sm, 10px);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none;
	cursor: pointer;
	box-sizing: border-box;
}

.st-ms-plan-select-field--locked .st-ms-plan-select-locked {
	cursor: default;
	background-color: #f8fafc;
}

.st-ms-plan-summary--compact {
	display: none;
}

/* Signup — left plan detail panel */
.st-ms-signup-plan-panel {
	margin-top: 0.5rem;
}

.st-ms-signup-plan-panel__inner,
.st-ms-signup-plan-panel__empty {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	padding: 1.25rem 1.35rem;
	transition: opacity 0.2s ease;
}

.st-ms-signup-plan-panel.has-plan .st-ms-signup-plan-panel__inner {
	animation: none;
}

@keyframes st-ms-panel-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.st-ms-signup-plan-panel__name {
	margin: 0 0 0.75rem;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.2;
	color: #fff;
	letter-spacing: -0.02em;
}

.st-ms-signup-plan-panel__duration {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin: 0.85rem 0 1rem;
	padding: 0.65rem 0.75rem;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	font-size: 0.85rem;
}

.st-ms-signup-plan-panel__meta-label {
	color: rgba(255, 255, 255, 0.65);
	text-transform: uppercase;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
	font-weight: 700;
}

.st-ms-signup-plan-panel__meta-value {
	color: #fff;
	font-weight: 700;
}

.st-ms-signup-plan-panel__desc {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

.st-ms-signup-plan-panel__features {
	margin: 0;
}

.st-ms-signup-plan-panel__empty {
	text-align: center;
	padding: 1.75rem 1.25rem;
}

.st-ms-signup-plan-panel__empty-icon {
	display: block;
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
	opacity: 0.6;
}

.st-ms-signup-plan-panel__empty-title {
	margin: 0 0 0.35rem;
	font-weight: 700;
	color: #fff;
	font-size: 1rem;
}

.st-ms-signup-plan-panel__empty-text {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.st-ms-signup-plan-label {
	margin: 0 0 0.35rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
}

.st-ms-signup-plan-price {
	margin-bottom: 0.25rem;
}

.st-ms-signup-plan-price .st-ms-price-amount,
.st-ms-signup-plan-price .st-ms-price-free {
	color: #fff;
	font-size: 1.75rem;
	font-weight: 800;
}

.st-ms-signup-plan-price .st-ms-price-period {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
}

/* Mobile: plan details below dropdown inside the form */
.st-ms-signup-plan-panel--mobile {
	display: none;
	margin-bottom: 1.15rem;
}

@media (max-width: 900px) {
	.st-ms-premium-auth--signup #st-ms-signup-plan-panel {
		display: none;
	}

	.st-ms-signup-plan-panel--mobile {
		display: block;
	}

	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__inner,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__empty {
		background: #f8fafc;
		border: 1px solid var(--st-ms-border, #e2e8f0);
	}

	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__name,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__meta-value,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__empty-title {
		color: var(--st-ms-text, #0f172a);
	}

	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__desc,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__empty-text,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-label,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__meta-label {
		color: var(--st-ms-muted, #64748b);
	}

	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-price .st-ms-price-amount,
	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-price .st-ms-price-free {
		color: var(--st-ms-accent, #5b21b6);
	}

	.st-ms-signup-plan-panel--mobile .st-ms-signup-plan-panel__duration {
		background: #fff;
		border: 1px solid var(--st-ms-border, #e2e8f0);
	}
}

/* ========== Premium Auth Layout ========== */
html.st-ms-auth-page,
body.st-ms-auth-page {
	scroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: none;
	min-height: 100%;
	min-height: 100dvh;
}

body.st-ms-auth-page {
	background-color: var(--st-ms-auth-bg, #0a0a0b) !important;
	background-image: linear-gradient(145deg, var(--st-ms-auth-bg, #0a0a0b) 0%, #1e1b4b 45%, #312e81 100%) !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	overflow-x: hidden;
}

body.st-ms-auth-page #page,
body.st-ms-auth-page .site,
body.st-ms-auth-page .site-content,
body.st-ms-auth-page #content,
body.st-ms-auth-page #primary,
body.st-ms-auth-page main,
body.st-ms-auth-page .content-area,
body.st-ms-auth-page .entry-content,
body.st-ms-auth-page .site-main,
body.st-ms-auth-page .hfeed.site {
	background: transparent !important;
	min-height: 100vh;
	min-height: 100dvh;
}

body.st-ms-auth-page .site-footer,
body.st-ms-auth-page #colophon,
body.st-ms-auth-page footer.footer,
body.st-ms-auth-page .footer-wrap {
	display: none !important;
}

body.st-ms-auth-page .entry-header,
body.st-ms-auth-page .page-title,
body.st-ms-auth-page .entry-title,
body.st-ms-auth-page .wp-block-post-title,
body.st-ms-auth-page .page-header,
body.st-ms-auth-page .post-title,
body.st-ms-auth-page .breadcrumb,
body.st-ms-auth-page .ast-breadcrumbs-wrapper,
body.st-ms-auth-page .ast-single-post-order,
body.st-ms-auth-page .content-area > .page-title,
body.st-ms-auth-page #main > article > header,
body.st-ms-auth-page .site-main > article > header,
body.st-ms-auth-page .elementor-page-title,
body.st-ms-auth-page .et_pb_title_container,
body.st-ms-auth-page .fl-post-header,
body.st-ms-auth-page .oceanwp-page-header,
body.st-ms-auth-page .page-header-title,
body.st-ms-login-page .entry-header,
body.st-ms-login-page .entry-title,
body.st-ms-login-page .page-title,
body.st-ms-login-page .wp-block-post-title,
body.st-ms-login-page .page-header,
body.st-ms-login-page h1.title {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.st-ms-premium-auth {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	padding: clamp(1rem, 4vw, 2.5rem);
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow-x: hidden;
	overflow-y: visible;
	z-index: 1;
}

/* Full-viewport background on login, signup, and forgot password */
body.st-ms-auth-page .st-ms-premium-auth__bg,
body.st-ms-auth-page .st-ms-premium-auth__banner {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	min-height: 100dvh;
	z-index: 0;
	pointer-events: none;
}

.st-ms-premium-auth__bg {
	background: linear-gradient(145deg, var(--st-ms-auth-bg, #0a0a0b) 0%, #1e1b4b 45%, #312e81 100%);
}

.st-ms-premium-auth__orb {
	position: absolute;
	border-radius: 50%;
	opacity: 0.35;
	pointer-events: none;
	/* Soft glow via gradient — no filter:blur (major scroll jank on mobile/desktop) */
	background: radial-gradient(circle at 30% 30%, var(--st-ms-accent-bright, #7c3aed) 0%, transparent 70%);
}

.st-ms-premium-auth__orb--1 {
	width: 400px;
	height: 400px;
	top: -100px;
	right: -80px;
	background: radial-gradient(circle at 30% 30%, var(--st-ms-accent, #5b21b6) 0%, transparent 72%);
}

.st-ms-premium-auth__orb--2 {
	width: 300px;
	height: 300px;
	bottom: -60px;
	left: -60px;
	background: radial-gradient(circle at 70% 70%, var(--st-ms-accent-bright, #7c3aed) 0%, transparent 72%);
}

.st-ms-premium-auth__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(1.5rem, 3vw, 3rem);
	max-width: 1100px;
	margin: 0 auto;
	align-items: start;
	min-height: 0;
}

.st-ms-premium-auth__grid--signup {
	max-width: 1200px;
	align-items: start;
}

/* Desktop: vertically center login & forgot password */
@media (min-width: 901px) {
	.st-ms-premium-auth--login,
	.st-ms-premium-auth--forgot {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: stretch;
		box-sizing: border-box;
	}

	.st-ms-premium-auth--login .st-ms-premium-auth__grid,
	.st-ms-premium-auth--forgot .st-ms-premium-auth__grid {
		align-items: center;
		width: 100%;
	}
}

.st-ms-premium-auth__panel {
	position: relative;
	z-index: 2;
	min-width: 0;
	width: 100%;
}

.st-ms-premium-auth__brand {
	min-width: 0;
	max-width: 100%;
}

.st-ms-premium-auth__brand {
	color: #fff;
}

.st-ms-premium-auth__brand-inner {
	padding: clamp(1rem, 3vw, 2rem);
}

.st-ms-brand-logo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	text-decoration: none;
	color: #fff;
	margin-bottom: 1.5rem;
	max-width: 100%;
}

.st-ms-brand-logo__media {
	display: block;
	max-width: min(240px, 100%);
	line-height: 0;
	flex-shrink: 0;
}

.st-ms-brand-logo-img {
	display: block;
	max-height: 52px;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: none;
}

.st-ms-brand-mark {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--st-ms-accent, #5b21b6), var(--st-ms-accent-bright, #7c3aed));
	box-shadow: 4px 4px 0 var(--st-ms-accent-bright, #7c3aed);
	flex-shrink: 0;
}

.st-ms-brand-name {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.st-ms-brand-headline {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.5rem;
	letter-spacing: -0.03em;
	color: #fff;
}

.st-ms-premium-auth--login .st-ms-premium-auth__brand .st-ms-brand-headline,
.st-ms-premium-auth--forgot .st-ms-premium-auth__brand .st-ms-brand-headline {
	color: #fff !important;
}

.st-ms-trust-list {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
}

.st-ms-trust-list li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 0.75rem;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
}

.st-ms-trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.25);
	color: #6ee7b7;
	font-size: 0.7rem;
	font-weight: 700;
}

.st-ms-signup-plan-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--st-ms-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
}

.st-ms-signup-plan-card h2 {
	margin: 0.25rem 0 0.75rem;
	font-size: 1.5rem;
}

.st-ms-signup-plan-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.st-ms-premium-card {
	background: var(--st-ms-card);
	border-radius: var(--st-ms-radius);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: var(--st-ms-shadow-lg);
	min-width: 0;
}

.st-ms-premium-card__body,
.st-ms-signup-body {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.st-ms-signup-body .st-ms-fields,
.st-ms-signup-body .st-ms-field {
	display: block;
	visibility: visible;
	opacity: 1;
}

.st-ms-signup-body .st-ms-field-icon label {
	color: var(--st-ms-text, #0f172a);
}

.st-ms-signup-body .st-ms-fields input,
.st-ms-signup-body .st-ms-fields textarea,
.st-ms-signup-body .st-ms-fields select,
.st-ms-signup-body .st-ms-input-wrap--has-icon input {
	color: var(--st-ms-text, #0f172a) !important;
	-webkit-text-fill-color: var(--st-ms-text, #0f172a) !important;
}

.st-ms-premium-card__header h1 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 3vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.st-ms-premium-card__header p {
	margin: 0 0 1.5rem;
	color: var(--st-ms-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.st-ms-premium-card__footer {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--st-ms-border);
	text-align: center;
	font-size: 0.9rem;
	color: var(--st-ms-muted);
}

.st-ms-premium-card__footer a {
	color: var(--st-ms-primary);
	font-weight: 600;
	text-decoration: none;
}

.st-ms-premium-card__footer a:hover {
	text-decoration: underline;
}

/* Form fields premium */
.st-ms-form-premium .st-ms-field {
	margin-bottom: 1.15rem;
}

.st-ms-field-icon label {
	display: block;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 0.45rem;
	color: var(--st-ms-text, #0a0a0b);
	line-height: 1.3;
}

.st-ms-input-wrap {
	position: relative;
	display: block;
	width: 100%;
}

/* Flex row: icon column + input — prevents overlap with placeholder text */
.st-ms-input-wrap--has-icon {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	min-height: 48px;
	border: 1.5px solid var(--st-ms-border, #e2e8f0);
	border-radius: var(--st-ms-radius-sm, 6px);
	background: #fff;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.st-ms-input-wrap--has-icon:has(input:focus),
.st-ms-input-wrap--has-icon:has(textarea:focus),
.st-ms-input-wrap--has-icon:has(select:focus) {
	border-color: var(--st-ms-border-focus, #5b21b6);
	box-shadow: 2px 2px 0 var(--st-ms-accent-soft), 0 0 0 3px var(--st-ms-accent-soft);
}

.st-ms-field-icon-svg {
	flex: 0 0 48px;
	width: 48px;
	min-width: 48px;
	height: auto;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--st-ms-ink, #0a0a0b);
	opacity: 0.85;
	pointer-events: none;
	position: static;
	left: auto;
	top: auto;
	transform: none;
}

.st-ms-field-icon-svg svg {
	width: 20px;
	height: 20px;
	display: block;
	flex-shrink: 0;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	color: var(--st-ms-ink, #0a0a0b);
}

.st-ms-input-wrap--has-icon input {
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem 0.7rem 0.25rem !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--st-ms-text, #0a0a0b);
	box-sizing: border-box;
}

.st-ms-input-wrap--has-icon input:focus {
	outline: none;
	box-shadow: none !important;
}

.st-ms-input-wrap--has-toggle.st-ms-input-wrap--has-icon input {
	padding-right: 0.25rem !important;
}

.st-ms-password-toggle {
	flex: 0 0 32px;
	width: 32px;
	min-width: 32px;
	height: 32px;
	align-self: center;
	margin-right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent !important;
	box-shadow: none !important;
	color: #0a0a0b !important;
	cursor: pointer;
	padding: 0;
	transition: opacity 0.2s ease;
}

.st-ms-password-toggle:hover,
.st-ms-password-toggle:focus,
.st-ms-password-toggle:focus-visible,
.st-ms-password-toggle.is-visible,
.st-ms-password-toggle.is-visible:hover,
.st-ms-password-toggle.is-visible:focus,
.st-ms-password-toggle.is-visible:focus-visible {
	color: #0a0a0b !important;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	outline: none !important;
	opacity: 0.75;
}

.st-ms-password-toggle svg {
	display: block;
	width: 20px;
	height: 20px;
	pointer-events: none;
	stroke: currentColor;
	color: inherit;
}

.st-ms-password-toggle__hide {
	display: none;
}

.st-ms-password-toggle.is-visible .st-ms-password-toggle__show {
	display: none;
}

.st-ms-password-toggle.is-visible .st-ms-password-toggle__hide {
	display: block;
}

.st-ms-field--error .st-ms-input-wrap--has-icon,
.st-ms-field--error .st-ms-input-wrap--no-icon input {
	border-color: #f87171 !important;
	box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2) !important;
}

.st-ms-field--error > label {
	color: #b91c1c;
}

.st-ms-input-wrap--no-icon input,
.st-ms-input-wrap textarea,
.st-ms-input-wrap select,
.st-ms-field-icon textarea,
.st-ms-field-icon select {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--st-ms-border, #e2e8f0);
	border-radius: var(--st-ms-radius-sm, 6px);
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
	background: #fff;
	color: var(--st-ms-text, #0a0a0b);
	box-sizing: border-box;
}

.st-ms-input-wrap input.st-ms-otp-input,
.st-ms-otp-field .st-ms-input-wrap input {
	padding-left: 0.9rem !important;
	padding-right: 0.9rem !important;
	text-align: center;
}

.st-ms-field-icon textarea,
.st-ms-input-wrap textarea {
	padding: 0.75rem 0.9rem;
	min-height: 96px;
	resize: vertical;
}

.st-ms-field-icon select,
.st-ms-input-wrap select {
	padding-left: 0.9rem;
	appearance: auto;
	cursor: pointer;
}

.st-ms-input-wrap input::placeholder,
.st-ms-input-wrap textarea::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.st-ms-input-wrap--no-icon input:focus,
.st-ms-input-wrap textarea:focus,
.st-ms-input-wrap select:focus {
	outline: none;
	border-color: var(--st-ms-accent, #5b21b6);
	box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.12);
}

.st-ms-otp-input {
	text-align: center;
	font-size: 1.35rem !important;
	font-weight: 700;
	letter-spacing: 0.35em;
}

.st-ms-field-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.st-ms-link-muted {
	font-size: 0.85rem;
	color: var(--st-ms-primary);
	text-decoration: none;
	font-weight: 500;
}

.st-ms-checkbox label,
.st-ms-checkbox-inline {
	font-size: 0.9rem;
	color: var(--st-ms-muted);
	cursor: pointer;
}

.st-ms-otp-panel {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px dashed var(--st-ms-border);
}

.st-ms-otp-panel[hidden]:not(.is-active) {
	display: none !important;
}

.st-ms-step-hidden {
	visibility: hidden;
	height: 0;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

/* OTP verification modal — premium */
@keyframes st-ms-otp-backdrop-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes st-ms-otp-card-in {
	from { opacity: 0; transform: translateY(24px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes st-ms-otp-shake {
	0%, 100% { transform: translateX(0); }
	20% { transform: translateX(-6px); }
	40% { transform: translateX(6px); }
	60% { transform: translateX(-4px); }
	80% { transform: translateX(4px); }
}

@keyframes st-ms-otp-success-pop {
	0% { transform: scale(0.6); opacity: 0; }
	70% { transform: scale(1.08); }
	100% { transform: scale(1); opacity: 1; }
}

.st-ms-otp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
	font-family: var(--st-ms-font);
}

.st-ms-otp-modal.is-open {
	display: flex;
}

.st-ms-otp-modal.is-open .st-ms-otp-modal__backdrop {
	animation: st-ms-otp-backdrop-in 0.3s var(--st-ms-ease) both;
}

.st-ms-otp-modal.is-open .st-ms-otp-modal__card {
	animation: st-ms-otp-card-in 0.45s var(--st-ms-ease) both;
}

.st-ms-otp-modal--shake .st-ms-otp-digits {
	animation: st-ms-otp-shake 0.45s var(--st-ms-ease);
}

.st-ms-otp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(15, 23, 42, 0.82) 0%, rgba(79, 70, 229, 0.35) 100%);
	backdrop-filter: blur(8px);
}

.st-ms-otp-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.st-ms-otp-modal__card {
	position: relative;
	background: var(--st-ms-card, #fff);
	border-radius: var(--st-ms-radius, 16px);
	padding: 2rem 1.75rem 1.65rem;
	box-shadow: var(--st-ms-shadow-lg), 0 0 0 1px rgba(99, 102, 241, 0.08);
	border: 1px solid var(--st-ms-border, #e2e8f0);
	overflow: hidden;
}

.st-ms-otp-modal__accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--st-ms-primary), var(--st-ms-accent));
}

.st-ms-otp-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: #f1f5f9;
	border-radius: 10px;
	color: #64748b;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.15s;
	z-index: 2;
}

.st-ms-otp-modal__close:hover {
	background: #e2e8f0;
	color: var(--st-ms-text);
	transform: scale(1.04);
}

.st-ms-otp-modal__hero {
	text-align: center;
	margin-bottom: 1.35rem;
}

.st-ms-otp-modal__shield {
	width: 56px;
	height: 56px;
	margin: 0 auto 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.18));
	color: var(--st-ms-primary);
	border: 1px solid rgba(99, 102, 241, 0.2);
}

.st-ms-otp-modal__eyebrow {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--st-ms-primary);
	margin-bottom: 0.5rem;
}

.st-ms-otp-modal__title {
	margin: 0 0 0.45rem;
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	font-weight: 800;
	color: var(--st-ms-text, #0f172a);
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.st-ms-otp-modal__subtitle {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--st-ms-muted, #64748b);
	max-width: 32ch;
	margin-left: auto;
	margin-right: auto;
}

.st-ms-otp-modal__email {
	margin: 0.65rem 0 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--st-ms-text, #0f172a);
	padding: 0.35rem 0.75rem;
	background: #f8fafc;
	border-radius: 999px;
	display: inline-block;
}

.st-ms-otp-alert {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 1rem;
	padding: 0.7rem 0.85rem;
	border-radius: var(--st-ms-radius-sm, 10px);
	font-size: 0.86rem;
	line-height: 1.45;
	transition: opacity 0.25s, transform 0.25s;
}

.st-ms-otp-alert[hidden] {
	display: none !important;
}

.st-ms-otp-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.st-ms-otp-alert__icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fee2e2;
	color: #b91c1c;
	font-weight: 800;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.st-ms-otp-digits-wrap {
	margin-bottom: 1.1rem;
}

.st-ms-otp-digits-field {
	position: relative;
}

.st-ms-otp-autofill {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	border: 0;
	background: transparent;
	z-index: 1;
	pointer-events: none;
	caret-color: transparent;
	font-size: 16px;
	letter-spacing: 0.5em;
}

.st-ms-otp-digits-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.65rem;
	color: var(--st-ms-muted, #64748b);
	text-align: center;
}

.st-ms-otp-digits {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: clamp(0.35rem, 2vw, 0.55rem);
}

.st-ms-otp-digit {
	width: clamp(2.5rem, 11vw, 3rem);
	height: clamp(2.75rem, 12vw, 3.25rem);
	padding: 0;
	font-size: clamp(1.1rem, 4vw, 1.35rem);
	font-weight: 800;
	text-align: center;
	border: 2px solid var(--st-ms-border, #e2e8f0);
	border-radius: 12px;
	background: #fff;
	color: var(--st-ms-text, #0f172a);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
	caret-color: transparent;
}

.st-ms-otp-digit:focus {
	outline: none;
	border-color: var(--st-ms-primary);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
	transform: translateY(-2px);
}

.st-ms-otp-digit.is-filled {
	border-color: var(--st-ms-primary-dark);
	background: #fafaff;
}

.st-ms-otp-modal__actions {
	display: flex;
	justify-content: center;
	margin: 1.35rem 0 0.25rem;
}

.st-ms-otp-verify-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	min-height: 56px;
	padding: 0.95rem 2rem;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	font-family: var(--st-ms-font);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	background: linear-gradient(135deg, var(--st-ms-primary) 0%, var(--st-ms-accent) 100%);
	box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
	transition: transform 0.2s var(--st-ms-ease), box-shadow 0.25s var(--st-ms-ease), opacity 0.2s;
	position: relative;
	overflow: hidden;
}

.st-ms-otp-verify-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 48%);
	pointer-events: none;
}

.st-ms-otp-verify-btn:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 10px 32px rgba(99, 102, 241, 0.45), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.st-ms-otp-verify-btn:active:not(:disabled) {
	transform: translateY(0) scale(0.98);
}

.st-ms-otp-verify-btn:disabled {
	opacity: 0.72;
	cursor: not-allowed;
	transform: none;
}

.st-ms-otp-verify-btn__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	position: relative;
	z-index: 1;
}

.st-ms-otp-verify-btn__spinner {
	display: none;
	width: 22px;
	height: 22px;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: st-ms-otp-spin 0.7s linear infinite;
}

.st-ms-otp-verify-btn.is-loading .st-ms-otp-verify-btn__label {
	opacity: 0;
	width: 0;
	overflow: hidden;
}

.st-ms-otp-verify-btn.is-loading .st-ms-otp-verify-btn__spinner {
	display: block;
}

@keyframes st-ms-otp-spin {
	to { transform: rotate(360deg); }
}

.st-ms-otp-modal__resend {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	margin: 0.85rem 0 0.5rem;
}

.st-ms-otp-modal__resend-btn {
	background: none;
	border: none;
	padding: 0.35rem 0.5rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--st-ms-primary);
	cursor: pointer;
	transition: color 0.2s, opacity 0.2s;
}

.st-ms-otp-modal__resend-btn:disabled {
	color: var(--st-ms-muted, #94a3b8);
	cursor: not-allowed;
	opacity: 0.85;
}

.st-ms-otp-modal__resend-btn:not(:disabled):hover {
	color: var(--st-ms-primary-dark);
	text-decoration: underline;
}

.st-ms-otp-modal__resend-timer {
	font-size: 0.8rem;
	color: var(--st-ms-muted, #64748b);
	min-height: 1.2em;
}

.st-ms-otp-modal__back {
	margin-top: 0.35rem;
}

.st-ms-otp-modal__view--success {
	text-align: center;
	padding: 1rem 0 0.5rem;
	animation: st-ms-fade-in 0.35s var(--st-ms-ease) both;
}

.st-ms-otp-modal__success-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, #ecfdf5, #d1fae5);
	color: #059669;
	animation: st-ms-otp-success-pop 0.5s var(--st-ms-ease) both;
}

.st-ms-otp-modal.is-success .st-ms-otp-modal__view--form {
	display: none;
}

.st-ms-otp-modal.is-success .st-ms-otp-modal__view--success {
	display: block !important;
}

.st-ms-btn-ghost {
	background: transparent;
	color: var(--st-ms-muted, #64748b);
	border: 1px solid var(--st-ms-border, #e2e8f0);
	box-shadow: none;
}

.st-ms-btn-ghost:hover {
	background: #f8fafc;
	color: var(--st-ms-text, #0f172a);
}

body.st-ms-otp-modal-open {
	overflow: hidden;
}

.st-ms-otp-pending .st-ms-premium-card {
	filter: blur(3px);
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.3s, filter 0.3s;
}

@media (max-width: 480px) {
	.st-ms-otp-modal {
		padding: 0;
		align-items: flex-end;
	}

	.st-ms-otp-modal__dialog {
		max-width: 100%;
	}

	.st-ms-otp-modal__card {
		border-radius: 20px 20px 0 0;
		padding: 1.65rem 1.25rem 1.5rem;
	}

	.st-ms-otp-verify-btn {
		max-width: 100%;
		min-height: 52px;
		font-size: 1rem;
	}
}

.st-ms-otp-header {
	margin-bottom: 1rem;
}

.st-ms-otp-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--st-ms-primary), var(--st-ms-accent));
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
	margin-bottom: 0.5rem;
}

.st-ms-otp-input {
	letter-spacing: 0.35em;
	font-size: 1.25rem !important;
	font-weight: 700;
	text-align: center;
}

.st-ms-payment-badge {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: var(--st-ms-radius-sm);
	padding: 1rem;
	margin-bottom: 1rem;
}

.st-ms-payment-badge p {
	margin: 0;
	font-size: 0.9rem;
	color: #0369a1;
}

.st-ms-plan-summary--compact {
	display: none;
}

.st-ms-hint {
	font-size: 0.8rem;
	color: var(--st-ms-muted);
	margin: 0.35rem 0 0;
}

/* Buttons */
.st-ms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border-radius: var(--st-ms-radius-sm);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.st-ms-btn:active {
	transform: scale(0.98);
}

.st-ms-btn-primary {
	background: linear-gradient(135deg, var(--st-ms-primary), var(--st-ms-accent));
	color: #fff !important;
}

.st-ms-btn-glow:hover {
	box-shadow: 0 8px 28px rgba(99, 102, 241, 0.45);
}

.st-ms-btn-block {
	width: 100%;
}

.st-ms-btn:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Messages */
.st-ms-messages {
	margin-bottom: 1rem;
}

.st-ms-messages .st-ms-success {
	background: #ecfdf5;
	color: #065f46;
	padding: 0.85rem 1rem;
	border-radius: var(--st-ms-radius-sm);
	border: 1px solid #a7f3d0;
	animation: st-ms-slide-up 0.3s var(--st-ms-ease);
}

.st-ms-messages .st-ms-error {
	background: #fef2f2;
	color: #991b1b;
	padding: 0.85rem 1rem;
	border-radius: var(--st-ms-radius-sm);
	border: 1px solid #fecaca;
	animation: st-ms-slide-up 0.3s var(--st-ms-ease);
}

/* Plans grid — premium */
.st-ms-plans-grid {
	display: grid;
	gap: 1.5rem;
	margin: 2rem 0;
	padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.st-ms-cols-1 { grid-template-columns: 1fr; }
.st-ms-cols-2 { grid-template-columns: repeat(2, 1fr); }
.st-ms-cols-3 { grid-template-columns: repeat(3, 1fr); }
.st-ms-cols-4 { grid-template-columns: repeat(4, 1fr); }

.st-ms-plan-card {
	background: var(--st-ms-card);
	border-radius: var(--st-ms-radius);
	box-shadow: var(--st-ms-shadow);
	border: 1px solid var(--st-ms-border);
	overflow: hidden;
	transition: transform 0.25s var(--st-ms-ease), box-shadow 0.25s;
}

.st-ms-plan-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--st-ms-shadow-lg);
}

.st-ms-plan-card-inner {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.st-ms-plan-name {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.st-ms-plan-desc {
	color: var(--st-ms-muted);
	font-size: 0.95rem;
	margin: 0 0 1rem;
	flex: 1;
	line-height: 1.55;
}

.st-ms-plan-price {
	margin-bottom: 1.25rem;
}

.st-ms-price-amount {
	font-size: 2.25rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--st-ms-primary), var(--st-ms-accent));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.st-ms-price-free {
	font-size: 1.75rem;
	font-weight: 700;
	color: #10b981;
}

.st-ms-plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.st-ms-plan-features li {
	padding: 0.45rem 0 0.45rem 1.6rem;
	position: relative;
	font-size: 0.9rem;
}

.st-ms-plan-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--st-ms-primary);
	font-weight: bold;
}

/* Profile dashboard — premium */
.st-ms-profile,
.st-ms-dashboard {
	padding: clamp(1rem, 3vw, 2rem) 0;
	max-width: 1100px;
	margin: 0 auto;
	font-family: var(--st-ms-font);
}

.st-ms-dashboard__hero {
	background: linear-gradient(135deg, var(--st-ms-primary) 0%, var(--st-ms-accent) 100%);
	border-radius: var(--st-ms-radius);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	margin-bottom: 1.5rem;
	color: #fff;
	box-shadow: var(--st-ms-shadow-lg);
}

.st-ms-dashboard__hero-inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.st-ms-dashboard__avatar {
	width: 80px;
	height: 80px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 800;
	flex-shrink: 0;
}

.st-ms-dashboard__eyebrow {
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.9;
}

.st-ms-dashboard__name {
	margin: 0 0 0.25rem;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.st-ms-dashboard__email {
	margin: 0;
	opacity: 0.92;
	font-size: 0.95rem;
}

.st-ms-dashboard__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.st-ms-dash-stat {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	background: var(--st-ms-card);
	border: 1px solid var(--st-ms-border);
	border-radius: var(--st-ms-radius);
	padding: 1.15rem 1.2rem;
	box-shadow: var(--st-ms-shadow);
	transition: transform 0.2s, box-shadow 0.2s;
}

.st-ms-dash-stat:hover {
	transform: translateY(-2px);
	box-shadow: var(--st-ms-shadow-lg);
}

.st-ms-dash-stat__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.15));
	color: var(--st-ms-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.st-ms-dash-stat__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--st-ms-muted);
	margin-bottom: 0.2rem;
}

.st-ms-dash-stat__value {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--st-ms-text);
}

.st-ms-dashboard__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding: 0.35rem;
	background: var(--st-ms-card);
	border: 1px solid var(--st-ms-border);
	border-radius: 12px;
	box-shadow: var(--st-ms-shadow);
}

.st-ms-dashboard__tab {
	flex: 1;
	min-width: 120px;
	padding: 0.65rem 1rem;
	border: none;
	background: transparent;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--st-ms-muted);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.st-ms-dashboard__tab:hover {
	color: var(--st-ms-text);
	background: #f8fafc;
}

.st-ms-dashboard__tab.is-active {
	background: linear-gradient(135deg, var(--st-ms-primary), var(--st-ms-accent));
	color: #fff;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.st-ms-dashboard__panel[hidden] {
	display: none !important;
}

.st-ms-dashboard__panel.is-active {
	animation: st-ms-fade-in 0.35s var(--st-ms-ease) both;
}

.st-ms-dashboard__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
}

.st-ms-dash-card {
	background: var(--st-ms-card);
	border-radius: var(--st-ms-radius);
	padding: 1.35rem 1.4rem;
	box-shadow: var(--st-ms-shadow);
	border: 1px solid var(--st-ms-border);
	transition: box-shadow 0.2s;
}

.st-ms-dash-card:hover {
	box-shadow: var(--st-ms-shadow-lg);
}

.st-ms-dash-card--form {
	max-width: 560px;
}

.st-ms-dash-card__head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1.15rem;
	flex-wrap: wrap;
}

.st-ms-dash-card__head h2 {
	margin: 0;
	flex: 1;
	font-size: 1.1rem;
	font-weight: 700;
	min-width: 140px;
}

.st-ms-dash-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.14));
	color: var(--st-ms-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.st-ms-dash-card__action {
	margin-left: auto;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--st-ms-border);
	background: #fff;
	border-radius: 8px;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--st-ms-primary);
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.st-ms-dash-card__action:hover {
	background: #f8fafc;
	border-color: var(--st-ms-primary);
}

.st-ms-dash-dl__row {
	display: grid;
	grid-template-columns: minmax(120px, 38%) 1fr;
	gap: 0.5rem 1rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #f1f5f9;
}

.st-ms-dash-dl__row:last-child {
	border-bottom: none;
}

.st-ms-dash-dl dt {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--st-ms-muted);
}

.st-ms-dash-dl dd {
	margin: 0;
	font-weight: 600;
	color: var(--st-ms-text);
	word-break: break-word;
}

.st-ms-dash-form__hint {
	margin: -0.5rem 0 1rem;
	font-size: 0.88rem;
	color: var(--st-ms-muted);
}

.st-ms-dash-form .st-ms-field {
	margin-bottom: 1rem;
}

.st-ms-dash-form .st-ms-field label {
	display: block;
	font-weight: 600;
	font-size: 0.8rem;
	margin-bottom: 0.4rem;
}

.st-ms-dash-form .st-ms-field input:not([type="checkbox"]),
.st-ms-dash-form .st-ms-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--st-ms-border);
	border-radius: var(--st-ms-radius-sm);
	font-size: 1rem;
	font-family: inherit;
	box-sizing: border-box;
}

.st-ms-dash-form .st-ms-input-wrap--has-icon {
	border: 1.5px solid var(--st-ms-border);
	border-radius: var(--st-ms-radius-sm);
}

.st-ms-dash-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

.st-ms-dash-badge--active {
	background: #d1fae5;
	color: #065f46;
}

.st-ms-dash-badge--expired {
	background: #fee2e2;
	color: #991b1b;
}

.st-ms-dash-badge--muted {
	background: #f1f5f9;
	color: #475569;
}

.st-ms-badge {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
}

.st-ms-badge-active {
	background: #d1fae5;
	color: #065f46;
}

.st-ms-muted { color: var(--st-ms-muted); }

.st-ms-notice {
	padding: 1rem 1.25rem;
	background: var(--st-ms-bg);
	border-radius: var(--st-ms-radius-sm);
	border: 1px solid var(--st-ms-border);
}

/* Responsive — auth */
@media (max-width: 900px) {
	.st-ms-premium-auth__grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	/* Login & signup: branding above the form on mobile */
	.st-ms-premium-auth--signup .st-ms-premium-auth__brand,
	.st-ms-premium-auth--login .st-ms-premium-auth__brand,
	.st-ms-premium-auth--forgot .st-ms-premium-auth__brand {
		order: 1;
		text-align: center;
	}

	.st-ms-premium-auth--signup .st-ms-premium-auth__panel,
	.st-ms-premium-auth--login .st-ms-premium-auth__panel,
	.st-ms-premium-auth--forgot .st-ms-premium-auth__panel {
		order: 2;
	}

	.st-ms-premium-auth--signup .st-ms-premium-auth__brand-inner,
	.st-ms-premium-auth--login .st-ms-premium-auth__brand-inner,
	.st-ms-premium-auth--forgot .st-ms-premium-auth__brand-inner {
		padding: 0 0 1rem;
	}

	.st-ms-premium-auth--signup .st-ms-brand-logo,
	.st-ms-premium-auth--login .st-ms-brand-logo,
	.st-ms-premium-auth--forgot .st-ms-brand-logo {
		margin-bottom: 0.5rem;
	}

	.st-ms-premium-auth--signup .st-ms-brand-name,
	.st-ms-premium-auth--login .st-ms-brand-name,
	.st-ms-premium-auth--forgot .st-ms-brand-name {
		display: block;
		font-size: 1.35rem;
		font-weight: 800;
		color: #fff;
		margin-bottom: 0.35rem;
	}

	.st-ms-premium-auth--signup .st-ms-brand-headline,
	.st-ms-premium-auth--login .st-ms-brand-headline,
	.st-ms-premium-auth--forgot .st-ms-brand-headline {
		margin: 0 0 0.25rem;
		max-width: 36rem;
		margin-left: auto;
		margin-right: auto;
		font-size: 1.25rem;
		color: #fff !important;
	}

	.st-ms-premium-auth__brand-inner {
		padding: 1rem 0 0;
	}

	.st-ms-brand-logo {
		align-items: center;
		margin-left: auto;
		margin-right: auto;
	}

	.st-ms-brand-logo__media {
		margin-left: auto;
		margin-right: auto;
	}

	.st-ms-brand-headline {
		font-size: 1.25rem;
	}

	.st-ms-trust-list {
		display: none;
	}

	.st-ms-signup-plan-card {
		margin-bottom: 1rem;
	}

	.st-ms-cols-3,
	.st-ms-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	.st-ms-dashboard__stats {
		grid-template-columns: 1fr;
	}

	.st-ms-dashboard__tab {
		min-width: calc(50% - 0.25rem);
		flex: 1 1 auto;
	}

	.st-ms-dash-dl__row {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}
}

@media (max-width: 600px) {
	.st-ms-premium-auth {
		padding: 0.75rem;
		margin: 0;
		width: 100%;
		left: 0;
		transform: none;
	}

	.st-ms-premium-card {
		padding: 1.25rem;
		border-radius: 14px;
	}

	.st-ms-field-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.st-ms-cols-2,
	.st-ms-cols-3,
	.st-ms-cols-4 {
		grid-template-columns: 1fr;
	}

	.st-ms-plan-card-inner {
		padding: 1.5rem;
	}

	.st-ms-input-wrap--has-icon input,
	.st-ms-input-wrap--no-icon input,
	.st-ms-input-wrap textarea,
	.st-ms-input-wrap select {
		font-size: 16px; /* prevents iOS zoom */
	}
}

/* Theme overrides must not collapse icon column */
.st-ms-premium-auth .st-ms-input-wrap--has-icon .st-ms-field-icon-svg {
	position: static !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	flex: 0 0 48px !important;
	width: 48px !important;
}

.st-ms-premium-auth .st-ms-input-wrap--has-icon input[type="text"],
.st-ms-premium-auth .st-ms-input-wrap--has-icon input[type="email"],
.st-ms-premium-auth .st-ms-input-wrap--has-icon input[type="password"],
.st-ms-premium-auth .st-ms-input-wrap--has-icon input[type="tel"] {
	padding-left: 0.25rem !important;
	padding-right: 0.25rem !important;
}

@media (prefers-reduced-motion: reduce) {
	.st-ms-animate-in,
	.st-ms-animate-up,
	.st-ms-premium-auth__orb {
		animation: none;
	}
}

/* =============================================================================
   StingTune design system (reference: stingtune-gform-combined.css)
   ============================================================================= */

.st-ms-premium-auth,
.st-ms-plans-wrap,
.st-ms-profile {
	font-family: var(--st-ms-font);
	color: var(--st-ms-text, #0a0a0b);
}

body.st-ms-auth-page {
	background: var(--st-ms-auth-bg, #0a0a0b) !important;
}

.st-ms-premium-auth__bg {
	background: linear-gradient(145deg, var(--st-ms-auth-bg, #0a0a0b) 0%, #1e1b4b 45%, #312e81 100%);
}

.st-ms-premium-auth__orb--1 {
	background: var(--st-ms-accent, #5b21b6);
}

.st-ms-premium-auth__orb--2 {
	background: var(--st-ms-accent-bright, #7c3aed);
}

.st-ms-brand-mark {
	background: linear-gradient(135deg, var(--st-ms-accent, #5b21b6), var(--st-ms-accent-bright, #7c3aed));
	box-shadow: 4px 4px 0 var(--st-ms-accent-bright, #7c3aed);
}

.st-ms-premium-auth__banner {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.15;
	z-index: 0;
}

/* StingTune theme — bold borders & offset shadows */
.st-ms-theme-stingtune .st-ms-premium-card {
	background: var(--st-ms-surface, #fff);
	border: 2px solid var(--st-ms-border-bold, #18181b);
	border-radius: var(--st-ms-radius, 10px);
	box-shadow: 6px 6px 0 var(--st-ms-accent-bright, #7c3aed);
}

.st-ms-theme-stingtune .st-ms-field-icon label {
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--st-ms-ink, #0a0a0b);
}

.st-ms-theme-stingtune .st-ms-input-wrap--has-icon {
	border: 2px solid var(--st-ms-border-bold, #18181b) !important;
	border-radius: var(--st-ms-radius-sm, 6px) !important;
	box-shadow: 2px 2px 0 var(--st-ms-border, #d4d4d8) !important;
	background: #fff !important;
}

.st-ms-theme-stingtune .st-ms-input-wrap--has-icon:has(input:focus),
.st-ms-theme-stingtune .st-ms-input-wrap--has-icon:has(textarea:focus),
.st-ms-theme-stingtune .st-ms-input-wrap--has-icon:has(select:focus) {
	border-color: var(--st-ms-accent, #5b21b6) !important;
	box-shadow: 2px 2px 0 rgba(91, 33, 182, 0.2), 0 0 0 3px rgba(91, 33, 182, 0.14) !important;
}

.st-ms-theme-stingtune .st-ms-input-wrap--has-icon input {
	border: none !important;
	box-shadow: none !important;
	font-weight: 600 !important;
	background: transparent !important;
}

.st-ms-theme-stingtune .st-ms-password-toggle,
.st-ms-theme-stingtune .st-ms-password-toggle:hover,
.st-ms-theme-stingtune .st-ms-password-toggle:focus,
.st-ms-theme-stingtune .st-ms-password-toggle:focus-visible,
.st-ms-theme-stingtune .st-ms-password-toggle.is-visible {
	color: #0a0a0b !important;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	outline: none !important;
}

.st-ms-theme-stingtune .st-ms-input-wrap--no-icon input,
.st-ms-theme-stingtune .st-ms-input-wrap textarea,
.st-ms-theme-stingtune .st-ms-input-wrap select,
.st-ms-theme-stingtune .st-ms-field-icon select {
	border: 2px solid var(--st-ms-border-bold, #18181b) !important;
	border-radius: var(--st-ms-radius-sm, 6px) !important;
	box-shadow: 2px 2px 0 var(--st-ms-border, #d4d4d8) !important;
	font-weight: 600 !important;
	background: #fff !important;
}

.st-ms-theme-stingtune .st-ms-input-wrap--no-icon input:focus,
.st-ms-theme-stingtune .st-ms-input-wrap textarea:focus {
	border-color: var(--st-ms-accent, #5b21b6) !important;
	box-shadow: 2px 2px 0 rgba(91, 33, 182, 0.2), 0 0 0 3px rgba(91, 33, 182, 0.14) !important;
}

.st-ms-theme-stingtune .st-ms-btn-primary {
	background: var(--st-ms-ink, #0a0a0b) !important;
	color: #fff !important;
	border: 2px solid var(--st-ms-ink, #0a0a0b) !important;
	border-radius: var(--st-ms-radius-sm, 6px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	box-shadow: var(--st-ms-shadow-btn, 4px 4px 0 var(--st-ms-accent-bright, #7c3aed)) !important;
}

.st-ms-theme-stingtune .st-ms-btn-primary:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--st-ms-accent-bright, #7c3aed) !important;
}

.st-ms-theme-stingtune .st-ms-otp-verify-btn {
	background: var(--st-ms-ink, #0a0a0b) !important;
	border: 2px solid var(--st-ms-ink, #0a0a0b) !important;
	border-radius: var(--st-ms-radius-sm, 6px) !important;
	font-weight: 800 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	font-size: 0.95rem !important;
	box-shadow: var(--st-ms-shadow-btn, 4px 4px 0 var(--st-ms-accent-bright, #7c3aed)) !important;
	max-width: 100%;
}

.st-ms-theme-stingtune .st-ms-otp-verify-btn:hover:not(:disabled) {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--st-ms-accent-bright, #7c3aed) !important;
}

.st-ms-theme-stingtune .st-ms-otp-verify-btn:active:not(:disabled) {
	transform: translate(0, 0);
}

.st-ms-theme-stingtune .st-ms-dashboard__hero {
	background: var(--st-ms-ink, #0a0a0b);
	border: 2px solid var(--st-ms-ink, #0a0a0b);
	box-shadow: 6px 6px 0 var(--st-ms-accent-bright, #7c3aed);
}

.st-ms-theme-stingtune .st-ms-dashboard__tab.is-active {
	background: var(--st-ms-ink, #0a0a0b);
	box-shadow: 3px 3px 0 var(--st-ms-accent-bright, #7c3aed);
}

.st-ms-theme-stingtune .st-ms-dash-stat,
.st-ms-theme-stingtune .st-ms-dash-card {
	border: 2px solid var(--st-ms-border-bold, #18181b);
	box-shadow: 4px 4px 0 var(--st-ms-border, #d4d4d8);
}

.st-ms-theme-stingtune .st-ms-dash-form .st-ms-input-wrap--has-icon {
	border: 2px solid var(--st-ms-border-bold, #18181b);
}

.st-ms-theme-stingtune .st-ms-signup-plan-card {
	border: 2px solid rgba(255, 255, 255, 0.2);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.st-ms-theme-stingtune .st-ms-plan-card {
	border: 2px solid var(--st-ms-border-bold, #18181b);
	box-shadow: 4px 4px 0 var(--st-ms-border, #d4d4d8);
}

.st-ms-theme-stingtune .st-ms-plan-card:hover {
	box-shadow: 6px 6px 0 var(--st-ms-accent-bright, #7c3aed);
	transform: translate(-2px, -2px);
}

.st-ms-theme-stingtune .st-ms-price-amount {
	color: var(--st-ms-accent, #5b21b6);
	-webkit-text-fill-color: var(--st-ms-accent, #5b21b6);
	background: none;
}

/* Glass theme */
.st-ms-theme-glass .st-ms-premium-card {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
}

.st-ms-theme-glass .st-ms-premium-card__header h1,
.st-ms-theme-glass .st-ms-premium-card__header p {
	color: #fff;
}

.st-ms-theme-glass .st-ms-signup-body .st-ms-field-icon label,
.st-ms-theme-glass .st-ms-premium-auth__panel .st-ms-field-icon label {
	color: var(--st-ms-text, #0f172a) !important;
}

.st-ms-theme-glass .st-ms-input-wrap--has-icon,
.st-ms-theme-glass .st-ms-input-wrap--no-icon input,
.st-ms-theme-glass .st-ms-input-wrap textarea,
.st-ms-theme-glass .st-ms-input-wrap select {
	background: rgba(255, 255, 255, 0.95) !important;
}

.st-ms-theme-glass .st-ms-input-wrap--has-icon input {
	background: transparent !important;
	color: var(--st-ms-text, #0f172a) !important;
	-webkit-text-fill-color: var(--st-ms-text, #0f172a) !important;
}

.st-ms-theme-glass .st-ms-password-toggle,
.st-ms-theme-glass .st-ms-password-toggle:hover,
.st-ms-theme-glass .st-ms-password-toggle:focus,
.st-ms-theme-glass .st-ms-password-toggle:focus-visible,
.st-ms-theme-glass .st-ms-password-toggle.is-visible {
	color: #0a0a0b !important;
	background: transparent !important;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Minimal / centered layout */
.st-ms-layout-centered .st-ms-premium-auth__grid {
	grid-template-columns: 1fr;
	max-width: 480px;
}

.st-ms-layout-centered .st-ms-premium-auth__brand {
	display: none;
}

.st-ms-layout-centered .st-ms-premium-auth__panel {
	max-width: 100%;
}

/* Profile templates */
.st-ms-theme-compact .st-ms-profile-grid {
	grid-template-columns: 1fr;
}

.st-ms-theme-cards .st-ms-profile-main .st-ms-profile-card {
	display: inline-block;
	width: calc(50% - 0.75rem);
	vertical-align: top;
	margin-right: 1rem;
}

.st-ms-plans-wrap.st-ms-theme-minimal .st-ms-plan-card {
	box-shadow: none;
	border-radius: 0;
	border: none;
	border-bottom: 2px solid var(--st-ms-border-bold, #18181b);
}

/* =============================================================================
   Signup page — scroll performance (native momentum, no repaint-heavy effects)
   ============================================================================= */

body.st-ms-signup-page {
	scroll-behavior: auto !important;
	overscroll-behavior-y: auto;
	touch-action: pan-y;
}

body.st-ms-signup-page .st-ms-premium-auth--signup {
	isolation: isolate;
}

body.st-ms-signup-page .st-ms-premium-auth__orb {
	display: none;
}

body.st-ms-auth-page .st-ms-premium-auth__grid,
body.st-ms-auth-page .st-ms-premium-auth__grid--signup {
	position: relative;
	z-index: 1;
}

body.st-ms-signup-page .st-ms-premium-auth--signup,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-premium-card,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-signup-plan-panel__inner,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-signup-plan-panel__empty,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-signup-plan-card {
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	filter: none !important;
}

body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-animate-in,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-animate-up,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-signup-plan-panel__inner {
	animation: none !important;
}

body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-input-wrap,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-btn,
body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-plan-select-field select {
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

body.st-ms-signup-page .st-ms-premium-auth--signup .st-ms-plan-card:hover,
body.st-ms-signup-page .st-ms-theme-stingtune .st-ms-plan-card:hover {
	transform: none;
}

@media (max-width: 900px) {
	body.st-ms-signup-page .st-ms-premium-auth--signup {
		padding-bottom: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.st-ms-signup-page .st-ms-premium-auth--signup * {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}

/* —— Site-wide notification bell —— */
.st-ms-notify {
	position: fixed;
	top: auto;
	right: max(1.25rem, env(safe-area-inset-right, 0px));
	bottom: var(
		--st-ms-notify-bottom,
		max(1.25rem, env(safe-area-inset-bottom, 0px))
	);
	z-index: 99990;
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	transition: bottom 320ms cubic-bezier(0.22, 1, 0.36, 1), z-index 0s;
}

/* Above PSM mobile footer menu (menu stays on top in overlap) */
.st-ms-notify.st-ms-notify--above-nav {
	z-index: 8990;
}

/* Fallback when PSM shell is active (JS also syncs position) */
@media (max-width: 1023px) {
	body.psm-mobile-nav-enabled:not(.psm-mobile-nav-hidden) .st-ms-notify {
		bottom: calc(
			var(--psm-mobile-nav-h, 84px) + 8px + 16px + env(safe-area-inset-bottom, 0px)
		);
		z-index: 8990;
	}
}

.st-ms-notify__fab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.625rem;
	height: 3.625rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	aspect-ratio: 1;
	overflow: visible;
	background: linear-gradient(145deg, #6366f1 0%, #8b5cf6 48%, #a855f7 100%);
	color: #fff;
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.95),
		0 12px 32px rgba(99, 102, 241, 0.45),
		0 4px 12px rgba(139, 92, 246, 0.35);
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
	-webkit-tap-highlight-color: transparent;
}

.st-ms-notify__fab:hover {
	transform: translateY(-3px) scale(1.04);
	background: linear-gradient(145deg, #4f46e5 0%, #7c3aed 48%, #9333ea 100%);
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.98),
		0 16px 36px rgba(99, 102, 241, 0.5),
		0 6px 16px rgba(139, 92, 246, 0.4);
	filter: brightness(1.05);
}

.st-ms-notify__fab:focus-visible {
	outline: 2px solid #6366f1;
	outline-offset: 4px;
}

.st-ms-notify__fab:has(.st-ms-notify__badge:not([hidden])) {
	animation: st-ms-notify-pulse 2.4s ease-in-out infinite;
}

@keyframes st-ms-notify-pulse {
	0%, 100% {
		box-shadow:
			0 0 0 3px rgba(255, 255, 255, 0.95),
			0 12px 32px rgba(99, 102, 241, 0.45),
			0 4px 12px rgba(139, 92, 246, 0.35);
	}
	50% {
		box-shadow:
			0 0 0 3px rgba(255, 255, 255, 0.95),
			0 12px 32px rgba(99, 102, 241, 0.55),
			0 0 0 8px rgba(139, 92, 246, 0.22);
	}
}

.st-ms-notify__fab-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: transparent;
}

.st-ms-notify__fab-icon svg {
	display: block;
	flex-shrink: 0;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.st-ms-notify__badge {
	position: absolute;
	top: -0.25rem;
	right: -0.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.35rem;
	border-radius: 50%;
	background: linear-gradient(180deg, #f87171 0%, #ef4444 100%);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: center;
	border: 2.5px solid #fff;
	box-shadow: 0 3px 10px rgba(239, 68, 68, 0.55);
	pointer-events: none;
	z-index: 1;
}

.st-ms-notify__fab[aria-expanded="true"] {
	background: linear-gradient(145deg, #4f46e5 0%, #6d28d9 48%, #7e22ce 100%);
	transform: scale(1.02);
	box-shadow:
		0 0 0 3px rgba(255, 255, 255, 0.98),
		0 0 0 6px rgba(139, 92, 246, 0.35),
		0 12px 32px rgba(99, 102, 241, 0.45);
	animation: none;
}

.st-ms-notify__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 0.75rem);
	width: min(22rem, calc(100vw - 2rem));
	max-height: 24rem;
	overflow: hidden;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
	display: none !important;
}

.st-ms-notify.is-open .st-ms-notify__panel {
	display: flex !important;
}

.st-ms-notify__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	background: #f8fafc;
}

.st-ms-notify__head h3 {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
}

.st-ms-notify__mark-all {
	border: none;
	background: none;
	color: #5b21b6;
	font-size: 0.75rem;
	font-weight: 600;
	cursor: pointer;
	padding: 0;
}

.st-ms-notify__list {
	overflow-y: auto;
	padding: 0.5rem;
}

.st-ms-notify__item {
	padding: 0.75rem;
	border-radius: 10px;
	margin-bottom: 0.35rem;
	cursor: pointer;
	transition: background 0.15s ease;
}

.st-ms-notify__item.is-unread {
	background: #f5f3ff;
	border-left: 3px solid #7c3aed;
}

.st-ms-notify__item.is-read {
	opacity: 0.85;
}

.st-ms-notify__item-head {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.st-ms-notify__item-head strong {
	font-size: 0.8125rem;
	color: #0f172a;
}

.st-ms-notify__item-head time {
	font-size: 0.6875rem;
	color: #94a3b8;
	white-space: nowrap;
}

.st-ms-notify__item p {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #475569;
}

.st-ms-notify__link {
	display: inline-block;
	margin-top: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: #5b21b6;
	text-decoration: none;
}

.st-ms-notify__empty {
	padding: 1.5rem 1rem;
	text-align: center;
	color: #94a3b8;
	font-size: 0.875rem;
}

@media (max-width: 480px) {
	.st-ms-notify {
		right: max(0.875rem, env(safe-area-inset-right, 0px));
	}

	.st-ms-notify:not(.st-ms-notify--above-nav) {
		bottom: var(
			--st-ms-notify-bottom,
			max(0.875rem, env(safe-area-inset-bottom, 0px))
		);
	}

	.st-ms-notify__fab {
		width: 3.375rem;
		height: 3.375rem;
		box-shadow:
			0 0 0 2.5px rgba(255, 255, 255, 0.95),
			0 10px 28px rgba(99, 102, 241, 0.42),
			0 4px 10px rgba(139, 92, 246, 0.32);
	}

	.st-ms-notify__fab-icon svg {
		width: 22px;
		height: 22px;
	}

	.st-ms-notify__badge {
		min-width: 1.375rem;
		height: 1.375rem;
		font-size: 0.625rem;
		top: -0.2rem;
		right: -0.2rem;
		border-width: 2px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-ms-notify__fab:has(.st-ms-notify__badge:not([hidden])) {
		animation: none;
	}
}

/* —— Membership renewal page —— */
.st-ms-renew {
	max-width: 72rem;
	margin: 0 auto;
	padding: 1.5rem 1rem 2.5rem;
	font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.st-ms-renew__header {
	text-align: center;
	margin-bottom: 1.75rem;
}

.st-ms-renew__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.st-ms-renew__subtitle {
	margin: 0;
	font-size: 1rem;
	color: #64748b;
	line-height: 1.6;
}

.st-ms-renew__alert {
	padding: 0.875rem 1rem;
	border-radius: 12px;
	margin-bottom: 1.25rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.st-ms-renew__alert--warning {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	color: #9a3412;
}

.st-ms-renew__status {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	padding: 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.st-ms-renew__status-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.st-ms-renew__status-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.st-ms-renew__status-badge {
	display: inline-block;
}

.st-ms-renew__status-badge--active {
	color: #059669;
}

.st-ms-renew__status-badge--expired {
	color: #dc2626;
}

.st-ms-renew__status-badge--suspended {
	color: #d97706;
}

.st-ms-renew__plans-title {
	margin: 0 0 1rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f172a;
}

.st-ms-renew__grid {
	margin-bottom: 1.5rem;
}

.st-ms-renew__plan {
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.st-ms-renew__plan.is-selected {
	transform: translateY(-4px);
	box-shadow: 0 16px 36px rgba(99, 102, 241, 0.18);
	outline: 2px solid #6366f1;
	outline-offset: 2px;
}

.st-ms-renew__plan.is-current .st-ms-plan-card-inner {
	position: relative;
}

.st-ms-renew__current-tag {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #eef2ff;
	color: #4338ca;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.st-ms-renew__select {
	width: 100%;
	margin-top: 0.75rem;
}

.st-ms-renew__action {
	max-width: 28rem;
	margin: 0 auto;
	text-align: center;
}

.st-ms-renew__secure-note {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	color: #94a3b8;
}

.st-ms-renew--guest .st-ms-renew__card {
	max-width: 28rem;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	text-align: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.st-ms-renew--guest h2 {
	margin-top: 0;
}

@media (max-width: 640px) {
	.st-ms-renew {
		padding: 1rem 0.75rem 2rem;
	}

	.st-ms-renew__status {
		grid-template-columns: 1fr 1fr;
	}

	.st-ms-renew__grid.st-ms-cols-3,
	.st-ms-renew__grid.st-ms-cols-2 {
		grid-template-columns: 1fr;
	}
}
