/* Sting Tune AI — PMD-style app shell + auth + coming soon */

:root {
	--sting-sidebar-w: 260px;
	--sting-topbar-h: 64px;
	--sting-sidebar-bg: #2d2d2d;
	--sting-sidebar-accent: #7c7c7d;
	--sting-topbar-bg: #ffffff;
	--sting-body-bg: #171616;
	--sting-accent: #6c5ce7;
	--sting-text: #d7d7d7;
	--sting-text-muted: #9a9a9a;
	--sting-radius: 14px;
	--sting-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Logged-in app layout */
body.sting-theme {
	margin: 0;
	padding: 0;
}

body.sting-tune-app {
	background: var(--sting-body-bg) !important;
	color: var(--sting-text);
}

body.sting-tune-app .sting-main-content {
	margin-left: var(--sting-sidebar-w);
	width: calc(100vw - var(--sting-sidebar-w));
	max-width: none;
	padding: calc(var(--sting-topbar-h) + 16px) 24px 48px;
	min-height: 100vh;
	transition: margin-left 0.25s ease, width 0.25s ease;
	box-sizing: border-box;
	background: #eef1f6;
	overflow-x: hidden;
}

body.sting-tune-app .sting-page-content {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

body.sting-tune-app .pmd-wrap {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.sting-tune-app.sting-sidebar-collapsed .sting-main-content {
	margin-left: 78px;
	width: calc(100vw - 78px);
}

/* Hide page titles (admin setting) */
body.sting-hide-page-titles .entry-header,
body.sting-hide-page-titles .entry-title,
body.sting-hide-page-titles .page-title,
body.sting-hide-page-titles .wp-block-post-title,
body.sting-hide-page-titles .ast-title-bar-wrap,
body.sting-hide-page-titles article.sting-page-content > h1:first-child,
body.sting-hide-page-titles .pmd-page-header > div:first-child {
	display: none !important;
}

body.sting-hide-page-titles .pmd-page-header {
	margin-bottom: 16px;
	min-height: 0;
}

/* Fullscreen auth — no WordPress chrome */
body.sting-auth-screen {
	background: #07070d !important;
	color: #e2e8f0;
}

body.sting-auth-screen #wpadminbar {
	display: none !important;
}

.sting-auth-fullscreen {
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}

.sting-coming-soon-full {
	min-height: 100vh;
	min-height: 100dvh;
}

.sting-app-shell {
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.sting-sidebar-open .sting-app-shell {
	z-index: 1002;
}

/* Sidebar */
.sting-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	width: var(--sting-sidebar-w);
	height: 100vh;
	height: 100dvh;
	background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent), var(--sting-sidebar-bg);
	border-right: 1px solid rgba(255,255,255,0.06);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	overflow-x: hidden;
	transition: width 0.25s ease, transform 0.25s ease;
	z-index: 1002;
}

.sting-sidebar-brand {
	padding: 20px 16px 12px;
	text-align: left;
}

.sting-brand-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	min-width: 0;
	max-width: 100%;
}

.sting-brand-link--sidebar {
	justify-content: flex-start;
	width: 100%;
}

.sting-brand-link--topbar {
	flex-shrink: 0;
	min-width: 0;
}

.sting-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.sting-brand__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.sting-brand__icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
	display: block;
}

.sting-brand__icon--mark {
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
	color: #fff;
	font-size: 18px;
}

.sting-brand__name {
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sting-brand--sidebar .sting-brand__name {
	color: #fff;
}

.sting-brand--topbar .sting-brand__name {
	color: #111827;
	font-size: 15px;
}

.sting-brand-text,
.sting-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
}

.sting-brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
}

.sting-brand-logo img {
	max-height: 48px;
	width: auto;
}

.sting-sidebar-welcome {
	text-align: center;
	padding: 0 12px 16px;
	color: #fff;
}

.sting-welcome-label {
	display: block;
	font-size: 11px;
	text-transform: lowercase;
	opacity: 0.75;
}

.sting-welcome-user {
	display: block;
	font-size: 13px;
	margin-top: 4px;
	word-break: break-word;
	overflow-wrap: anywhere;
	line-height: 1.35;
	padding: 0 4px;
}

