/* === Анкета юриста (десктоп) === */

.urist_sidebar {
	display: flex;
	flex-direction: column;
	width: 280px;
	flex-shrink: 0;
	order: 1; /* .content__wrap is flex-direction:row-reverse — без этого сайдбар (первый в DOM) окажется справа */
	min-height: calc(100vh - 20px);
	background: linear-gradient(180deg, rgba(14,27,58,0.85) 0%, rgba(20,40,79,0.9) 100%), url(/media/img/bg_anketa_pc.jpg) center / cover no-repeat fixed;
	border-radius: 16px;
	padding: 20px 16px;
	box-sizing: border-box;
	color: #fff;
}
.urist_sidebar__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	margin-bottom: 24px;
}
.urist_sidebar__logo__icon {
	width: 36px;
	height: 36px;
}
.urist_sidebar__logo__title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}
.urist_sidebar__logo__accent {
	color: #4E8CFF;
}
.urist_sidebar__logo__subtitle {
	font-size: 11px;
	color: #8B95AF;
}
.urist_sidebar__nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.urist_sidebar__nav_item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	color: #C4CBDD;
	text-decoration: none;
	font-size: 14px;
}
.urist_sidebar__nav_item svg {
	fill: #C4CBDD;
}
.urist_sidebar__nav_item:hover {
	background: rgba(255, 255, 255, 0.06);
}
.urist_sidebar__nav_item__active {
	background: rgba(78, 140, 255, 0.18);
	color: #fff;
}
.urist_sidebar__nav_item__active svg {
	fill: #4E8CFF;
}
.urist_sidebar__spacer {
	flex: 1 1 auto;
}
.urist_sidebar__promo {
	display: block;
	background: #123A32;
	border-radius: 12px;
	padding: 16px;
	text-decoration: none;
	margin-bottom: 16px;
}
.urist_sidebar__promo__title {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 6px;
}
.urist_sidebar__promo__text {
	color: #9FB0AA;
	font-size: 12px;
	line-height: 1.4;
	margin-bottom: 12px;
}
.urist_sidebar__promo__btn {
	display: inline-block;
	background: #1FA97A;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 8px;
}
.urist_sidebar__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 11px;
}
.urist_sidebar__footer a {
	color: #6F7A96;
	text-decoration: none;
}

/* === Верхняя панель === */
.urist_topbar {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 0 16px 0;
}
.urist_topbar__search {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #F1F3F8;
	border-radius: 10px;
	padding: 10px 16px;
	width: 420px;
	max-width: 100%;
}
.urist_topbar__search__btn {
	background: none;
	border: none;
	padding: 0;
	display: flex;
	cursor: pointer;
}
.urist_topbar__search__btn svg {
	fill: #8B95AF;
}
.urist_topbar__search__input {
	border: none;
	background: none;
	outline: none;
	font-size: 14px;
	width: 100%;
}
.urist_topbar__spacer {
	flex: 1 1 auto;
}
.urist_topbar__user {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}
.urist_topbar__user__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}
.urist_topbar__user__name {
	font-size: 14px;
	font-weight: 600;
	color: #242631;
}
.urist_topbar__user__status {
	font-size: 12px;
	color: #1FA97A;
}
.urist_topbar__login {
	font-size: 14px;
	font-weight: 600;
	color: #4E8CFF;
	text-decoration: none;
}

/* === Карточка юриста === */
/* .urist_card несёт ещё и класс .profile__header (JS-хук anketa.js на data-user-id) —
   у .profile__header в main.css своё старое визуальное оформление (синий градиент,
   display:flex, height:88px и т.д.), составной селектор ниже перебивает его целиком */
