@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&display=swap');

::selection {
    color: #081131; /* Цвет текста */
    background: #e3eaf7; /* Цвет фона */
   }

/*//////////////////////////////////////////////////////////////////
[ FONT ]*/
/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/
@media (prefers-dark-interface) { color: white; background: black }
* {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}

body, html {
	height: 100%;
	background-color: #000;
	font-family: "M PLUS Rounded 1c", serif;
	font-weight: 600;
}
p {
	font-family: "M PLUS Rounded 1c", serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.7;
	color: #e3eaf7;
	margin: 0px;
}

.modal-text p {
	font-family: "M PLUS Rounded 1c", serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.7;
	color: #e3eaf7;
	margin: 0px;
}

a {
  text-decoration: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after{
    clear: both;
}

.cntr {
    width: 1350;
    margin: 0 auto;
}

/*Стили для мобильного меню*/

.mobile-nav {
	display: none;
}

#check-menu{
    display: none;
}

.mobile-nav label{
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 2;
    line-height: 40px;
}

.burger-line{
    position: absolute;
    top: 19px;
    right: 19px;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: .5s all;
}

.second{
    top: 29px;
    right: 19px;
}

.third{
    top: 39px;
	right: 19px;
}

.main-menu{
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    transform: translateY(100%);
    max-height: 0;
    font-size: 0;
    overflow: hidden;
    transition: .5s all;
}

.mobile-nav a{
    display: block;
    width: 100%;
    padding: 10px;
    color: white;
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,.3);
    background-color: #243342;
    text-transform: uppercase;
}

.mobile-nav a:hover{
    background-color: rgba(0,0,0,.9);
    color: #fff;
    text-decoration: none;
}

#check-menu:checked ~ .main-menu{
    max-height: 500px;
    font-size: 16px;
}

#check-menu:checked ~ .first{
    transform: rotate(45deg);
    top: 29px
}

#check-menu:checked ~ .second{
    opacity: 0;
    right: 60px;
}

#check-menu:checked ~ .third{
    transform: rotate(-45deg);
    top: 29px
}


/*Стили для мобильного меню Закончились*/

/*Стили для панели управления сайтом*/

.pu {
	margin: -30px 0 0 0;
	padding: 35px 0;
	background: rgb(14,18,32);
}

.pu .logo {
	position: absolute;
	left: 0;
	top: 0;
	color: #e3eaf7;
	font-size: 43px;
	display: block;
}

.pu a:focus {
	outline: none;
}

.cryptnotif {
	margin-bottom: 15px;
	padding-top: 0.7rem !important;
	padding-bottom: 0.7rem !important;
	border-radius: 1rem !important;
	transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	font-family: "M PLUS Rounded 1c", serif;
	font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	font-weight: 600;
	background: rgb(14,18,32);
	box-shadow: rgba(5, 34, 97, 0.1) 0px 2px 7px 0px;
	border-color: #162044 !important;
	border: 1px solid #161d39 !important;
	
}

.pasport {
	margin: 20px 0;
	border-radius: 1rem !important;
	transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
	font-family: "M PLUS Rounded 1c", serif;
	font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	font-weight: 600;
	background: rgb(14,18,32);
	box-shadow: rgba(5, 34, 97, 0.1) 0px 2px 7px 0px;
	border-color: #162044 !important;
	border: 1px solid #161d39 !important;
	
}

.pasport__body {
	font-family: "M PLUS Rounded 1c", serif;
	font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	font-weight: 600;
	padding: 15px;
}

.pasport__body .hello {
	color: #e3eaf7;
	text-align: center;
	margin: 0 0 25px 0;
}

.pasport__body center button {
	padding: 5px;
	color: #7f8c8d;
}

.pasport__body a {
	padding: 5px;
	color: #e3eaf7;
}

