/* ADD AVATAR MODAL */
.modal__wrapper {
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.7);
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	display: none;
	background: rgba(0, 0, 0, 0.4); /* Мягкое затемнение */
	backdrop-filter: blur(5px); /* Легкое размытие для эффекта "заморозки" */
	-webkit-backdrop-filter: blur(5px);
	z-index: 1000;
}

.modal__wrapper.active-modal {
	display: flex;
	visibility: visible;
}

.modal__window {
	padding: 2rem 1rem;
	background-color: #ffffff;
	width: 100%;
	max-width: 44rem;
	position: relative;
	display: flex;
	align-items: center;
	flex-direction: column;
	max-height: 80vh;
	overflow: auto;
	border-radius: 18px;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(37, 117, 252, 0.4);
}

.close__modal {
	position: absolute;
	top: 0.3rem;
	right: 0.3rem;
	color: #6c757d;
	cursor: pointer;
}

.close__modal:hover path {
	fill: #2575fc;
}

.modal__header__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 95%;
}

.header__inputs {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.avatar__preview {
	border-radius: 0.5rem;
	cursor: pointer;
	width: 6rem;
	height: 6rem;
	object-fit: cover;
}

.input__text {
	font-size: 0.9rem;
	font-weight: 600;
	font-size: 0.9rem;
	font-weight: 400;
	border: 1px solid #e0e0e0; /* Очень светлая, чистая рамка */
	border-radius: 8px;
	color: #212529;
	transition: all 0.3s ease-in-out;
	padding: 0.5rem;
	appearance: none;
	margin: 0.5rem;
	/* box-shadow: 0 0 0 2px rgba(79, 82, 84, 0.641) inset; */
	min-width: 45%;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

#user-name {
	width: 95%;
}

#status {
	width: 95%;
}
.input__text:focus {
	outline: none;
	border-color: #2575fc; /* Яркий голубой */
	box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3); /* Мягкий голубой ореол */
}

.input__text__wrapper{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	/* border: 1px solid black; */
}

.input__text__counter {
	position: absolute;
	font-weight: 400;
	font-size: .7rem;
	color: #6c757d;
	background: #fff;
	padding: 0 .3rem;
	top: 0;
	right: 2rem;
}

.description {
	border: none;
	outline: none;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.5rem;
	margin: 0.5rem;
	border-radius: 0.5rem;
	width: 95%;
	min-height: 15rem;
	resize: none;
	background: #fff;
	box-shadow: 0 0 0 2px rgba(79, 82, 84, 0.641) inset;

	border: 1px solid #e0e0e0; /* Очень светлая, чистая рамка */
	border-radius: 8px;
	color: #212529;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease-in-out;
}

.contacts__input__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	justify-content: center;
	flex-wrap: wrap;
	width: 95%;
}

.description:focus {
	outline: none;
	border-color: #2575fc; /* Яркий голубой */
	box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3); /* Мягкий голубой ореол */
}

.counter-text {
	position: absolute;
	font-weight: 400;
	font-size: .7rem;
	color: #6c757d;
	background: #fff;
	padding: 0 .3rem;
	top: 0;
	right: 2rem;
}

#btn-wrap {
	position: relative;
	/* margin: 0.5rem; */
	width: 95%;
	display: flex;
	justify-content: flex-end;
}

.privacy {
	margin-top: 1rem;
	font-size: 0.8rem;
	text-align: center;
	width: 20rem;
}

.privacy a {
	text-decoration: none;
	color: #2575fc;
}

.add__img__wrapper {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.add__img__btn {
	color: rgb(153, 153, 153);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.9rem;
	margin-right: 1rem;
}

#imageInput {
	display: none;
}

.add__modal__btn {
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, #6a11cb, #2575fc);
	color: #ffffff;
	font-weight: 700;
	padding: 8px 25px;
	border-radius: 25px;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(106, 17, 203, 0.6), 0 0 20px rgba(255, 255, 0, 0.7);
	transition: all 0.3s ease;
}

.add__modal__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(106, 17, 203, 0.8), 0 0 30px rgba(255, 255, 0, 1);
}
/* ADD AVATAR MODAL */

.custom__dropdown__wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.custom-dropdown {
	position: relative;
	margin: 0.5rem;
	min-width: 45%;
}

.search-input {
	width: 100%;
	font-size: 0.9rem;
	font-weight: 400;
	padding: 0.5rem;
	appearance: none;
	border: 1px solid #e0e0e0; /* Очень светлая, чистая рамка */
	border-radius: 8px;
	color: #212529;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease-in-out;
}

.search-input:focus {
	outline: none;
	border-color: #2575fc; /* Яркий голубой */
	box-shadow: 0 0 0 3px rgba(37, 117, 252, 0.3); /* Мягкий голубой ореол */
}

.options-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-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.options-list li {
	font-size: 0.8rem;
	padding: 0.5rem;
	cursor: pointer;
	border-bottom: 1px solid #eee;
}

.options-list li:hover {
	background-color: #f0f0f0;
	color: #2575fc;
}

/* Класс для показа контейнера */
.options-container.show {
	display: block;
}

/* показать.скрыть пароль */
.password {
	position: relative;
}

.password-control {
	cursor: pointer;
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	display: inline-block;
	width: 1.3rem;
	height: 1.3rem;
	background: url(../img/no-view.svg) 0 0 no-repeat;
}

.password-control.view {
	background: url(../img/view.svg) 0 0 no-repeat;
}
/* показать.скрыть пароль */

/* подсказка для пароля */
.password-tooltip {
	position: absolute;
	top: -50px;
	right: 0;
	background: linear-gradient(90deg, #6a11cb, #2575fc);
	color: #ffffff;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.3;
	padding: 8px 12px;
	border-radius: 8px;
	width: 18rem;
	z-index: 10;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(37, 117, 252, 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px); /* Небольшой сдвиг для анимации "выезда" */
	transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.password-tooltip::after {
	content: '';
	position: absolute;
	bottom: -12px;
	right: 15px;
	border-width: 6px;
	border-style: solid;
	border-color: #2575fc transparent transparent transparent;
}

#password:focus + .password-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translateY(-20px);
}
/* подсказка для пароля */

.input-error {
	border: 1px solid red;
	box-shadow: none;
}

/* PHONE ADAPTIVE */
@media screen and (max-width: 650px) {
	#city-input,
	#prof-input,
	#phone,
	#password {
		width: 13rem;
	}
}
/* PHONE ADAPTIVE */
