/**
 * Tacoma Connect — shared styles beyond Tailwind utilities.
 * Complements DESIGN.md (Cultural Architecture).
 */

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
	vertical-align: middle;
}

.glass-panel,
.glass-card {
	background: rgba(37, 37, 42, 0.4);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.glass {
	backdrop-filter: blur(20px);
	background: rgba(37, 37, 42, 0.4);
}

.asymmetric-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
}

.glow-primary:hover {
	box-shadow: 0 0 15px rgba(255, 137, 171, 0.4);
}

.text-neon-glow {
	text-shadow: 0 0 10px rgba(0, 227, 253, 0.3);
}

.asymmetric-clip {
	clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 95%);
}

.text-glow-primary {
	text-shadow: 0 0 15px rgba(255, 137, 171, 0.4);
}

.text-glow-secondary {
	text-shadow: 0 0 15px rgba(0, 227, 253, 0.4);
}

.text-glow-pink {
	text-shadow: 0 0 15px rgba(255, 137, 171, 0.5);
}

.text-glow-blue {
	text-shadow: 0 0 15px rgba(0, 227, 253, 0.5);
}

.neo-shadow {
	box-shadow: 0 0 15px rgba(255, 137, 171, 0.15);
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.neon-glow-primary:hover {
	box-shadow: 0 0 15px rgba(255, 137, 171, 0.4);
}

.neon-glow-secondary:hover {
	box-shadow: 0 0 15px rgba(0, 227, 253, 0.4);
}

.radar-ping {
	animation: tc-radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes tc-radar-ping {
	75%,
	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}

/* Map page glass panel variant */
body.page-template-page-map .glass-panel {
	background: rgba(19, 19, 22, 0.6);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

/* Skip link accessibility */
.tc-skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999999;
	padding: 0.5rem 1rem;
	background: #ff89ab;
	color: #62002d;
	font-weight: 700;
}

.tc-skip-link:focus {
	left: 0.5rem;
	top: 0.5rem;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Hype button (AJAX) — stays lit after hype */
.hype-button.hyped {
	background-color: rgba(255, 137, 171, 0.95) !important;
	color: #62002d !important;
	box-shadow: 0 0 20px rgba(255, 137, 171, 0.55);
}

.hype-button__count {
	transition: transform 0.25s ease, opacity 0.25s ease;
	font-variant-numeric: tabular-nums;
}

.hype-button[aria-busy='true'] {
	opacity: 0.75;
	pointer-events: none;
}

/* Themed login form (wp_login_form) — PNW Neon / glass */
.tc-login-shell {
	box-shadow:
		0 0 0 1px rgba(255, 137, 171, 0.06),
		0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.tc-login-form .login-username label,
.tc-login-form .login-password label {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(240, 237, 241, 0.72);
	margin-bottom: 0.5rem;
	font-family: 'Space Grotesk', system-ui, sans-serif;
}

.tc-login-form .login-username,
.tc-login-form .login-password {
	margin-bottom: 0;
}

.tc-login-form input[type='text'],
.tc-login-form input[type='password'] {
	width: 100%;
	background: transparent;
	border: none;
	border-bottom: 2px solid rgba(72, 71, 75, 0.55);
	color: #f0edf1;
	padding: 0.75rem 0;
	outline: none;
	border-radius: 0;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.tc-login-form input[type='text']:focus,
.tc-login-form input[type='password']:focus {
	border-color: #00e3fd;
	box-shadow: 0 8px 24px rgba(0, 227, 253, 0.12);
}

.tc-login-form .login-remember {
	margin-top: 0.5rem;
}

.tc-login-form .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: none;
	font-size: 0.875rem;
	color: rgba(240, 237, 241, 0.85);
	cursor: pointer;
}

.tc-login-form .login-remember input[type='checkbox'] {
	width: 1rem;
	height: 1rem;
	accent-color: #ff89ab;
}

.tc-login-form .login-submit {
	margin-top: 0.25rem;
}

.tc-login-submit:active {
	transform: scale(0.98);
}
