/* Главная страница */
.header {
	display: flex;
	height: 50px;
	align-items: center;
	justify-content: space-between;
}
#left-block {
	display: flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
}	
/* Центрированный блок с аватаром */
#main-center-block {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	/* cursor: pointer; */
}

.button-wrapper{
	display: flex;
	flex-direction: column;
	width: 60px;
	font-size: x-small;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.button-wrapper p{
	margin: auto;
	text-align: center;
}

.share-btn {
	display: flex;
	margin: 5px;
	cursor: pointer;
	flex-shrink: 0;
}

#chat-list-wrapper {
	display: flex;
	flex-direction: column;
}
/* Кнопка "Новый чат" справа под списком */
#new-chat-container {
	position: sticky;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 2rem;
	bottom: 1rem;
	z-index: 3;
}
#new-chat-label {
	margin-right: 0.5rem;
	right: 92px;
	bottom: 20px;
	font-size: 14px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 1;
}

#new-chat-btn {
	align-self: flex-end;
	width: 50px;
	height: 50px;
	margin-right: 1rem;
	cursor: pointer;
	border: solid 1px var(--border);
	border-radius: 50%;
	background: var(--bg-create);
	box-shadow: -2px 2px 22px var(--bg-create);
}

#settings {
	position: absolute;
	width: 100%;
	height: 100%;
	display: none; /*flex*/
	flex-direction: column;
	text-align: left ;
	background: var(--bg-header);
	border: solid 1px var(--border);
	border-radius: 10px;
	z-index: 20;
}
.menu {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 10px;
	padding: 10px;
	background: var(--bg-header);
	border-radius: 10px;
}
.menu-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0px 12px;
	height: 50px;
	background: var(--surface);
	border-top: solid 1px var(--border);
	cursor: pointer;
}

.menu-item:hover{
	background: var(--hover-item);
}

#lang-menu {
	position: absolute;
	top: 120px;
	left: 0px;
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 4px;
	margin: auto;
	z-index: 100;
}

.lang-menu-item {
	padding: 15px 30px;
	cursor: pointer;
	z-index: 120;
}
.lang-menu-item:hover {
	background: var(--hover-item);
}

.submenu-item {
	padding: 15px 30px;
}
.submenu-item:hover {
	background: var(--hover-item);
}
.hidden {
	display: none;
}