.sting-sidebar-nav {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0 8px 12px;
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.sting-sidebar-nav::-webkit-scrollbar {
	width: 4px;
	height: 0;
}

.sting-sidebar-nav::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.18);
	border-radius: 4px;
}

.sting-sidebar-nav::-webkit-scrollbar-corner {
	background: transparent;
}

.sting-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sting-nav-item {
	margin: 2px 0;
}

.sting-nav-link,
.sting-nav-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 0;
	background: transparent;
	color: var(--sting-text);
	text-decoration: none;
	border-radius: 10px;
	cursor: pointer;
	font-size: 14px;
	text-align: left;
	transition: background 0.2s;
}

.sting-nav-link:hover,
.sting-nav-toggle:hover,
.sting-nav-item.is-active > .sting-nav-link,
.sting-nav-item.is-active > .sting-nav-toggle {
	background: var(--sting-sidebar-accent);
	color: #fff;
}

.sting-nav-icon {
	width: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sting-nav-icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.sting-nav-icon .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.sting-nav-chevron {
	margin-left: auto;
	transition: transform 0.2s;
}

.sting-nav-item.is-active .sting-nav-chevron,
.sting-nav-toggle[aria-expanded="true"] .sting-nav-chevron {
	transform: rotate(90deg);
}

.sting-nav-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

.sting-submenu {
	list-style: none;
	margin: 0;
	padding: 4px 0 4px 20px;
	display: none;
}

.sting-submenu.is-open {
	display: block;
}

.sting-submenu .sting-nav-link {
	padding: 8px 10px;
	font-size: 13px;
}

.sting-sidebar-divider {
	border: 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	margin: 10px 8px;
}

.sting-sidebar-footer {
	padding: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.sting-logout-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	color: var(--sting-text);
	text-decoration: none;
	border-radius: 10px;
}

.sting-logout-link:hover {
	background: rgba(255,255,255,0.08);
	color: #fff;
}

.sting-sidebar-collapse {
	display: none;
}

/* Topbar */
.sting-main-wrap {
	pointer-events: none;
}

.sting-topbar {
	position: fixed;
	top: 0;
	left: var(--sting-sidebar-w);
	right: 0;
	height: var(--sting-topbar-h);
	background: var(--sting-topbar-bg);
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 20px;
	z-index: 1001;
	transition: left 0.25s ease;
	pointer-events: auto;
}

body.sting-sidebar-collapsed .sting-topbar {
	left: 78px;
}

.sting-topbar-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 8px;
}

.sting-topbar-toggle span {
	display: block;
	height: 2px;
	background: #333;
	border-radius: 2px;
}

.sting-topbar-brand,
.sting-brand-link--topbar {
	display: none;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: #111827;
	font-weight: 700;
	font-size: 15px;
	flex-shrink: 0;
	min-width: 0;
}

.sting-topbar-brand img {
	max-height: 36px;
	width: auto;
	display: block;
}

.sting-topbar-brand-mark {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.sting-topbar-brand span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sting-topbar-spacer {
	flex: 1;
	min-width: 8px;
}

.sting-topbar-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.sting-topbar-search-btn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #374151;
	cursor: pointer;
	border-radius: 10px;
	padding: 0;
}

.sting-topbar-search-btn:hover {
	background: #f3f4f6;
	color: #111827;
}

.sting-topbar-search-btn .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.sting-topbar-search {
	flex: 1;
	max-width: 520px;
	display: flex;
	align-items: center;
	background: #f3f4f6;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
}

.sting-topbar-search input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 10px 16px;
	font-size: 14px;
	outline: none;
}

