/* =====================================================
   Top Header / Navigation Bar
   ===================================================== */
#top-head {
	z-index: 1400;
	height: var(--navbar-height);
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	transition: box-shadow 0.2s ease;
}

#top-head .uk-navbar {
	padding: 0 20px;
	border: none;
	border-radius: 0;
	height: var(--navbar-height);
	box-sizing: border-box;
	background: var(--maincolor, #3b82f6);
	gap: 12px;
}

#top-head .tm-brand {
	display: inline-block;
}

#top-head .tm-brand>a {
	line-height: calc(var(--navbar-height) - 6px);
}

/* =====================================================
   Text Logo Styles
   ===================================================== */
/* Anton is served by Google Fonts as unicode-range subsets; load subsets so Vietnamese glyphs render in the logo font */
/* vietnamese */
@font-face {
	font-family: 'TLTLImpactCondensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/tltl-impact/Anton-Regular-vietnamese.woff2') format('woff2');
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
	font-family: 'TLTLImpactCondensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/tltl-impact/Anton-Regular-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
	font-family: 'TLTLImpactCondensed';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		url('../fonts/tltl-impact/Anton-Regular.woff2') format('woff2'),
		url('../fonts/tltl-impact/Anton-Regular.ttf') format('truetype');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.tm-text-logo {
	display: inline-flex;
	align-items: center;
	height: var(--navbar-height);
	color: var(--text-on-primary);
	text-transform: uppercase;
	/* Use a heavier display-like font stack for clearer text effects */
	font-family: 'TLTLImpactCondensed', Impact, 'Arial Black', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	font-weight: 400;
	font-size: 1.5rem;
	letter-spacing: 0.12em;
	line-height: 1;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Base: keep clean; each style adds its own "Photoshop-like" effect */
	text-shadow: none;
}

/* Login/Auth: logo on light background */
.tm-text-logo.tm-text-logo--auth {
	height: auto;
	color: var(--maincolor, #3b82f6);
	font-size: 2rem;
	letter-spacing: 0.14em;
}

/* Tweak style 1 for colored text on light background */
.tm-text-logo.tm-text-logo--auth.tm-text-logo-style-1 {
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.55),
		0 10px 18px rgba(0, 0, 0, 0.18);
}

/* Auth card sizing (responsive) */
.tm-auth-card {
	width: min(92vw, 420px);
	border-radius: 16px;
	border: 1px solid var(--border-light);
	box-shadow: var(--shadow-lg);
}

.tm-auth-card .uk-input {
	height: 44px;
	font-size: 1rem;
}

@media (max-width: 480px) {
	.tm-text-logo.tm-text-logo--auth {
		font-size: 1.6rem;
	}
}

/* Style 1: Bold Simple */
.tm-text-logo-style-1 {
	font-weight: 900;
	letter-spacing: 0.14em;
	/* Photoshop-ish: drop shadow (tight + soft) */
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.25),
		0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Style 2: Gradient */
.tm-text-logo-style-2 {
	/* Photoshop-ish: letterpress / inset feel (engraved) */
	font-weight: 800;
	letter-spacing: 0.16em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.22), /* top highlight */
		0 -1px 0 rgba(0, 0, 0, 0.28),      /* inner shade */
		0 2px 6px rgba(0, 0, 0, 0.30);     /* depth */
}

/* Style 3: With Shadow */
.tm-text-logo-style-3 {
	font-weight: 900;
	letter-spacing: 0.14em;
	/* Photoshop-ish: hard shadow + ambient shadow */
	text-shadow:
		0 3px 0 rgba(0, 0, 0, 0.35),
		0 10px 18px rgba(0, 0, 0, 0.35);
}

/* Style 4: Outlined */
.tm-text-logo-style-4 {
	/* Outline but still readable */
	color: var(--text-on-primary);
	/* Photoshop-ish: stroke/outline */
	-webkit-text-stroke: 2px rgba(0, 0, 0, 0.35);
	letter-spacing: 0.16em;
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.25),
		0 8px 16px rgba(0, 0, 0, 0.35);
}

/* Style 5: Bold Large */
.tm-text-logo-style-5 {
	font-size: 1.65rem;
	font-weight: 900;
	letter-spacing: 0.18em;
	/* Photoshop-ish: subtle outer glow + shadow */
	text-shadow:
		0 0 10px rgba(255, 255, 255, 0.22),
		0 2px 0 rgba(0, 0, 0, 0.25),
		0 10px 18px rgba(0, 0, 0, 0.30);
}

