/* HEADER */
.header {
	z-index: 999;
	flex: 0 0 auto;
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 4px rgba(56, 50, 48, 0.05), 0 1px 0 rgba(56, 50, 48, 0.08);
	background-color: #fff;
	padding: 0.3rem 1rem;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.4s ease-in-out, opacity 0.4s ease;
}

.header-hidden {
	transform: translateY(-100%);
	opacity: 0;
}

/* стиль логотипа */
.logo {
	color: #ffffff;
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease-in-out;
	position: absolute;
	left: 1rem;
	cursor: pointer;
}

.logo:hover {
	color: #ffff00; /* Яркий акцентный цвет */
	text-shadow: 0 0 5px rgba(37, 117, 252, 0.7); /* Легкое свечение */
}
.logo:hover svg {
	fill: #ffff00; /* Яркий акцентный цвет */
}

.logo sup {
	font-size: 1rem;
}

.logo svg {
	width: 2rem;
	height: 2rem;
	margin-right: -0.2rem;
	border-radius: 0.2rem;
}
/* стиль логотипа */

/* кнопка добавления публикации */
.add__btn {
	background: #2575fc;
	color: #fff;
	border-radius: 0.5rem;
	border-radius: 25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Roboto, sans-serif;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	padding: 0.3rem 1rem;
	/* height: 35px; */
	transition: all 0.2s ease-in-out;

	background-color: #ffff00;
	color: #1a202c;
	font-weight: 800; /* Очень жирный шрифт */
	padding: 10px 25px;
	border-radius: 25px;
	box-shadow: 0 0 15px rgba(255, 255, 0, 0.9); /* Желтое свечение */
	transition: all 0.3s ease;
}

.add__btn:hover {
	box-shadow: 0 0 25px rgba(255, 255, 0, 1); /* Усиление при наведении */
	transform: scale(1.05);
}

.add__btn .icon {
	width: 20px;
	height: 20px;
	margin-right: 8px;
	fill: currentColor;
}
/* кнопка добавления публикации */

/* анимация кнопки меню */
.menu_btn {
	position: absolute;
	right: 1rem;
}

.menu {
	background-color: transparent;
	border: none;
	cursor: pointer;
	display: flex;
	padding: 0;
	position: relative;
}
.line {
	fill: none;
	stroke: rgb(255, 255, 255);
	stroke-width: 6;
	transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.line2 {
	stroke-dasharray: 60 60;
	stroke-width: 6;
}
.line3 {
	stroke-dasharray: 60 207;
	stroke-width: 6;
}
.opened .line1 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}
.opened .line2 {
	stroke-dasharray: 1 60;
	stroke-dashoffset: -30;
	stroke-width: 6;
}
.opened .line3 {
	stroke-dasharray: 90 207;
	stroke-dashoffset: -134;
	stroke-width: 6;
}

.menu:hover .line {
	stroke: #ffff00;
}
/* анимация кнопки меню */

/* стиль выпадающего меню */
.option {
	position: absolute;
	top: 3.5rem;
	right: 0;
	width: 20rem;
	background-color: #ffffff;
	border-radius: 1rem;
	display: none;
	z-index: 1000;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 10px rgba(37, 117, 252, 0.2);
}

.option__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	color: #413936;
	padding: 1rem;
	transition: all 0.2s ease-in-out;
	position: relative;

	color: #212529; /* Темный текст */
	font-weight: 600;
	padding: 1rem;
	transition: all 0.3s ease-in-out;
	cursor: pointer;
	border-radius: 0.5rem;
	position: relative;

	color: #6c757d; /* Серый текст по умолчанию */
	padding: 8px 12px;
	border-bottom: 2px solid transparent; /* Линия по умолчанию */
	transition: all 0.3s ease;
}

.option__item svg {
	fill: #6c757d; /* Серые иконки по умолчанию */
}

.option__item:hover svg,
.option__item.active svg {
	fill: #2575fc;
}

.option__item:hover,
.option__item.active {
	background-color: rgba(37, 117, 252, 0.1); /* Легкий голубой фон при наведении */
	color: #2575fc; /* Яркий голубой текст */
}

.option.active {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 9;
}

.option__double__item {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2rem;
}

.option__item__href {
	color: #2575fc;
	text-decoration: none;
	font-weight: 500;
}

.option__item__href:hover {
	text-decoration: underline;
}

.menu__hr {
	width: 90%;
	margin: 1rem 1rem 0.5rem 1rem;
	border-color: rgba(65, 57, 54, 0.1);
}

.hidden__title {
	font-size: 0.7rem;
	font-weight: 600;
	color: #6c757d;
	position: absolute;
	top: -0.5rem;
	left: 0.5rem;
	background: #fff;
	padding: 0 0.3rem;
	display: none;
}

#city-menu-input:not(:placeholder-shown) ~ #cityTitleText {
	display: block;
}
#prof-menu-input:not(:placeholder-shown) ~ #profTitleText {
	display: block;
}

.custom-menu-dropdown {
	position: relative;
	margin: 0.5rem;
	width: 100%;
}

.search-menu-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(128, 128, 128, 0.15);
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	color: #212529;
	transition: all 0.3s ease-in-out;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.search-menu-input:focus {
	outline: none;
	border-color: #2575fc;
	box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3); /* Голубой ореол */
}

.options-menu-container {
	display: none; /* По умолчанию скрываем список */
	position: absolute;
	width: 100%;
	max-height: 200px; /* Ограничиваем высоту для скроллинга */
	overflow-y: auto; /* Добавляем скроллинг, если элементов много */
	border: 1px solid #ccc;
	border-top: none;
	border-radius: 0 0 4px 4px;
	background-color: #fff;
	z-index: 1000;
}

.options-menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.options-menu-list li {
	font-size: 0.8rem;
	padding: 0.5rem;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.options-menu-list li:hover {
	background-color: #f0f0f0;
	color: #2575fc;
}

/* Класс для показа контейнера */
.options-menu-container.show {
	display: block;
}

.filter__confirm__btn {
	cursor: pointer;
	background: linear-gradient(90deg, #6a11cb, #2575fc);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 30px;
	font-weight: 700;
	text-align: center;
	width: 100%;
	margin-top: 10px;
	box-shadow: 0 4px 15px rgba(106, 17, 203, 0.6);
	transition: all 0.2s ease;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.filter__confirm__btn:hover {
	box-shadow: 0 6px 20px rgba(106, 17, 203, 0.8);
	transform: translateY(-1px);
}

.clear__dd{
	position: absolute;
	right: .5rem;
	top: .5rem;
	cursor: pointer;
	display: none;
}

#city-menu-input:not(:placeholder-shown) ~ .clear__dd {
	display: block;
}
#prof-menu-input:not(:placeholder-shown) ~ .clear__dd {
	display: block;
}
/* Стили фильтров */

/* PHONE ADAPTIVE */
@media screen and (max-width: 650px) {
	.logo__text {
		font-size: 0.9rem;
	}

	.logo svg {
		width: 1.5rem;
		height: 1.5rem;
		margin-right: -0.2rem;
		border-radius: 0.2rem;
	}

	#add__btn_header {
		transform: scale(0.7);
	}
}
/* PHONE ADAPTIVE */