.sting-topbar-search button {
	border: 0;
	background: var(--sting-accent);
	color: #fff;
	width: 42px;
	height: 42px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sting-topbar-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.sting-topbar-user {
	display: flex;
	align-items: center;
	gap: 10px;
}

.sting-topbar-user img {
	border-radius: 12px;
}

.sting-topbar-name {
	font-size: 14px;
	color: #374151;
	font-weight: 600;
}

.sting-profile-menu {
	position: relative;
}

.sting-profile-trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 10px 6px 6px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.sting-profile-trigger:hover,
.sting-profile-menu.is-open .sting-profile-trigger {
	border-color: #c4b5fd;
	box-shadow: 0 4px 16px rgba(108, 92, 231, 0.12);
}

.sting-profile-trigger img {
	border-radius: 10px;
	display: block;
}

.sting-profile-chevron {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #6b7280;
	transition: transform 0.15s;
}

.sting-profile-menu.is-open .sting-profile-chevron {
	transform: rotate(180deg);
}

.sting-profile-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
	padding: 8px;
	z-index: 1100;
}

.sting-profile-dropdown__head {
	padding: 10px 12px 12px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 4px;
}

.sting-profile-dropdown__head strong {
	display: block;
	font-size: 14px;
	color: #111827;
}

.sting-profile-dropdown__head span {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #6b7280;
	word-break: break-all;
}

.sting-profile-dropdown__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #374151;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
}

.sting-profile-dropdown__item .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #6b7280;
}

.sting-profile-dropdown__item:hover {
	background: #f8fafc;
	color: #111827;
}

.sting-profile-dropdown__item--logout {
	color: #dc2626;
}

.sting-profile-dropdown__item--logout .dashicons {
	color: #dc2626;
}

.sting-sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	z-index: 1001;
}

body.sting-sidebar-open .sting-sidebar {
	z-index: 1003;
}

/* Auth forms — fullscreen split layout */
.sting-auth-wrap {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: center;
	padding: 0;
	background: var(--sting-body-bg, #171616);
}

.sting-auth-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	min-height: 100vh;
	min-height: 100dvh;
}

.sting-auth-layout-single {
	grid-template-columns: 1fr;
	align-items: center;
	justify-items: center;
	padding: 24px;
}

.sting-auth-showcase {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px;
	background:
		radial-gradient(circle at 30% 20%, rgba(108, 92, 231, 0.35), transparent 45%),
		linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(0, 0, 0, 0.2));
	border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sting-auth-showcase h1 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 16px 0 12px;
}

.sting-auth-showcase p {
	color: #cbd5e1;
	font-size: 1.05rem;
	max-width: 420px;
	line-height: 1.6;
	margin: 0;
}

.sting-auth-mark-lg {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
}

.sting-auth-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px clamp(24px, 5vw, 64px);
	max-width: 520px;
	width: 100%;
	margin: 0 auto;
}

.sting-auth-card h2 {
	color: #fff;
	margin: 0 0 8px;
	font-size: 1.75rem;
}

.sting-auth-sub {
	color: var(--sting-text-muted);
	margin: 0 0 24px;
	font-size: 14px;
}

.sting-auth-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 20%, rgba(108,92,231,0.35), transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(162,155,254,0.25), transparent 45%);
	pointer-events: none;
}

.sting-auth-card {
	position: relative;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0;
	box-shadow: none;
}

.sting-auth-layout-single .sting-auth-card {
	border-radius: 24px;
	padding: 36px 32px;
	max-width: 440px;
	box-shadow: var(--sting-shadow);
}

.sting-auth-brand {
	text-align: center;
	margin-bottom: 24px;
}

.sting-auth-mark {
	display: inline-flex;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
	margin-bottom: 12px;
}

.sting-auth-brand h2 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1.5rem;
}

.sting-auth-brand p {
	margin: 0;
	color: var(--sting-text-muted);
	font-size: 14px;
}

.sting-auth-form {
	display: grid;
	gap: 16px;
}

.sting-field {
	display: grid;
	gap: 6px;
}

.sting-field span {
	font-size: 13px;
	color: #cbd5e1;
}

.sting-field input[type="text"],
.sting-field input[type="email"],
.sting-field input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255,255,255,0.12);
	background: rgba(0,0,0,0.25);
	color: #fff;
	font-size: 15px;
}

.sting-field input:focus {
	outline: 2px solid rgba(108,92,231,0.5);
	border-color: var(--sting-accent);
}

