/**
 * Theme / shared left sidebar
 */

.main-leftside {
	height: 100vh;
	overflow-y: auto;
	position: sticky;
	top: 0;
	padding-bottom: 20px;
	/* Hide scrollbar until hover */
	scrollbar-width: none;
}

.main-leftside::-webkit-scrollbar {
	width: 0;
	height: 0;
	background: transparent;
}

.main-leftside:hover {
	scrollbar-width: thin;
	scrollbar-color: #888 transparent;
}

.main-leftside:hover::-webkit-scrollbar {
	width: 4px;
}

.main-leftside:hover::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 10px;
}

.main-leftside:hover::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 10px;
}

.leftside-feed.sticky-top {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1020;
}

.leftside-feed {
	padding-bottom: 20px;
	text-align: left;
	/* Parent (.main-leftside) handles scroll — avoids double bars */
	max-height: none;
	overflow: visible;
}

.tls-wrap {
	width: 100%;
	padding: 4px 4px 12px;
}

.tls-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.tls-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 8px;
	border-radius: 10px;
	text-decoration: none;
	color: #1f2937;
	transition: background 0.15s ease, color 0.15s ease;
}

.tls-link:hover {
	background: rgba(0, 106, 247, 0.06);
	color: #111827;
	text-decoration: none;
}

.tls-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #4b5563;
	font-size: 16px;
}

.tls-icon img {
	max-width: 22px;
	max-height: 22px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.tls-label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	position: relative;
	display: inline-block;
}

.tls-link.is-active,
.tls-item.is-active .tls-link {
	color: #006af7;
}

.tls-link.is-active .tls-label,
.tls-item.is-active .tls-label {
	color: #006af7;
	font-weight: 700;
}

.tls-link.is-active .tls-label::after,
.tls-item.is-active .tls-label::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: #006af7;
	border-radius: 2px;
}

.tls-link.is-active .tls-icon,
.tls-item.is-active .tls-icon {
	color: #006af7;
}

.tls-create-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 18px 0 0;
	padding: 13px 18px;
	border: none;
	border-radius: 999px;
	background: #006af7;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 6px 16px rgba(0, 106, 247, 0.28);
	cursor: pointer;
	transition: background 0.15s ease;
}

.tls-create-btn:hover,
.tls-create-btn:focus {
	background: #0058d4;
	color: #fff !important;
	text-decoration: none !important;
}

.tls-divider {
	border: 0;
	border-top: 1px solid #e5e7eb;
	margin: 16px 0 14px;
}

.tls-app-card {
	background: #eef1f5;
	border-radius: 16px;
	padding: 16px 14px 14px;
	text-align: center;
}

.tls-app-title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: #0b2c5f;
}

.tls-app-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.tls-app-qr {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	box-sizing: border-box;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.tls-app-qr img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.tls-app-stores {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.tls-app-stores a {
	display: block;
	line-height: 0;
}

.tls-app-stores img {
	height: 30px;
	width: auto;
	display: block;
	border-radius: 6px;
}