.information {
	width: 100%;
	display: inline-block;
}
  .btn-group{ position:relative; display:inline-block; }

  /* Жёсткий фикс белого фона: перекрываем и inline, и Bootstrap */
  .dropdown-menu,
  .dropdown-menu.show,
  .dropdown-menu[data-bs-popper]{
    background:#0e1220 !important;                 /* ← фон по ТЗ */
    background-color:#0e1220 !important;           /* ← на случай background-color в BS */
    border:1px solid rgba(255,255,255,.14) !important;
    color:#e3eaf7 !important;
    /* Для Bootstrap 5 (тематические переменные) */
    --bs-dropdown-bg:#0e1220;
    --bs-dropdown-color:#e3eaf7;
    --bs-dropdown-link-color:#e3eaf7;
    --bs-dropdown-link-hover-bg:#151b31;
    --bs-dropdown-link-hover-color:#ffffff;
    --bs-dropdown-border-color:rgba(255,255,255,.14);
    --bs-dropdown-divider-color:rgba(255,255,255,.12);
    --bs-body-bg:#0e1220; /* иногда BS дергает эту переменную */
  }

  /* Базовые стили и анимация */
  .dropdown-menu{
    position:absolute; z-index:1000; min-width:12rem;
    margin:.125rem 0 0; padding:.5rem 0;
    border-radius:.5rem; box-shadow:0 12px 28px rgba(0,0,0,.45);

    opacity:0; transform: translateY(6px) scale(.98);
    transform-origin: top center;
    visibility:hidden; pointer-events:none;
    transition:
      opacity .18s cubic-bezier(.2,.8,.2,1),
      transform .18s cubic-bezier(.2,.8,.2,1);
  }
  .dropdown-menu.show{
    opacity:1; transform: translateY(0) scale(1);
    visibility:visible; pointer-events:auto;
    display:block;
  }

  .dropdown-item{
    display:block; width:100%; padding:.45rem 1rem;
    color:#e3eaf7; text-decoration:none; font-weight:600;
    font-family:"M PLUS Rounded 1c", serif;
    white-space:nowrap;
  }
  .dropdown-item:hover, .dropdown-item:focus{
    background:#151b31; color:#ffffff;
    text-decoration:none; outline:0;
  }

  /* Лёгкая обратная связь у иконки */
  #btnGroupDrop2 i{
    transition: transform .18s cubic-bezier(.2,.8,.2,1),
                opacity .18s cubic-bezier(.2,.8,.2,1);
  }
  .dropdown-open #btnGroupDrop2 i{ transform: translateY(-1px); opacity:.95; }

  /* На мобильных (нет hover) — остаётся режим по клику */
  @media (hover: none) {
    .dropdown-menu{ transform:none; opacity:1; visibility:visible; display:none; }
    .dropdown-menu.show{ display:block; }
  }
/* ===== Левое меню: вертикальная полоса слева, без градиентов и без подчёркивания ===== */

.left__menu {
	margin-top: -55px;
	float: left;
	display: inline-block;
	position: relative;

	font-family: "M PLUS Rounded 1c", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

/* Ссылки меню */
.left__menu a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;

	padding: 7px 0 7px 14px; /* отступ под полоску слева */
	color: #e3eaf7;
	font-size: 0.95rem;
	text-align: left;

	text-decoration: none !important; /* убираем подчёркивание всегда */
	opacity: 0.86;
	transition:
		color 0.18s ease,
		opacity 0.18s ease;
}

/* Тонкая вертикальная полоса слева */
.left__menu a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;

	width: 2px;
	height: 70%;
	border-radius: 999px;
	background-color: #e3eaf7; 
	transform: translateY(-50%) scaleY(0);
	transform-origin: center;
	opacity: 0;
	transition:
		transform 0.22s ease,
		opacity 0.22s ease;
}

/* Hover */
.left__menu a:hover {
	color: #ffffff;
	opacity: 1;
	text-decoration: none !important;
}

/* Активный пункт */
.left__menu a.active,
.left__menu a[aria-current="page"] {
	color: #ffffff;
	opacity: 1;
	text-decoration: none !important;
}

/* Включаем полоску для hover/active */
.left__menu a:hover::before,
.left__menu a.active::before,
.left__menu a[aria-current="page"]::before {
	transform: translateY(-50%) scaleY(1);
	opacity: 1;
}

/* Фокус по табу (клавиатура) */
.left__menu a:focus {
	outline: none;
	text-decoration: none !important;
}

.left__menu a:focus-visible {
	outline: none;
	color: #ffffff;
	opacity: 1;
	text-decoration: none !important;
}

.left__menu a:focus-visible::before {
	transform: translateY(-50%) scaleY(1);
	opacity: 1;
}

/* Уважение к пользователям с отключённой анимацией */
@media (prefers-reduced-motion: reduce) {
	.left__menu a,
	.left__menu a::before {
		transition: none !important;
		transform: none !important;
	}
}



.center__menu {
	position: relative;
	font-family: "M PLUS Rounded 1c", serif;
	width: 200px;
	font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	height: 256px;
	font-weight: 600;
	margin: 0 0 30px 120px;
	float: left;
	display: inline-block;
}

.center__menu a:hover {
	text-decoration: none;
}

.center__menu a:focus {
	outline: none;
}

.center__menu:focus {
	outline: none;
}

.ava {
	width: 200px;
	height: 200px;
	border-radius: 50%;
}

.ava img:focus{
	width: 200px;
	height: 200px;
	outline: none;
}

.center__menu h2{
	opacity: 0;
	position: absolute;
    top: 0px;
    left: 5px;
	background: rgba(54, 57, 63, .3);
	line-height: 200px;
	width: 200px;
	border-radius: 50%;
	text-align: center;
	font-size: 20px;
	transition: all .5s ease;
}

.hvr {
color: #e3eaf7;
}

.hvr:hover {
color: #e3eaf7;
}

.center__menu:hover h2{
	opacity: 1;
	color: #fff;
	text-decoration: none;
}

.right__menu {
	margin: 0 0 0 80px;
	display: inline-block;
}

.right__menu li {
	line-height: 30px;
	list-style: none;
	text-align: left;
	text-decoration: none;
}

.buttonss{
	margin: 25px 0;
}

