@import url("global.css");

.top-header {
	display: flex;
	align-items: center;
	height: 78px;
	padding: 0 32px;
	border-bottom: 1px solid #e5eaf3;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px);
}

.brand {
	display: flex;
	align-items: center;
	width: 230px;
	height: 58px;
	text-decoration: none;
}

.brand img {
	display: block;
	width: 190px;
	height: auto;
	max-height: 58px;
	object-fit: contain;
	object-position: left center;
}

.main-tabs {
	display: flex;
	align-items: center;
	height: 100%;
	gap: 34px;
}

.main-tab {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 100%;
	font-size: 17px;
	font-weight: 700;
	color: #111827;
}

.main-tab span {
	font-size: 22px;
	line-height: 1;
}

.main-tab.active {
	color: #2563eb;
}

.main-tab.active::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: #2563eb;
	border-radius: 10px 10px 0 0;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
}

.icon-button,
.user-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: #f3f6fb;
	font-size: 24px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.top-header {
		height: auto;
		flex-wrap: wrap;
		padding: 18px 18px 0;
	}

	.brand {
		width: auto;
		height: 46px;
	}

	.brand img {
		width: 150px;
		max-height: 46px;
	}

	.header-actions {
		margin-left: auto;
	}

	.icon-button,
	.user-button {
		width: 42px;
		height: 42px;
		font-size: 22px;
	}

	.main-tabs {
		order: 3;
		width: 100%;
		justify-content: space-around;
		margin-top: 18px;
		gap: 0;
	}

	.main-tab {
		flex-direction: column;
		justify-content: center;
		min-width: 90px;
		padding: 12px 0;
		font-size: 13px;
	}

	.main-tab span {
		font-size: 24px;
	}
}
