@charset "utf-8";

.cbc-header {
	height: 82px;
	background: #02041a;
	color: #fff;
	position: relative;
	z-index: 100;
}

.cbc-header__inner {
	height: 100%;
	display: flex;
	align-items: center;
}

.cbc-header__logo {
	width: 210px;
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	position: relative;
	z-index: 102;
}

.cbc-header__logo strong {
	font-size: 17px;
	font-weight: 800;
}

.cbc-header__logo span {
	margin-top: 2px;
	font-size: 13px;
	font-weight: 500;
}

.cbc-header__nav {
	display: flex;
	align-items: center;
	gap: 34px;
	margin-left: auto;
}

.cbc-header__nav > a {
	position: relative;
	font-size: 16px;
	font-weight: 500;
}

.cbc-header__nav > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -9px;
	width: 0;
	height: 2px;
	background: #fff;
	transform: translateX(-50%);
	transition: width .25s;
}

.cbc-header__nav > a:hover::after {
	width: 100%;
}

.cbc-header__actions {
	display: flex;
	gap: 12px;
	margin-left: 36px;
}

.cbc-header__apply,
.cbc-header__history {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 9px 22px;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 550;
}

.cbc-header__apply {
	background: #1684f8;
	color: #fff;
}

.cbc-header__history {
	border: 1px solid rgba(255,255,255,.35);
	color: #fff;
}

.cbc-header__mobile-actions {
	display: none;
}

.cbc-header__actions {
	display: flex;
}

.cbc-header__menu-button {
	width: 42px;
	height: 42px;
	margin-left: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	position: relative;
	z-index: 102;
	cursor: pointer;
}

.cbc-header__menu-button span {
	width: 24px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transition: transform .25s, opacity .25s;
}

@media(max-width:1024px) {
	.cbc-header__nav {
		width: 100%;
		height: 100vh;
		padding: 100px 32px 40px;
		position: fixed;
		left: 0;
		top: 0;
		background: #02041a;
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		z-index: 999;
	}

	.cbc-header__nav.is-open {
		display: flex;
	}

	.cbc-header__apply, .cbc-header__history {
		padding: 11px 15px;
	}
	.cbc-header__mobile-actions {
	    gap: 17px;
	}

	.cbc-header__nav > a {
		width: 100%;
		padding: 18px 0;
		border-bottom: 1px solid rgba(255,255,255,.12);
		font-size: 18px;
		font-weight: 700;
	}

	.cbc-header__nav > a::after {
		display: none;
	}

	.cbc-header__actions {
		margin-left: auto;
	}

	.cbc-header__menu-button {
		display: flex;
		position: relative;
		z-index: 1000;

		margin-left: auto;
	}

	.cbc-header__menu-button.is-open span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.cbc-header__menu-button.is-open span:nth-child(2) {
		opacity: 0;
	}

	.cbc-header__menu-button.is-open span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.cbc-header__mobile-actions {
		width: 100%;
		margin-top: 28px;
		display: flex;
		gap: 20px;
	}

	.cbc-header__mobile-actions a {
		flex: 1;
	}

	body.cbc-menu-open {
		overflow: hidden;
	}
}

@media(max-width:768px) {
	.cbc-header {
		height: 70px;
	}

	.cbc-header__logo {
		width: 180px;
	}

	/* .cbc-header__actions {
		display: none;
	} */

	.cbc-header__nav {
		padding: 88px 24px 32px;
	}

	.cbc-header__nav > a {
		font-size: 17px;
	}

	.cbc-header__mobile-actions {
		flex-direction: column;
	}
	.cbc-header__menu-button {
		margin-left: auto;
	}
}

@media(max-width:480px) {
	.cbc-header__logo {
		width: 150px;
	}
	.cbc-header__logo strong {
		font-size: 13px;
	}

	.cbc-header__logo span {
		font-size: 11px;
	}

	.cbc-header__menu-button {
		width: 38px;
		height: 38px;
	}

	.cbc-header__menu-button span {
		width: 22px;
	}
}