.sting-field-check {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sting-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 20px;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
}

.sting-btn-primary {
	background: linear-gradient(135deg, var(--sting-accent), #8b7cf6);
	color: #fff;
	width: 100%;
	box-shadow: 0 8px 24px rgba(108,92,231,0.35);
}

.sting-btn-primary:hover {
	transform: translateY(-1px);
	color: #fff;
}

.sting-btn-ghost {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.2);
	color: #fff;
}

.sting-auth-switch {
	text-align: center;
	margin-top: 20px;
	font-size: 14px;
	color: var(--sting-text-muted);
}

.sting-auth-switch a {
	color: #a29bfe;
}

.sting-auth-alert {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 14px;
}

.sting-auth-error {
	background: rgba(239,68,68,0.15);
	border: 1px solid rgba(239,68,68,0.35);
	color: #fecaca;
}

.sting-auth-success {
	background: rgba(34,197,94,0.15);
	border: 1px solid rgba(34,197,94,0.35);
	color: #bbf7d0;
}

/* Coming soon */
.sting-coming-soon {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	background: var(--sting-body-bg) center/cover no-repeat;
	border-radius: var(--sting-radius);
	overflow: hidden;
}

.sting-coming-soon-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.85));
}

.sting-coming-soon-inner {
	position: relative;
	text-align: center;
	max-width: 720px;
}

.sting-coming-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(108,92,231,0.25);
	border: 1px solid rgba(108,92,231,0.45);
	color: #ddd6fe;
	font-size: 13px;
	margin-bottom: 16px;
}

.sting-coming-soon h1 {
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.2rem);
	margin: 0 0 16px;
}

.sting-coming-soon p {
	color: #cbd5e1;
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 28px;
}

.sting-countdown {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.sting-countdown div {
	min-width: 80px;
	padding: 16px;
	border-radius: 16px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
}

.sting-countdown strong {
	display: block;
	font-size: 2rem;
	color: #fff;
	line-height: 1;
}

.sting-countdown span {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.sting-coming-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.sting-coming-actions .sting-btn {
	min-width: 140px;
}

/* Mobile */
@media (max-width: 991px) {
	body.sting-tune-app .sting-main-content {
		margin-left: 0 !important;
		width: 100% !important;
		padding: calc(var(--sting-topbar-h) + 12px) 16px 32px;
	}

	body.sting-tune-app .sting-page-content {
		padding: 0;
	}

	.sting-auth-layout {
		grid-template-columns: 1fr;
	}

	.sting-auth-showcase {
		display: none;
	}

	.sting-auth-card {
		max-width: none;
		padding: 32px 20px;
	}

	.sting-sidebar {
		transform: translateX(-100%);
		width: min(280px, 88vw);
	}

	body.sting-sidebar-open .sting-sidebar {
		transform: translateX(0);
	}

	body.sting-sidebar-open .sting-sidebar-overlay {
		display: block;
	}

	.sting-topbar {
		left: 0 !important;
		padding: 0 12px;
		gap: 10px;
	}

	.sting-topbar-brand,
	.sting-brand-link--topbar {
		display: inline-flex;
		max-width: 42vw;
	}

	.sting-topbar-toggle {
		display: flex;
		flex-shrink: 0;
	}

	.sting-topbar-search-wrap {
		flex-shrink: 0;
	}

	.sting-topbar-search {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		right: 0;
		width: min(320px, calc(100vw - 24px));
		max-width: none;
		z-index: 1100;
		box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
	}

	body.sting-search-open .sting-topbar-search {
		display: flex;
	}

	.sting-topbar-search-btn {
		display: flex;
	}

	.sting-topbar-name {
		display: none;
	}
}

@media (max-width: 575px) {
	.sting-topbar-search input {
		font-size: 13px;
		padding: 8px 12px;
	}

	.sting-auth-card {
		padding: 28px 20px;
	}
}

/* Sidebar submenu row + badge */
.sting-nav-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: 100%;
	max-width: 100%;
}

.sting-nav-row .sting-nav-parent-link,
.sting-nav-row > .sting-nav-toggle {
	flex: 1;
	min-width: 0;
}

.sting-nav-expand {
	flex-shrink: 0;
	width: 36px;
	border: 0;
	background: transparent;
	color: var(--sting-text);
	cursor: pointer;
	border-radius: 0 10px 10px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sting-nav-expand:hover {
	background: rgba(255, 255, 255, 0.08);
}

.sting-nav-badge {
	margin-left: auto;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 2px 7px;
	border-radius: 999px;
	background: rgba(246, 194, 62, 0.2);
	color: #f6c23e;
	flex-shrink: 0;
}

.sting-nav-item.is-under-process .sting-nav-label {
	opacity: 0.92;
}

/* Under process page */
.sting-under-process {
	text-align: center;
	padding: 48px 24px 64px;
	max-width: 560px;
	margin: 0 auto;
}

.sting-up-animation {
	position: relative;
	width: 160px;
	height: 160px;
	margin: 0 auto 28px;
}

.sting-up-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(108, 92, 231, 0.35);
	animation: stingUpPulse 2.4s ease-out infinite;
}

.sting-up-ring-2 { animation-delay: 0.4s; inset: 12px; }
.sting-up-ring-3 { animation-delay: 0.8s; inset: 24px; }

.sting-up-icon {
	position: absolute;
	inset: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--sting-accent), #a29bfe);
	display: flex;
	align-items: center;
	justify-content: center;
	animation: stingUpBounce 2s ease-in-out infinite;
}