/* Style 6: Thin Elegant */
.tm-text-logo-style-6 {
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	font-style: italic;
	/* Photoshop-ish: emboss / bevel illusion (highlight + shadow) */
	text-shadow:
		-1px -1px 0 rgba(255, 255, 255, 0.25),
		1px 1px 0 rgba(0, 0, 0, 0.35),
		0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Style 7: Modern with Background */
.tm-text-logo-style-7 {
	/* Photoshop-ish: glass badge + inset highlight */
	padding: 4px 12px;
	border-radius: 10px;
	letter-spacing: 0.14em;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.24);
	backdrop-filter: blur(10px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(0, 0, 0, 0.16),
		0 8px 18px rgba(0, 0, 0, 0.20);
	text-shadow:
		0 1px 2px rgba(0, 0, 0, 0.25);
}

/* Style 8: Bold with Underline */
.tm-text-logo-style-8 {
	font-weight: 900;
	letter-spacing: 0.14em;
	border-bottom: 3px solid rgba(255, 255, 255, 0.95);
	padding-bottom: 3px;
	/* Photoshop-ish: underline + shadow */
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.25),
		0 10px 18px rgba(0, 0, 0, 0.30);
}

/* Style 9: Spaced Letters */
.tm-text-logo-style-9 {
	font-weight: 900;
	letter-spacing: 0.28em;
	/* Photoshop-ish: crisp shadow + slight outline via multi-shadow */
	text-shadow:
		1px 0 0 rgba(0, 0, 0, 0.22),
		-1px 0 0 rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(0, 0, 0, 0.22),
		0 -1px 0 rgba(0, 0, 0, 0.22),
		0 10px 18px rgba(0, 0, 0, 0.28);
}

/* Style 10: Compact Bold */
.tm-text-logo-style-10 {
	font-weight: 900;
	letter-spacing: 0.06em;
	/* Photoshop-ish: strong stroke */
	-webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.40);
	text-shadow:
		0 2px 0 rgba(0, 0, 0, 0.25),
		0 8px 16px rgba(0, 0, 0, 0.32);
}

#top-head .uk-navbar .uk-navbar-nav>li>a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 12px;
	text-shadow: none;
	border: none;
	background: transparent;
	color: rgba(255, 255, 255, 0.9);
	height: var(--navbar-height);
	min-height: var(--navbar-height);
	cursor: pointer;
	line-height: var(--navbar-height);
	transition: background-color 0.15s ease, color 0.15s ease;
}

#top-head .uk-navbar .uk-navbar-nav>li>a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--text-on-primary);
}

#top-head .uk-navbar .uk-navbar-nav>li>a>img {
	border-radius: 50%;
}

#top-head .uk-navbar .uk-navbar-nav>li>a>span {
	position: relative;
}

#top-head .uk-navbar .uk-navbar-nav>li>a>i,
#top-head .uk-navbar .uk-navbar-nav>li>a>span {
	color: var(--text-on-primary);
}

#top-head .uk-navbar .uk-navbar-nav>li>a>i,
#top-head .uk-navbar .uk-navbar-nav>li>a>i:before,
#top-head .uk-navbar .uk-navbar-nav>li>a>span,
#top-head .uk-navbar .uk-navbar-nav>li>a>span:before {
	font-size: 1.25rem;
}

#top-head .uk-navbar .uk-navbar-nav>li>a .tm-indicator {
	position: absolute;
	right: 4px;
	top: 8px;
	transform: translateX(50%);
	background: var(--color-danger);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: block;
	border: 2px solid var(--maincolor, #3b82f6);
}

#top-head .uk-navbar-nav>li>a,
#top-head .uk-navbar-item,
#top-head .uk-navbar-toggle {
	min-height: var(--navbar-height);
	padding: 0 10px;
	font-size: 0.875rem;
}

#top-head .tm-leftbar-toggle {
	color: var(--text-on-primary);
	border-radius: 10px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

#top-head .uk-search-input {
	font-size: 0.875rem;
	padding: 6px 14px;
	background: rgba(255, 255, 255, 0.15);
	height: 36px;
	border-radius: 8px;
	border: 1px solid transparent;
	box-shadow: none;
	color: var(--text-on-primary);
	transition: all 0.2s ease;
}

#top-head .tm-leftbar-toggle:hover,
#top-head .tm-leftbar-toggle:focus {
	background-color: rgba(255, 255, 255, 0.12);
	color: var(--text-on-primary);
}

#top-head .tm-topbar-primary {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
}

#top-head .tm-topbar-primary > * {
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#top-head .uk-navbar-aside {
	width: auto;
	flex: 0 0 auto;
}

@media (max-width: 959px) {
	#top-head .uk-navbar {
		padding: 0 12px;
		gap: 8px;
	}

	#top-head .tm-topbar-primary {
		margin-right: 0;
	}
}

#top-head .uk-search-input::placeholder {
	color: rgba(255, 255, 255, 0.7);
}

#top-head .uk-search-input:focus {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
}

#top-head.uk-active {
	box-shadow: var(--shadow-md);
}

#top-head .uk-navbar-aside {
	width: 220px;
}

@media (max-width: 959px) {
	#top-head .uk-navbar-aside {
		width: auto;
	}
}