.urist_card.profile__header {
	position: relative;
	background: #fff;
	display: block;
	width: auto;
	height: auto;
	margin-top: 0;
	align-items: normal;
	justify-content: normal;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
	box-sizing: border-box;
}
.urist_card__top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.urist_card__avatar_wrap {
	position: relative;
	flex-shrink: 0;
}
.urist_card__avatar {
	width: 116px;
	height: 116px;
	border-radius: 50%;
	object-fit: cover;
}
.urist_card__online {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #1FA97A;
	border: 3px solid #fff;
}
.urist_card__main {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 4px;
}
.urist_card__name_row {
	display: flex;
	align-items: center;
	gap: 8px;
}
.urist_card__name {
	font-size: 26px;
	font-weight: 700;
	color: #14203D;
}
.urist_card__verified {
	display: inline-flex;
	width: 22px;
	height: 22px;
}
.urist_card__verified svg {
	fill: #4E8CFF;
}
.urist_card__specialization {
	color: #4E8CFF;
	font-size: 15px;
	margin-top: 4px;
}
.urist_card__rating_row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
}
.urist_card__rating_row svg {
	width: 18px;
	height: 18px;
}
.urist_card__rating_num {
	font-weight: 600;
	color: #14203D;
	font-size: 14px;
}
.urist_card__rating_cnt {
	color: #8B95AF;
	font-size: 13px;
}
.urist_card__subscribers {
	text-align: right;
	flex-shrink: 0;
}
.urist_card__subscribers__num {
	font-size: 22px;
	font-weight: 700;
	color: #14203D;
}
.urist_card__subscribers__label {
	font-size: 12px;
	color: #8B95AF;
	margin-bottom: 10px;
}
.urist_card__subscribe_btn {
	border-radius: 8px;
	border: 1px solid #4E8CFF;
	background: #fff;
	color: #4E8CFF;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 18px;
	cursor: pointer;
}
.urist_card__subscribe_btn__active {
	background: #F1F3F8;
	border-color: #E0E0E0;
	color: #6D7480;
}
.urist_card__stats {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.urist_card__stat {
	flex: 1 1 240px;
	background: #F7F8FB;
	border: 1px solid #EDEFF3;
	border-radius: 12px;
	padding: 12px 16px;
	text-decoration: none;
}
.urist_card__stat__label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: #8B95AF;
}
.urist_card__stat__value {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 18px;
	font-weight: 600;
	color: #14203D;
	margin-top: 4px;
}
.urist_card__meta_row {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 16px;
	font-size: 14px;
	color: #4B4C56;
}
.urist_card__meta_item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.urist_card__meta_item svg {
	fill: #8B95AF;
}
.urist_card__advocat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #F1F6FF;
	border: 1px solid #D6E4FF;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 13px;
	color: #2A4A85;
}
.urist_card__actions {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}
.urist_card__actions__btn {
	flex: 1 1 240px;
	text-align: center;
}
.urist_card__countries {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #EDEFF3;
}
.urist_card__countries__title {
	font-size: 14px;
	font-weight: 600;
	color: #14203D;
	margin-bottom: 10px;
}
.urist_card__flag {
	width: 26px;
	height: 19px;
	border-radius: 3px;
	border: 1px solid #E0E0E0;
	margin-right: 8px;
}
.urist_card__complaint {
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	color: #8B95AF;
	font-size: 22px;
}
.complaint__menu {
	display: none;
	position: absolute;
	right: 20px;
	top: 50px;
	background: #ffcbcb;
	border: 1px solid #ededed;
	z-index: 15;
	opacity: 0.9;
	border-radius: 10px;
	padding: 0 5px;
}

/* === Плоские секции тела анкеты (без аккордеонов, как в мокапе) === */
.urist_flat_section {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 16px;
}
.urist_flat_section__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 600;
	color: #14203D;
	margin-bottom: 14px;
}
.urist_flat_section__text {
	font-size: 15px;
	line-height: 1.6;
	color: #4B4C56;
	white-space: pre-line;
}
.urist_flat_badges {
	display: flex;
	gap: 12px;
	margin-top: 18px;
	flex-wrap: wrap;
}
.urist_flat_badge {
	flex: 1 1 200px;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #F7F8FB;
	border: 1px solid #EDEFF3;
	border-radius: 12px;
	padding: 12px 16px;
}
.urist_flat_badge svg {
	fill: #1FA97A;
	flex-shrink: 0;
}
.urist_flat_badge__num {
	font-weight: 600;
	color: #14203D;
	font-size: 15px;
}
.urist_flat_badge__label {
	font-size: 12px;
	color: #8B95AF;
}
.urist_edu_item {
	margin-bottom: 14px;
}
.urist_edu_item:last-child {
	margin-bottom: 0;
}
.urist_edu_item__name {
	font-weight: 600;
	color: #14203D;
	font-size: 15px;
}
.urist_edu_item__meta {
	color: #8B95AF;
	font-size: 13px;
	margin-top: 2px;
}
.urist_diploms {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.urist_diploms img {
	width: 140px;
	height: 140px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid #EDEFF3;
}

/* === Правая колонка ===
   .content_right используется и на других страницах (там из-за
   flex-direction:row-reverse у .content__wrap она обычно оказывается
   слева), но на этой странице (файл грузится только здесь) должна быть
   справа, а .urist_sidebar (order:1) — слева, main — по центру. */
.content_right {
	order: -1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.urist_right_card {
	background: #fff;
	border-radius: 16px;
	padding: 20px;
}
.urist_right_card__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.urist_right_card__title {
	font-size: 15px;
	font-weight: 600;
	color: #14203D;
}
.urist_right_card__link {
	font-size: 13px;
	color: #4E8CFF;
	text-decoration: none;
}
.urist_right_card__toggle {
	cursor: pointer;
	color: #8B95AF;
}
.urist_review_item {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid #EDEFF3;
}
.urist_review_item:last-child {
	margin: 0;
	padding: 0;
	border: none;
}
.urist_review_item__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.urist_review_item__name {
	font-weight: 600;
	color: #14203D;
	font-size: 13px;
}
.urist_review_item__date {
	color: #8B95AF;
	font-size: 12px;
}
.urist_review_item__text {
	font-size: 13px;
	color: #4B4C56;
	margin-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.urist_avatar_grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.urist_avatar_grid__item img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}
.urist_avatar_grid__more {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #F1F3F8;
	color: #6D7480;
	font-size: 11px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}