.sting-up-icon .dashicons {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: #fff;
}

.sting-under-process h1 {
	font-size: 2rem;
	color: #2e2f37;
	margin: 0 0 8px;
}

.sting-up-badge {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(246, 194, 62, 0.15);
	color: #d97706;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 16px;
}

.sting-up-message {
	color: #6b7280;
	line-height: 1.6;
	margin-bottom: 24px;
}

.sting-up-progress {
	height: 6px;
	background: #e5e7eb;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 28px;
}

.sting-up-progress span {
	display: block;
	height: 100%;
	width: 45%;
	background: linear-gradient(90deg, var(--sting-accent), #a29bfe);
	border-radius: 999px;
	animation: stingUpProgress 2.2s ease-in-out infinite;
}

.sting-up-back { display: inline-flex; min-width: 180px; }

@keyframes stingUpPulse {
	0% { transform: scale(0.85); opacity: 0.9; }
	70% { transform: scale(1.15); opacity: 0; }
	100% { opacity: 0; }
}

@keyframes stingUpBounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

@keyframes stingUpProgress {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(80%); }
	100% { transform: translateX(220%); }
}

/* Auth v2 — unique fullscreen design */
.sting-auth-v2 .sting-auth-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.sting-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	animation: stingOrbFloat 12s ease-in-out infinite;
}

.sting-orb-1 {
	width: 420px; height: 420px;
	background: #6c5ce7;
	top: -80px; left: -60px;
}

.sting-orb-2 {
	width: 320px; height: 320px;
	background: #a29bfe;
	bottom: 10%; right: -40px;
	animation-delay: -4s;
}

.sting-orb-3 {
	width: 260px; height: 260px;
	background: #fd79a8;
	top: 40%; left: 35%;
	animation-delay: -7s;
	opacity: 0.35;
}

.sting-auth-gridlines {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.sting-auth-layout-v2 .sting-auth-showcase {
	border-right: 1px solid rgba(255,255,255,0.08);
	padding: 56px 48px;
}

.sting-auth-logo-ring {
	width: 88px;
	height: 88px;
	border-radius: 24px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	box-shadow: 0 0 40px rgba(108,92,231,0.25);
}

.sting-auth-features {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
}

.sting-auth-features li {
	padding: 10px 0 10px 28px;
	position: relative;
	color: #cbd5e1;
	font-size: 15px;
}

.sting-auth-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #a29bfe;
	font-weight: 700;
}

.sting-auth-stat-row {
	display: flex;
	gap: 20px;
	margin-top: 28px;
}

.sting-auth-stat-row div {
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 14px;
	padding: 14px 18px;
	min-width: 80px;
}