.modal-content .header {
	position: unset;
	background: rgb(54,57,63);
}
.search-input {
	font-family: "M PLUS Rounded 1c", serif;
	color: #e3eaf7;
}

.pu span {
	color: #a3ffbc;
	font-family: "M PLUS Rounded 1c", serif;
	text-align: start;
	font-weight: 600;
	font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	letter-spacing: normal;
}

.text-center a i {
	font-family: fontawesome !important;
	color: #e3eaf7;
	display: block;
	text-align: center;
	font-size: 40px;
	margin: 5px 0;
	text-decoration: none;
}

.text-center a:hover {
	color: #e3eaf7;
	text-decoration: none;
}

.modal-body .smena {
    margin: 20px 0 auto;
}

.btn__sirch {
	height: 40px;
	width: 40px;
	background: #e3eaf7;
	border: none;
	border-radius: 0 5px 5px 0;
}


input {
  color: #333333;
  border: none;
  padding: 0;
  border-radius: 0;
  outline: none;
  width: auto;
  min-width: 100%;
  font-weight: 600;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-size: 1rem;
  line-height: 2em;
  font-family: "M PLUS Rounded 1c", serif;
  border-bottom: 3px solid #333333;
  background-color: transparent;
}

.text-center a {
	color: #e3eaf7;
}

.pasport__body .hvr {
color: #e3eaf7;
}

.pasport__body .hvr:hover {
color: #e3eaf7;
}

body .notification-bar {
	width: 100%;
}

/*Стили для файла empty.html*/

.error__404 {
	color: #e3eaf7;
	text-align: center;
}

.error__404  h1{
	font-size: 180px;
}

.error__404 h4 {
	font-size: 30px;
}

.btn__404 {
	width: 100%;
	line-height: 80px;
	background: #40c4ff;
	display: block;
	margin: 30px 0 0 0;
	color: #ffffff;
	font-size: 35px;
	border-radius: 20px;
	text-transform: uppercase;
	box-shadow: 0px 4px 0px 0px #1c5974;
}

.btn__404:hover {
	background: #40c4ff;
	color: #ffffff;
	text-decoration: none;
}

/*Стили для настроек*/

.settings h4 {
	color: #e3eaf7;
}

/*Смена ника*/
.new__nick, .new__password, .connect__vk {
	float: left;
	width: 250px;
    display: inline-block;
    margin: 0 0 50px 78px;
}
/*Новый пароль*/

.name__setting {
	margin: 0 0 25px 0;
	color: #e3eaf7;
    font-size: 18px;
    text-align: center;
}

.setting-button-1 {
    background: #2ecc71;
    color: #ffffff;
    padding: 20px 40px 20px 40px;
}

.setting-button {
    -webkit-transition: 0.3s all;
    -o-transition: 0.3s all;
    transition: 0.3s all;
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    outline: none;
    cursor: pointer;
    border: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.btn-group.filter-group {
    display: inline-block;            /* вместо inline-style */
    position: relative;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* 2. Кнопка-триггер «ФИЛЬТР» */
.btn-group.filter-group .btn.hvr {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;                     /* небольшое расстояние между иконкой и текстом */
    padding: 0.45rem 0.85rem;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #5865f2;                   /* Discord-фиолетовый */
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-group.filter-group .btn.hvr i {
    font-size: 1rem;                  /* чтобы иконка не «кричала» */
    line-height: 1;
}

.btn-group.filter-group .btn.hvr:hover,
.btn-group.filter-group .btn.hvr:focus {
    color: #4752c4;                   /* чуть темнее при наведении */
    transform: translateY(-2px);      /* лёгкий «подлёт» вверх */
    text-decoration: none;
    outline: none;
}

/* 3. Выпадающее меню */
.btn-group.filter-group .dropdown-menu {
    min-width: 12rem;
    margin-top: 0.4rem;               /* небольшой отступ от кнопки */
    background: #292b2f;
    border: 1px solid #3c3e44;
    border-radius: 0.5rem;
    padding: 0.25rem 0;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    z-index: 1000;                    /* поверх всего */
}

/* 4. Пункты меню */
.btn-group.filter-group .dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.55rem 1.25rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    color: #e0e0e0;
    background: transparent;
    border: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-group.filter-group .dropdown-menu .dropdown-item:hover,
.btn-group.filter-group .dropdown-menu .dropdown-item:focus {
    background: #3c3e44;
    color: #ffffff;
    text-decoration: none;
    outline: none;
}

/* 5. Активный пункт (Bootstrap добавляет .active) */
.btn-group.filter-group .dropdown-menu .dropdown-item.active,
.btn-group.filter-group .dropdown-menu .dropdown-item.active:hover {
    background: #5865f2;
    color: #ffffff;
}

/* 6. Адаптивное «прилипание» на мобильных, если нужно */
@media (max-width: 576px) {
    .btn-group.filter-group .btn.hvr {
        padding: 0.5rem 0.9rem;
        font-size: 0.9rem;
    }
    .btn-group.filter-group .dropdown-menu {
        min-width: 10rem;
    }
}