.sting-auth-stat-row strong {
	display: block;
	color: #fff;
	font-size: 1.25rem;
}

.sting-auth-stat-row span {
	font-size: 12px;
	color: #94a3b8;
	text-transform: uppercase;
}

.sting-auth-glass {
	background: rgba(10, 10, 18, 0.55) !important;
	backdrop-filter: blur(20px);
	border-left: 1px solid rgba(255,255,255,0.08);
	justify-content: center;
}

.sting-auth-kicker {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 11px;
	color: #a29bfe;
	margin: 0 0 8px;
}

.sting-field-icon {
	position: relative;
}

.sting-field-icon-wrap {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
}

.sting-field-icon input {
	padding-left: 42px !important;
}

.sting-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sting-auth-inline-link {
	color: #a29bfe;
	font-size: 13px;
	text-decoration: none;
}

.sting-btn-glow {
	box-shadow: 0 8px 32px rgba(108, 92, 231, 0.45);
}

.sting-btn-glow:hover {
	box-shadow: 0 12px 40px rgba(108, 92, 231, 0.55);
}

@keyframes stingOrbFloat {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(20px, -15px) scale(1.05); }
	66% { transform: translate(-15px, 10px) scale(0.95); }
}

.sting-auth-embed .sting-auth-wrap {
	min-height: auto;
	border-radius: var(--sting-radius);
	overflow: hidden;
}

/* ═══ Auth Pro — professional login / signup / reset ═══ */
.sting-auth-pro {
	--auth-bg: #07070d;
	--auth-panel: #0d0d14;
	--auth-card: #12121a;
	--auth-border: rgba(255, 255, 255, 0.1);
	--auth-text: #f1f5f9;
	--auth-muted: #94a3b8;
	--auth-input-bg: #1a1a26;
	--auth-accent: var(--sting-accent, #6c5ce7);
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	width: 100%;
	display: flex;
	background: var(--auth-bg);
	color: var(--auth-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sting-auth-pro--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.sting-auth-pro--center {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.sting-auth-pro--center .sting-auth-pro__panel {
	width: 100%;
	max-width: min(440px, 100%);
	margin: 0 auto;
	flex: 0 0 auto;
}

.sting-auth-pro__mesh {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 20% 10%, rgba(108, 92, 231, 0.45), transparent 55%),
		radial-gradient(ellipse 60% 50% at 85% 75%, rgba(162, 155, 254, 0.3), transparent 50%),
		radial-gradient(ellipse 40% 40% at 50% 50%, rgba(253, 121, 168, 0.12), transparent 45%);
	pointer-events: none;
}

.sting-auth-pro__mesh--full {
	position: fixed;
	z-index: 0;
}

.sting-auth-pro__hero {
	position: relative;
	display: flex;
	align-items: center;
	padding: clamp(32px, 6vw, 72px);
	border-right: 1px solid var(--auth-border);
	overflow: hidden;
}

.sting-auth-pro__hero-inner {
	position: relative;
	z-index: 1;
	max-width: 480px;
}

.sting-auth-pro__logo {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	background: linear-gradient(145deg, var(--auth-accent), #a29bfe);
	box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
	margin-bottom: 28px;
}

.sting-auth-pro__logo--center {
	margin: 0 auto 20px;
}

.sting-auth-pro__logo--img {
	background: transparent !important;
	box-shadow: none !important;
	width: 72px;
	height: 72px;
	padding: 0;
	border-radius: 18px;
	overflow: hidden;
}

.sting-auth-pro__logo--img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 22%;
}

.sting-auth-pro__panel-logo {
	display: none;
	margin-bottom: 20px;
}

.sting-auth-pro__hero h1 {
	margin: 0 0 14px;
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	letter-spacing: -0.02em;
}

.sting-auth-pro__hero > .sting-auth-pro__hero-inner > p,
.sting-auth-pro__hero p {
	margin: 0;
	color: var(--auth-muted);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 420px;
}

.sting-auth-pro__perks {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.sting-auth-pro__perks li {
	position: relative;
	padding-left: 28px;
	color: #cbd5e1;
	font-size: 15px;
}

.sting-auth-pro__perks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(108, 92, 231, 0.25);
	border: 1px solid rgba(162, 155, 254, 0.6);
	box-shadow: inset 0 0 0 3px var(--auth-bg);
}

.sting-auth-pro__perks li::after {
	content: "✓";
	position: absolute;
	left: 4px;
	top: 5px;
	font-size: 10px;
	color: #a29bfe;
	font-weight: 700;
}

.sting-auth-pro__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.sting-auth-pro__stats div {
	flex: 1;
	min-width: 90px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--auth-border);
}

.sting-auth-pro__stats strong {
	display: block;
	font-size: 1.35rem;
	color: #fff;
	line-height: 1.2;
}

.sting-auth-pro__stats span {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--auth-muted);
}

.sting-auth-pro__panel {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 5vw, 56px);
	background: var(--auth-panel);
}

.sting-auth-pro--center .sting-auth-pro__panel {
	width: 100%;
	max-width: min(440px, 100%);
	padding: 0;
	background: transparent;
	margin: 0 auto;
}

.sting-auth-pro__card {
	width: 100%;
	max-width: 420px;
}

.sting-auth-pro__card--narrow {
	max-width: 440px;
	padding: clamp(28px, 5vw, 40px);
	background: var(--auth-card);
	border: 1px solid var(--auth-border);
	border-radius: 20px;
	box-shadow:
		0 24px 80px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.sting-auth-pro__head {
	margin-bottom: 28px;
}

.sting-auth-pro__head--center {
	text-align: center;
}

.sting-auth-pro__eyebrow {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #a29bfe;
}

.sting-auth-pro__head h2 {
	margin: 0 0 8px;
	font-size: 1.65rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.sting-auth-pro__sub {
	margin: 0;
	color: var(--auth-muted);
	font-size: 15px;
	line-height: 1.5;
}

.sting-auth-pro__form {
	display: grid;
	gap: 18px;
}

.sting-auth-pro__field label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #cbd5e1;
}

.sting-auth-pro__input-wrap input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid var(--auth-border);
	background: var(--auth-input-bg);
	color: #fff;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.sting-auth-pro__input-wrap input::placeholder {
	color: rgba(148, 163, 184, 0.75);
}

.sting-auth-pro__input-wrap input:hover {
	border-color: rgba(255, 255, 255, 0.18);
}

.sting-auth-pro__input-wrap input:focus {
	outline: none;
	border-color: var(--auth-accent);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.25);
	background: #1e1e2a;
}

.sting-auth-pro__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.sting-auth-pro__check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--auth-muted);
	cursor: pointer;
}

.sting-auth-pro__check input {
	width: 16px;
	height: 16px;
	accent-color: var(--auth-accent);
}

.sting-auth-pro__link {
	font-size: 14px;
	font-weight: 500;
	color: #a29bfe;
	text-decoration: none;
}

.sting-auth-pro__link:hover {
	color: #c4b5fd;
	text-decoration: underline;
}

.sting-auth-pro__btn {
	width: 100%;
	margin-top: 4px;
	padding: 14px 20px;
	border: 0;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	background: linear-gradient(135deg, var(--auth-accent), #8b7cf6);
	box-shadow: 0 10px 30px rgba(108, 92, 231, 0.35);
	transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.sting-auth-pro__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 36px rgba(108, 92, 231, 0.45);
	filter: brightness(1.05);
}

.sting-auth-pro__btn:active {
	transform: translateY(0);
}

.sting-auth-pro__foot {
	margin: 24px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--auth-muted);
}

.sting-auth-pro__foot a {
	color: #a29bfe;
	font-weight: 600;
	text-decoration: none;
}

.sting-auth-pro__foot a:hover {
	color: #c4b5fd;
	text-decoration: underline;
}

.sting-auth-pro__alert {
	padding: 12px 14px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.5;
}

.sting-auth-pro__alert--error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
	color: #fecaca;
}

.sting-auth-pro__alert--success {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	color: #bbf7d0;
}

.sting-auth-pro__social {
	margin-bottom: 14px;
}

.sting-google-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 48px;
	padding: 11px 16px;
	box-sizing: border-box;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: #f8fafc;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: background 0.15s, border-color 0.15s;
}

.sting-google-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
}

.sting-google-btn__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.sting-auth-pro__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 12px;
	text-transform: lowercase;
}

.sting-auth-pro__divider::before,
.sting-auth-pro__divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}

.sting-auth-pro__divider span {
	padding: 0 4px;
}

.sting-auth-embed .sting-auth-pro {
	min-height: 640px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.sting-auth-embed .sting-auth-pro--center {
	min-height: auto;
	padding: 32px 16px;
}

@media (max-width: 991px) {
	.sting-auth-pro--split {
		grid-template-columns: 1fr;
	}

	.sting-auth-pro__hero {
		display: none;
	}

	.sting-auth-pro__panel {
		min-height: 100vh;
		min-height: 100dvh;
	}

	.sting-auth-pro__panel-logo {
		display: block;
	}

	.sting-auth-pro--center {
		padding: 16px;
		min-height: 100vh;
		min-height: 100dvh;
		justify-content: center;
	}

	.sting-auth-pro--center .sting-auth-pro__panel {
		max-width: 100%;
	}

	.sting-auth-pro__card--narrow {
		margin: 0 auto;
		width: 100%;
		box-sizing: border-box;
	}
}

/* Profile page */
.sting-profile-page {
	max-width: 960px;
	margin: 0 auto;
}

.sting-profile-page__head h1 {
	margin: 0 0 6px;
	font-size: 1.75rem;
	color: #111827;
}

.sting-profile-page__head p {
	margin: 0 0 24px;
	color: #6b7280;
}

.sting-profile-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.sting-profile-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.sting-profile-card h2 {
	margin: 0 0 8px;
	font-size: 1.15rem;
	color: #111827;
}

.sting-profile-card__sub {
	margin: 0 0 20px;
	font-size: 14px;
	color: #6b7280;
}

.sting-profile-details {
	margin: 0;
	display: grid;
	gap: 14px;
}

.sting-profile-details div {
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.sting-profile-details div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.sting-profile-details dt {
	margin: 0 0 4px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
	font-weight: 600;
}

.sting-profile-details dd {
	margin: 0;
	font-size: 15px;
	color: #1f2937;
	font-weight: 500;
	word-break: break-word;
}

.sting-profile-form {
	display: grid;
	gap: 14px;
}

.sting-profile-field span {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.sting-profile-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	font-size: 15px;
}

.sting-profile-field input:focus {
	outline: none;
	border-color: var(--sting-accent, #6c5ce7);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.sting-profile-field input:disabled,
.sting-profile-field input[readonly] {
	background: #f8fafc;
	color: #64748b;
	cursor: not-allowed;
}

.sting-profile-field input[type="file"] {
	padding: 8px 0;
	border: 0;
	background: transparent;
}

.sting-profile-avatar-block {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding-bottom: 6px;
}

.sting-profile-avatar-preview img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	border: 3px solid #eef2ff;
	box-shadow: 0 4px 16px rgba(108, 92, 231, 0.15);
}

.sting-profile-avatar-controls {
	flex: 1;
	min-width: 0;
}

.sting-profile-help {
	margin: 0 0 10px;
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.45;
}

.sting-profile-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #64748b;
	cursor: pointer;
}

.sting-profile-check input {
	width: auto;
	margin: 0;
}

.sting-profile-details--compact {
	margin-top: 4px;
}

.sting-profile-btn {
	margin-top: 4px;
	padding: 12px 18px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--sting-accent, #6c5ce7), #8b7cf6);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.sting-profile-alert {
	padding: 12px 14px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-size: 14px;
}

.sting-profile-alert--success {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
}

.sting-profile-alert--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

@media (max-width: 767px) {
	.sting-profile-grid {
		grid-template-columns: 1fr;
	}

	.sting-profile-avatar-block {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.sting-profile-avatar-controls {
		width: 100%;
	}

	.sting-topbar-name {
		display: none;
	}
}
