/* Плавный скролл */
html {
  scroll-behavior: smooth;
}

/* Добавляем отступ для якорей под фиксированное меню */
section {
  scroll-margin-top: 80px; /* высота меню + небольшой отступ */
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"],
input[type="number"]:hover,
input[type="number"]:focus {
  appearance: none;
  -moz-appearance: textfield;
}

#code,
#new-pass {
  width: 50%;
  text-align: center;
}

@media screen and (min-width: 801px) {
  .left-blok,
  .right-blok {
    width: 50%;
    height: 100vh;
  }
  .left-blok {
    font-size: 3vw;
  }
  .hero-content span {
    font-size: 65pt;
  }
  .hero-content h1 {
    font-size: 18pt;
  }
  .btn {
    font-size: 1.5vw;
  }
  .input {
    font-size: 12pt;
  }
  #help img {
    width: 57px;
  }
 /*  ::placeholder {
   font-size: 12pt; */
  }
  #yur-form form,
  #simple-form form {
    width: 30%;
  }

  #bt-back-from-fizreg,
  #bt-back-from-yurreg {
    width: 10%;
  }


@media screen and (max-width: 800px) {
  .two-blok {
    flex-direction: column;
  }

  .left-blok,
  .right-blok {
    width: 100%;
    height: 100%;
  }
  .left-blok {
    font-size: 6vw;
  }
  .instruction_1 {
    padding: 10px;
  }
  .hero-content span {
    font-size: 24pt;
    padding: 15px;
    box-sizing: border-box;
  }
  .hero-content h1 {
    font-size: 12pt;
    padding: 0 10%;
  }
  .btn {
    font-size: 3vw;
  }
  .input {
    font-size: 10pt;
  }
  .but {
    font-size: 12pt;
  }
  #help img {
    width: 40px;
  }
  #yur-form form,
  #simple-form form,
  .help-container form {
    width: 90%;
  }
  #bt-back-from-fizreg,
  #bt-back-from-yurreg {
    width: 20%;
  }
  header h1{
    font-size: 5vw;
  }
}

::placeholder {
  color: black;
}

@font-face {
  font-family: Rubik;
  src: url(../font/Rubik.ttf);
}

@font-face {
  font-family: Rubik-italic;
  src: url(../font/Rubik-Italic.ttf);
}

@font-face {
  font-family: Ubuntu-Light;
  src: url(../font/Ubuntu-Light.ttf);
}

@font-face {
  font-family: 'Slavanskay';
  src: url(../font/slavianskiy_regular.ttf);
}

@font-face {
  font-family: 'BuyanBold';
  src: url(../font/BuyanBold.ttf);
}

@font-face {
  font-family: 'BuyanRegular';
  src: url(../font/BuyanRegular.ttf);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

#simple-form form select,
#yur-form form select {
  color: rgb(128, 128, 128);
}

body {
  margin: 0;
  width: 100%;
}

@keyframes help {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes helpstatic {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.body_help {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh; /* На случай, если 100% не сработает */
  z-index: 10; /* Чтобы секция была поверх других элементов, если нужно */
  box-sizing: border-box;
  background-color: #083d74;
}


#help {
  position: fixed;
  right: 1%;
  bottom: 1%;
  animation: 2s helpstatic linear infinite;
}

#help:hover {
  animation: help 1s infinite;
}

#help-text {
  width: 80px;
  text-align: center;
  font-family: Rubik;
  font-size: 10pt;
  color: rgb(41, 53, 75);
  display: none;
}

.help-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 0;
padding-top: 8%;
}

.help-container h1{
  font-family: BuyanBold;
  font-size:48pt;
  color: white;
}

.form-help p{
  font-family: BuyanRegular;
  font-size:24pt;
  color: white;
}


.help-container form {
  margin-bottom: 5%;
}

/* === Основное меню === */
.HeaderMenu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
  padding: 10px 20px;
  position: fixed;
  top: 3%;
  left: 0;
  right: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0); /* прозрачное до скролла */
  transition: background 0.3s ease, box-shadow 0.3s ease, top 0.3s ease;
  z-index: 1000;
}

/* После скролла */
.HeaderMenu.scrolled {
  background: #050a6e;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  top: 0;
}

/* Блоки меню */
.LeftBlockMenu,
.RightBlockMenu {
  display: flex;
  align-items: center;
  gap: 15px; /* расстояние между ссылками */
}

/* Левый блок — ссылки в стиле Входа в ЛК */
.LeftBlockMenu a {
  display: inline-block;
  font-family: BuyanRegular, sans-serif;
  font-size: 16pt;
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.LeftBlockMenu a:hover {
  background-color: #0073ff;
  transform: translateY(-2px);
}

/* Правая часть — кнопка Вход */
.RightBlockMenu a {
  display: inline-block;
  font-family: BuyanRegular, sans-serif;
  font-size: 16pt;
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.RightBlockMenu a:hover {
  background-color: #0073ff;
  transform: translateY(-2px);
}

/* === Бургер-меню === */
.burger-menu {
  display: none; /* скрываем на десктопах */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1100;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация бургера при открытии */
.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
}

/* Содержимое меню (скрываем на мобилках по умолчанию) */
.menu-content {
  display: flex;
  width: 100%;
  justify-content: inherit;

}

/* === Адаптивность под мобилку === */
@media (max-width: 768px) {
  .HeaderMenu {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    top: 0;
  }

  /* Показываем бургер на мобилках */
  .burger-menu {
    display: flex;
  }

  /* Скрываем основное меню по умолчанию */
  .menu-content {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Активное меню — показываем */
  .menu-content.active {
    display: flex;
    padding-top: 10px; /* отступ сверху для лучшего восприятия */
  }

  .LeftBlockMenu, .RightBlockMenu {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 5px;
    flex-direction: column; /* вертикальные ссылки */
  }

  .LeftBlockMenu {
    gap: 10px;
  }

  .LeftBlockMenu a,
  .RightBlockMenu a {
    font-size: 16px;
    padding: 12px 15px;
    width: 100%; /* растягиваем ссылки на всю ширину */
    text-align: left; /* выравнивание текста по левому краю */
  }

  /* Увеличиваем кликабельную область для мобильных */
  .LeftBlockMenu a:hover,
  .RightBlockMenu a:hover {
    background-color: rgba(0, 115, 255, 0.8); /* чуть более прозрачный фон */
  }
}

/* Дополнительно: стили для очень маленьких экранов (например, смартфонов в портретной ориентации) */
@media (max-width: 480px) {
  .HeaderMenu {
    padding: 8px 10px;
  }

  .burger-menu {
    width: 26px;
    height: 20px;
  }

  .burger-menu span {
    height: 2px;
  }

  .LeftBlockMenu a,
  .RightBlockMenu a {
    padding: 10px 12px;
    font-size: 15px;
  }
}

/* Плавный скролл для якорей */
html {
  scroll-behavior: smooth;
}

/* Правая часть — кнопка "Личный кабинет" / "Вход" */
.RightBlockMenu a.cabinet-button,
.RightBlockMenu a#loginTrigger {
  display: inline-block;
  font-family: BuyanRegular, sans-serif;
  /* font-size: 16pt; */
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap; /* предотвращаем перенос текста */
}

.RightBlockMenu a.cabinet-button:hover,
.RightBlockMenu a#loginTrigger:hover {
  background-color: #0073ff;
  transform: translateY(-2px);
}

/* Адаптивность: стили для мобильных */
@media (max-width: 768px) {
  .HeaderMenu {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
    top: 0;
  }

  .burger-menu {
    display: flex;
    position: absolute;
    right: 15px;
    top: 15px;
  }

  .menu-content {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-content.active {
    display: flex;
    padding-top: 50px; /* отступ, чтобы меню не належало на бургер */
  }

  .LeftBlockMenu,
  .RightBlockMenu {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 5px;
    flex-direction: column;
  }

  .LeftBlockMenu {
    gap: 10px;
  }

  .LeftBlockMenu a,
  .RightBlockMenu a {
    font-size: 16px;
    padding: 12px 15px;
    width: 100%;
    text-align: left;
    box-sizing: border-box; /* учитываем padding в ширине */
    background-color: #050a6e;
    margin-top: 5px;
  }

  /* Специальный стиль для кнопки в мобильном меню */
  .RightBlockMenu a.cabinet-button,
  .RightBlockMenu a#loginTrigger {
    background-color: #050a6e; /* фон как у шапки при скролле */
    margin-top: 5px;
  }

  .RightBlockMenu a.cabinet-button:hover,
  .RightBlockMenu a#loginTrigger:hover {
    background-color: #0073ff;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .burger-menu {
    width: 26px;
    height: 20px;
    right: 10px;
    top: 12px;
  }

  .burger-menu span {
    height: 2px;
  }

  .LeftBlockMenu a,
  .RightBlockMenu a {
    padding: 10px 12px;
    font-size: 15px;
  }
}


.modal {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  z-index: 2000; /* Выше меню */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный оверлей */
  backdrop-filter: blur(5px); /* Эффект размытия (опционально) */
}


/* Контейнер контента модального окна */
.modal-content {
  background-color: white;
  margin: auto;
  padding: 2%;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  position: relative;
  animation: fadeIn 0.3s ease;
  max-height: 80vh; /* Ограничиваем высоту */
  overflow-y: auto; /* Включаем вертикальную прокрутку */
  scrollbar-width: thin; /* Для Firefox */
  scrollbar-color: #4CAF50 rgba(0,0,0,0.05); /* Для Firefox */
}

/* Стили для WebKit (Chrome, Edge, Safari) */
.modal-content::-webkit-scrollbar {
  width: 10px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4CAF50, #0073ff);
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.3);
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #45a049, #0056b3);
}

/* Кнопка закрытия */
.close-btn, .close-btn-register {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover, .close-btn-register:hover {
  color: black;
  text-decoration: none;
}

/* Анимация появления */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Стили формы внутри модального окна */
.modal-content h3 {
  margin-top: 0;
  color: #333;
}



.modal-content .button {
  width: 65%;
  padding: 2%;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  display: block;           /* Делает кнопку блочной */
  margin: 2% auto 0 auto;   /* Вертикальный отступ сверху + центрирование по горизонтали */
}

.modal-content .button:hover {
  background-color: #45a049;
}

.input-error {
  border: 2px solid red !important;
}















/* Единые стили для всех полей ввода и select */
.modal-content input,
.modal-content select {
  display: block;
  width: 80%;
  max-width: 400px; /* ограничение ширины на больших экранах */
  padding: 16pt;
  margin: 10px auto;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16pt;
  font-family: 'BuyanRegular', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Состояние фокуса */
.modal-content input:focus,
.modal-content select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

/* Стили для placeholder */
.modal-content ::placeholder {
  color: #888;
}

/* Ошибка — единый стиль для всех полей */
.input-error,
.modal-content input.invalid,
.modal-content select.invalid {
  border-color: red !important;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2) !important;
}



/* Общие кнопки в модалках */
.modal-content .button,
.modal-content .entrance {
  width: 65%;
  max-width: 400px;
  padding: 2%;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16pt;
  font-family: 'BuyanBold', sans-serif;
  display: block;
  margin: 2% auto 0 auto;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ховер для всех кнопок */
.modal-content .button:hover,
.modal-content .entrance:hover {
  background-color: #45a049;
}

/* Кнопка "Регистрация" (отдельный стиль) */
#registerTrigger {
  background-color: #0073ff;
}

#registerTrigger:hover {
  background-color: #005bb5;
}

/* Заголовки в модалках */
.modal-content h1,
.modal-content h3 {
  text-align: center;
  color: #333;
  margin: 0 0 15px 0;
  font-family: 'BuyanBold', sans-serif;
  font-size: 24pt;
}

/* Сообщения об ошибках */
.form-error {
  text-align: center;
  color: red;
  font-size: 14pt;
  margin: 10px auto;
  padding: 8px;
  background-color: rgba(255, 0, 0, 0.1);
  border-radius: 4px;
  width: 80%;
  max-width: 400px;
}


/* Для select — добавить стрелку-индикатор */
.modal-content select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23999! d="M2 0L0 2h4z"/></svg>');
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 32px; /* место для стрелки */
}

/* Контейнер формы — центрирование */
.modal-content .input-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}


@media (max-width: 480px) {
  .modal-content input,
  .modal-content select {
    width: 90%;
    padding: 12pt;
  }

  .modal-content .button,
  .modal-content .entrance {
    width: 90%;
  }

  .form-error,
  .modal-content h1 {
    width: 90%;
  }
}




























.layers {
  background-color: #050a6e;
  position: relative;
  /*min-height: 100vh;*/
  margin: auto;
  overflow: hidden;
}

.layers2 {
  background-color: #083d74;
  position: relative;
  /*min-height: 100vh;*/
  margin: auto;
  overflow: hidden;
}

/* 1. Основной контейнер контента */
.NewIntro_root {
  position: relative;
  z-index: 10;
  height: calc(100vh - var(--running-string-height, 0));
  min-height: calc(100dvh - var(--running-string-height, 0));
  padding-top: 8%;
  padding-bottom: 8%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* 2. Фоновое изображение на весь экран */
.NewIntro_root::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/scale_1200.jpg') center/105% no-repeat;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1500px) {
  .NewIntro_root::before {

    background: url('../img/scale_1200.jpg') center/145% no-repeat;

  }



}
/* 3. Контейнер видео */
.VideoLogo_container {
  position: absolute;
  width: 100%;
  height: 90%;
  z-index: 1;
  overflow: hidden;
  display: flex;
}

.video-left .VideoLogo_video {
  position: absolute;
  width: 70%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url(../img/mask_video.svg);
  mask-image: url(../img/mask_video.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}

/* 4. Контейнер центрального блока */
.NewIntro_center-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  /* padding: 40px 20px; */
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 7%;
}

/* 5. Блок текста с полупрозрачной подложкой */
.hero-content {
  position: relative;
  z-index: 20;
  margin-bottom: 30px;
  /*background: rgba(0,0,0,0.5);*/
  /*backdrop-filter: blur(5px);*/
  border-radius: 12px;
  padding: 25px 15px;
  display: inline-block;
}

/* 6. Стили текста */
.hero-content h1,
.hero-content span {
  color: #fff;
  margin: 0;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-content h1 {
  font-size: 14pt;
  letter-spacing: 1px;
  margin-bottom: 5%;
  text-shadow: 1px 1px 1px rgba(15, 15, 15, 0.5);
  font-family: BuyanRegular;
}

.hero-content span {
  font-size: 7rem;
  line-height: 0.9em;
  font-weight: 500;
  letter-spacing: -1px;
  text-shadow: 5px 2px 10px rgba(15, 15, 15, 0.5);
  font-family: 'Slavanskay', sans-serif;
}

/* 7. Подзаголовок */
.NewIntro_subtitle {
  color: #fff;
  font-family: 'Rubik', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-top: 20px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.NewIntro_red-text {
  color: #ff4d4d;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(255, 77, 77, 0.4);
}

.NewIntro_white-text {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =================== */
/*      Адаптив        */
/* =================== */

/* Планшеты и мобильные */
@media (max-width: 1024px) {
  .NewIntro_root {
    padding: 15px;
    height: auto;
    min-height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .video-left .VideoLogo_video {
    width: 100%;
    height: auto;
    top: unset;
    left: unset;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .NewIntro_center-container {
    width: 100%;
    padding: 20px;
    text-align: center;
  }
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .NewIntro_root::before {
    background-size: 160%;
  }

  .hero-content{
    padding: 0px 15px;
  }

  .hero-content span {
    font-size: 5rem;
  }

  .hero-content h1 {
    font-size: 12pt;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .NewIntro_center-container {
    /*padding: 15px;*/
    font-size: 14px;
  }

  .hero-content span {
    font-size: 20pt;
  }

  .hero-content h1 {
    font-size: 10pt;
  }
}


/* 8. Кнопки */
.StickerButtons_center-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.StickerButtons_center-text button{
  margin: 1%;
}

.LinkButton_button {
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: BuyanBold;
  font-size: 16pt;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin: 2%;
  text-decoration: none;
}

.red-button {
  background-color: #ff4d4d;
  box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
}

.white-button {
  background-color: white;
  color: #050a6e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
  .StickerButtons_center-text {
    flex-direction: column;
    align-items: center;
  }

  .LinkButton_button {
    padding: 4%;
    font-size: 10pt;

  }

  .StickerButtons_center-text button{
    margin-top: 1%;
  }
}

/* 9. Анимация */
.scale-opacity-appear {
  /*opacity: 0;*/
  animation-name: scale-opacity-appear;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}


/*Второй экран*/
/*часто задаваемые вопросы*/
.faq-wrapper {
  display: flex;
  gap: 40px;
  max-width: 80%;
  margin: 5% auto;
  margin-top: 15%;
  margin-bottom: 15%;
  padding: 0 2%;
  align-items: flex-start; /* чтобы левый блок не растягивался */
}

@media screen and (max-width: 800px) {
  .faq-wrapper {
    flex-direction: column; /* ставим блоки вертикально */
    gap: 20px;
    margin-top: 10%;
    margin-bottom: 0%;
    padding: 0;
  }

  .faq-left,
  .faq-right {
    width: 100%; /* каждый блок занимает всю ширину */
    min-height: auto; /* чтобы картинка не была слишком высокой */
  }

  .faq-right {
    background-size: contain; /* картинка влезает полностью */
    height: 250px; /* оптимальная высота для мобильных */
  }

  .faq-question {
    font-size: 20pt; /* уменьшаем шрифт вопросов */
  }

  .faq-answer {
    font-size: 14pt; /* уменьшаем шрифт ответов */
  }

}

.faq-left {
  flex: 1;
}

.faq-right {
  flex: 1;
  min-height: 500px; /* увеличиваем высоту правого блока */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  background: url('../img/Kazak_FAQ.png') center center no-repeat;
  background-size: contain; /* картинка полностью помещается */
  border-radius: 12px;
}

  @media screen and (max-width: 800px) {
    .faq-right{
      min-height: 200px;
    }
  }


/* Блок вопросов */
.BlokQuestions {
  width: 100%;
  border: white solid 3px;
  border-radius: 8px;
  padding: 2%;
  margin: 2%;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 28pt;
  font-family: BuyanBold;
  padding: 10px 0;
}

.faq-question span {
  font-weight: 500;
  color: white;
}

/* Стрелка */
.arrow {
  width: 14px;
  height: 14px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  transition: 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(225deg);
}

/* Ответ */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-size: 16pt;
  font-family: BuyanRegular;
  padding-right: 10px;
  color: white;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 5px;
}

.form-help {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-help input[type="text"] {
  margin: 1% 0;
  width: 80%;
  height: 10%;
}

.form-help p {
  text-align: center;
  margin: 1% 0;
}

.form-help input[type="submit"] {
  width: 50%;
}

.form-help textarea {
  resize: none;
  margin-bottom: 5%;
}


#startTestMessage {
  width: 100vw;
  height: 100vh;
  background: #000;
  position: absolute;
  z-index: 2;
  display: none;
  justify-content: center;
  align-items: center;
  color: #fff;
}

#startTestMessage div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#startTestMessage div {
  text-align: center;
}

#startTestMessage div button {
  width: 30%;
  height: 1%;
  padding: 2%;
  box-sizing: border-box;
  border-radius: 5px;
  background: rgb(160, 200, 195);
  color: #fff;
  margin-top: 5%;
  border: none;
}

#startTestMessage div button:hover {
  transform: scale(1.5);
}

.bt-header {
  padding: 15px;
}

#right-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#simple-form h1,
#yur-form h1,
.help-container h1 {
  margin: 5% 0;
  text-align: center;
}

#simple-form,
#yur-form {
  background: rgb(160, 200, 195);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3% 0;
  box-sizing: border-box;
}

#simple-form form input[type="text"]:valid,
#simple-form form input[type="password"]:valid,
#simple-form form input[type="email"]:valid {
  outline: 1px solid rgb(41, 243, 0);
}
#simple-form form input:focus {
  outline: 1px solid #fff;
}

#login-form {
  display: none;
  flex-direction: column;
  align-items: center;
}

#login-form h1 {
  text-align: center;
  margin-bottom: 10%;
}

.form-info {
  color: #fff;
  font-size: 2vh;
  margin-bottom: 10px;
  text-align: center;
}

#simple-form form,
#login-form form,
#yur-form form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#simple-form form input,
#simple-form form select,
#yur-form form input,
#yur-form form select {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

#login-form form input {
  margin-bottom: 10px;
  box-sizing: border-box;
}

#simple-form form input[type="submit"],
#yur-form form input[type="submit"],
#login-form form input[type="submit"] {
  width: 60%;
  height: 30px;
  padding: 5px;
  box-sizing: border-box;
}

#login-form button {
  height: 30px;
  padding: 0 15px;
  box-sizing: border-box;
  margin-top: 20px;
}

.form-error {
  color: rgb(243, 57, 57);
  font-weight: 500;
}

#bt-back-from-fizreg,
#bt-back-from-yurreg {
  height: 30px;
  padding: 5px;
  box-sizing: border-box;
}

.num-reg_2 {
  text-align: center;
  font-family: Rubik;
  color: rgb(236, 235, 233);
  margin-top: 5%;
  line-height: 0.9;
  text-shadow: 0 0 10px #000;
}

@keyframes enter-animation {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .num-reg_2-animation {
    animation: enter-animation 0.8s 1;
  }
}

.text-num-reg {
  text-align: center;
  font-family: Rubik;
  color: rgb(236, 235, 233);
}

.text-timer {
  text-align: center;
  font-family: Rubik;
  color: rgb(236, 235, 233);
  margin-top: 15%;
  line-height: 1;

  /* outline: 2px solid #000; */
}

/*цвет кнопки*/
.background-bt {
  background-color: rgb(76, 136, 145);
  margin-bottom: 15%;
  box-shadow: 0 0 5px rgb(255 255 255);
}

#bt-login-form2 {
  margin-top: 15%;
}

.btn {
  line-height: 50px;
  height: 80px;
  text-align: center;
  cursor: pointer;
}

.btn-three {
  color: rgb(236, 235, 233);
  transition: all 0.5s;
  position: relative;
  font-family: Rubik;
  padding: 15px;
}
.btn-three::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}
.btn-three:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}
.btn-three::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.2, 1.2);
}
.btn-three:hover::after {
  opacity: 1;
  transform: scale(1, 1);
}

.bt-bisness-form {
  background-color: Transparent;
  /* background-repeat:no-repeat; */
  border: none;
  color: rgb(236, 235, 233);
  width: 100%;
  /* cursor:pointer; */
  /* overflow: hidden;         */
}

.bt-simple-form {
  background-color: Transparent;
  /* background-repeat:no-repeat; */
  border: none;
  color: rgb(236, 235, 233);
  width: 100%;

  /* cursor:pointer; */
  /* overflow: hidden;         */
}

.bt-simple-form a {
  text-decoration: none;
}

header {
  text-align: center;
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(41, 53, 75);
  color: #fff;
}



.progress {
  width: 90%;
  border: 1px solid rgb(41, 53, 75);
  border-radius: 13px;
  margin-top: 2%;
  margin-bottom: 5%;
}

.bar {
  background: rgb(41, 53, 75);
  color: #fff;
  height: 100%;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  span {
    float: right;
    padding: 4px 5px;
    color: #fff;
    font-size: 0.7em;
    height: 100%;
  }
}

.question {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
  box-sizing: border-box;
}

.answers {
  font-size: 16pt;
}

.question h2 {
  text-align: justify;
  text-indent: 50px;
  margin-bottom: 3%;
}

.answers div label input{
  margin-right: 15px;
}

.input {
  /*background-color: rgb(41, 53, 75);*/
  border-radius: 12px;
  border: 1px solid black;
  box-sizing: border-box;
  /*color: rgb(236, 235, 233);*/
  height: 100%;
  padding: 3%;
}

.file-input {
  /*background-color: rgb(41, 53, 75);*/
  border-radius: 12px;
  border: 1px solid black;
  box-sizing: border-box;
  color: rgb(236, 235, 233);
  height: 100%;
  width: 100%;
  /* padding: 4px 20px; */
}

.logos {
  background-image: url(../img/logo.png);
  width: calc(var(--index) * 3.1);
  height: calc(var(--index) * 3.1);
  background-repeat: no-repeat;
  position: absolute;
  left: 50%;
  top: 10%;
  z-index: 1;
}

.logos2 {
  background-image: url(../img/logos2.png);
  width: calc(var(--index) * 3.1);
  height: calc(var(--index) * 3.1);
  background-repeat: no-repeat;
  position: absolute;
  left: 20%;
  top: 10%;
  z-index: 1;
}

.logos3 {
  background-image: url(../img/logo3.png);
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  position: absolute;
  left: 10%;
  top: 10%;
  z-index: 3;
}

.header-logos {
  display: block;
}



.button-start {
  font-family: Rubik;
  font-weight: 600px;
  text-transform: uppercase;
  font-size: 14pt;
  letter-spacing: -0.1px;
  padding: 10px 30px;
  background-color: transparent;
  color: rgb(236, 235, 233);
  border-radius: 5em;
  border: rgb(236, 235, 233) 3px solid;
  outline: none;
  cursor: pointer;
  margin-top: 10%;
  transition: all 1s;
  box-shadow: inset 0 0 10px 2px #fff, 0 0 10px 2px #000;
}

.button-start:hover {
  transition: all 1s;
  animation: 1s btstart linear infinite;
}

/* rgb(41, 53, 75), rgb(160, 200, 195)); */
@keyframes btstart {
  50% {
    border: rgb(160, 200, 195) 3px solid;
    color: rgb(160, 200, 195);
    transform: scale(0.9);
  }
}



/*button.entrance,*/
/*input[type="submit"].entrance {*/
/*  cursor: pointer;*/
/*  border: none;*/
/*  border-radius: 10px;*/
/*  color: white;*/
/*  background-color: rgb(76, 136, 145);*/
/*  padding: 10px 20px;*/
/*  !* width: 100px; *!*/
/*  text-decoration: none;*/
/*  text-align: center;*/
/*  margin: 0 auto;*/
/*  display: block;*/
/*  background-image: linear-gradient(*/
/*    to left,*/
/*    transparent,*/
/*    transparent 50%,*/
/*    rgb(41, 53, 75) 50%,*/
/*    rgb(41, 53, 75)*/
/*  );*/
/*  background-position: 100% 0;*/
/*  background-size: 200% 100%;*/
/*  transition: all 0.25s ease-in;*/
/*  font: 400 18px tahoma;*/
/*  box-shadow: 0 0 5px rgb(255 255 255);*/
/*}*/

button.entrance:hover,
input[type="submit"].entrance:hover {
  background-position: 0 0;
  color: #fff;
}

/*Кнопка к Целям*/

.target {
  height: 500px;
  background-color: rgb(236, 235, 233);
  width: 100%;
  background-repeat: no-repeat;
}

/* КАРТИНКА */
*,
*:after,
*:before {
  box-sizing: border-box;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.hover-text-one {
  overflow: hidden;
  margin: 0;
  width: 25%;
  height: 50%;
  list-style: none;
  text-align: center;
}
.hover-text-one figure {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  background: #527c82;
  text-align: center;
  cursor: pointer;
}
.hover-text-one figure img {
  position: relative;
  display: block;
  min-height: 100%;
  opacity: 0.8;
}
.hover-text-one figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hover-text-one figure figcaption::before,
.hover-text-one figure figcaption::after {
  pointer-events: none;
}
.hover-text-one figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.hover-text-one figure h3 {
  word-spacing: -0.15em;
  font-weight: 300;
}
.hover-text-one figure h3 span {
  font-weight: 800;
}
.hover-text-one figure h3,
.hover-text-one figure p {
  margin: 0;
}
.hover-text-one figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/* Эффект при наведении */
figure.effect-text-three {
  background: #527c82;
}
figure.effect-text-three img {
  width: -webkit-calc(100% + 20px);
  width: calc(100% + 20px);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  transform: scale(1.1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
figure.effect-text-three:hover img {
  opacity: 0.4;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-text-three figcaption {
  text-align: left;
}
figure.effect-text-three h3 {
  position: relative;
  overflow: hidden;
  padding: 0.5em 0;
}
figure.effect-text-three h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  content: "";
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}
figure.effect-text-three:hover h3::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-text-three p {
  padding: 1em 0;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
}
figure.effect-text-three:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/* третья сепкция */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
}
.tm-page-content-width {
  margin: 0 auto;
  width: 100%;
}
/* .tm-page-content-width,
.tm-content-box {
  height: 100vh;
} */

.tm-small-font {
  font-size: 1rem;
}

.p {
  text-align: justify;
  text-indent: 20px;
  margin-top: 5%;
  text-shadow: 0 0 10px #858585;
}

.logoss {
  display: flex;
  margin: 10px;
  justify-content: center;
  align-items: center;
}

.logo_vsko {
  filter: brightness(50%);
  transition: all 0.5s;
  cursor: pointer;
  width: 15%;
  height: 7%;
  margin: 15px;
}

.logo_vsko-3 {
  filter: brightness(50%);
  transition: all 0.5s;
  cursor: pointer;
  width: 10%;
  height: 7%;
  margin: 15px;
}

.logo_vsko-4 {
  filter: brightness(50%);
  transition: all 0.5s;
  cursor: pointer;
  width: 25%;
  height: 7%;
  margin: 15px;
}

.logo_vsko img,
.logo_vsko-3 img,
.logo_vsko-4 img {
  width: 100%;
}

.logo_vsko:hover,
.logo_vsko-3:hover,
.logo_vsko-4:hover {
  filter: brightness(100%);
  transition: all 0.5s;
}

#yur-form div p span{
  color: #000;
  font-weight: 600;
}

hr{
  margin: 10px 0;
}

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination a {
  margin: 15px;
  text-decoration: none;
  color: rgb(41, 53, 75);
}

.change-contry {
  text-decoration: none;
  text-align: center;
  margin-top: 1%;
  margin-bottom: 1%;
  font-weight: 500;
  transition: all 0.7s linear;
}

.change-contry:hover {
  transform: scale(1.05);
  transition: all 0.7s linear;
  border-bottom: 1px solid black;
}

@media screen and (min-width: 801px) {
  .video1 {
    height: 40vh;
  }
  .video {
    width: 40%;
    height: 100%;
  }
  .video1 p {
    width: 40%;
  }
}

@media screen and (max-width: 800px) {
  .video1 {
    flex-direction: column;
    height: 60vh;
  }
  .video {
    width: 90%;
    height: 65%;
  }
  .video1 p {
    width: 90%;
  }
}

.videoblock {
  width: 100%;
  min-height: 100vh;
  background: rgb(160, 200, 195);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.video1 {
  width: 100%;
  margin: 2.5% 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.video {
  box-shadow: 1px 1px 15px rgb(41, 53, 75);
  border-radius: 5px;
}

iframe {
  border-radius: 5px;
}

.video1 p {
  text-align: justify;
  text-indent: 5%;
  background: rgb(41, 53, 75);
  color: white;
  padding: 3%;
}

/* Личный кабинет */
.h1_account {
  font-family: 'BuyanBold', sans-serif;
  font-size: 4rem;
  color: #ffffff;
  margin-left:10%;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.blok_yurusers{
margin-top: 4.3%;
}

/* Контейнер профиля пользователя */
.user-profile {
  max-width: 90%;
  width: 100%;
  margin: 0 auto;
  padding-right: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow:
          0 2px 8px rgba(0, 0, 0, 0.06),
          0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}


.user-profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #050a6e, #0073ff);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Заголовок профиля */
.user-profile h1 {
  font-size: 2.25rem;
  color: #050a6e;
  margin-bottom: 16px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* .user-info-value user-info-value--full-name {
  font-size: 38pt;
  font-family: BuyanBold;
}
 */
 
#fio {
    font-size: 35pt;
    font-family: BuyanBold;
    text-align: left;
    padding-top:2%;
}

@media (max-width: 480px) {
    #fio {
        font-size: 32pt;
        font-family: 'BuyanBold', sans-serif;
        
        /* Основные свойства для переноса */
        white-space: normal; /* Позволяет переносы, игнорирует пробелы/табуляции */
        word-wrap: break-word; /* Устаревшее, но для совместимости */
        overflow-wrap: break-word; /* Современный стандарт — разрывает длинные слова */
        hyphens: auto; /* Автоматические переносы (требует lang в HTML) */
        
        /* Размеры и отступы */
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        
        /* Дополнительно: ограничение высоты (опционально) */
        /* max-height: 100px; */
        /* overflow: hidden; */
    }
}




/* Подзаголовок */
.user-profile p {
  font-size: 18pt;
  color: #666666;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Список информации о пользователе */
.user-info-list {
  list-style: none;
  padding: 0;
  margin: 0 -40px; /* компенсируем отступы контейнера */
}

/* Элемент списка — теперь блочный поток (без flex) */
.user-info-item {
  padding: 0.5% 10%;
  font-size: 1rem;
  color: #444444;
  line-height: 1.5;
}

/* Метка (название поля) — без фиксированной ширины, с небольшим отступом справа */
.user-info-label {
  font-weight: 600;
  color: #0073ff;
  font-size: 14pt;
  font-family: BuyanBold;
  margin-right: 0.5em; /* Пробел между меткой и значением */
  display: inline; /* Чтобы не переносить на новую строку */
}

/* Значение поля — идёт сразу после метки */
.user-info-value {
  color: #333333;
  line-height: 1.5;
  word-wrap: break-word;
  hyphens: auto;
  display: inline; /* Чтобы оставаться в одной строке с меткой */
  font-family: 'BuyanRegular';
}

/* Специальный класс для ФИО — оставляем flex для компактного отображения */
.user-info-value--full-name {
  white-space: nowrap;
  display: flex;
  gap: 8px;
  /* Для совместимости с inline-контекстом */
  align-items: baseline;
}

/* Адаптивность: планшеты и мобильные устройства */
@media (max-width: 1024px) {
  .user-profile {
    padding: 32px;
    max-width: 95%;
  }

  .user-profile h1 {
    font-size: 2rem;
  }

  .user-profile p {
    font-size: 1rem;
    margin-bottom: 24px;
    
  }
}

@media (max-width: 768px) {
  .user-profile {
    margin: 16px auto;
    padding: 24px;
    border-radius: 12px;
  }

  .h1_account {
    font-size: 14pt;
   margin-top: 24%;
  }

  .h1_account_yur{
    font-size: 14pt;
    margin-top: 18%
  }

  .user-profile h1 {
    font-size: 1.75rem;
    margin-bottom: 32pt;
  }

  .user-profile p {
    font-size: 18pt;
    margin-bottom: 20px;
  }

  .user-info-list {
    margin: 0 -24px;
  }

  /* На планшетах сохраняем inline-расположение */
  .user-info-item {
    padding: 14px 24px;
  }

  .user-info-label {
    font-size: 0.9375rem;
    margin-right: 0.4em;
  }

  .user-info-value {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .user-profile {
    padding: 16px;
    border-radius: 8px;
  }
  
 
  

  .h1_account {
    font-size: 2.5rem;
    margin-top: 30%;
  }

  h1_account_yur{
    font-size: 2.5rem;
    margin-top: 15%;
  }

  .user-profile h1 {
    font-size: 1.5rem;
  }

  .user-profile p {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .user-info-list {
    margin: 0 -16px;
  }

  /* На мобильных — вертикальный макет */
  .user-info-item {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .user-info-label {
    width: 100%;
    margin-right: 0;
    text-align: left;
    font-weight: 700;
    display: block; /* Возвращаем блочное отображение */
  }

  .user-info-value {
    width: 100%;
    text-align: left;
    display: block; /* Возвращаем блочное отображение */
  }
}

/* === ПАНЕЛЬ ДЕЙСТВИЙ В ЛИЧНОМ КАБИНЕТЕ === */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.profile-layout {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

.user-profile {
  flex: 1 1 65%;
}

.actions-container {
  flex: 1 1 30%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.actions-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.action-btn {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: center;
  color: #ffffff;

  border: none;
  border-radius: 8px;
  font-size: 18pt;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  font-family: BuyanBold;
}

.action-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.action-btn:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* Адаптация для планшетов и мобильных */
@media (max-width: 768px) {
  .profile-layout {
    flex-direction: column;
    align-items: center;
    /*text-align: center;*/
  }

  .user-profile,
  .actions-container {
    width: 100%;
    max-width: none;
    margin-bottom: 2rem;
  }

  .actions-panel {
    max-width: 100%;
    align-items: center;
  }
}

/* Дополнительно: для очень маленьких экранов */
@media (max-width: 480px) {
  .action-btn {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
  }

  .profile-layout {
    gap: 1.5rem;
  }
}


/*Регистрация площадок*/
/* Контейнер формы — блочный, на всю ширину */
.input-container {

  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  font-family: BuyanBold;
  color: black;

  display: flex;
  flex-direction: column;
  gap: 16px; /* Отступы между полями */
  max-width: 500px; /* Ограничиваем ширину для читаемости */
  margin: 0 auto; /* Центрируем форму */
}

.input-container input{
  font-family: BuyanRegular;
}

.input-container select{
  font-family: BuyanRegular;
  padding:3%;
}

#yurusers_form{

}

/* Все поля ввода, селекты, файл-инпут — на 100% ширины контейнера */
/*input .input, .file-input, select {*/
/*  display: block;*/
/*  width: 100%;*/
/*  padding: 6% 15px;*/
/*  margin-bottom: 15px;*/
/*  border: 1px solid #ddd;*/
/*  border-radius: 6px;*/
/*  font-size: 18pt;*/
/*  box-sizing: border-box;*/
/*  transition: border-color 0.3s ease;*/
/*}*/

/* Фокусированное поле */
.input:focus,
select:focus,
.file-input:focus {
  outline: none;
  border-color: #0073ff;
}

/* Кнопка отправки и кнопка «Назад» */
.entrance {
  display: block;
  width: 100%;
  padding: 12px 0;
  background-color: #0073ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  font-family: BuyanBold;
  font-size: 14pt;
}

.entrance:hover {
  background-color: #0073ff;
}

/* Стили для file-input (можно улучшить визуально) */
.file-input {
  padding: 10px 15px;
}

/* Сообщения об ошибках и подсказки */
.form-error {
  color: #ff0000;
  font-size: 14px;
  margin-bottom: 15px;
}

.form-info {
  color: #666;
  font-size: 12px;
  margin-bottom: 5px;
}

/*Стилои для 3 экрана*/

.layers3{
  background-color: white;
}

#venue{
  font-family: BuyanBold;
  font-size: 52pt;
  color: #050a6e;
  padding: 2%;

}

.form_region{
  width: 60%;
  margin: auto;
  font-family: BuyanRegular;
}

.container_form{
  width: 80%;
  margin: auto;
  font-family: BuyanBold;
  font-size: 24pt;
  color: #050a6e;
}

.container_form {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.container_form label {
  font-weight: 500;
  color: #495057;
  text-align: right;
  padding-right: 2%;
}

.container_form select {
  /* Базовая геометрия */
  flex: 1;
  width: 100%;
  min-width: 0; /* Чтобы не ломалась flex‑раскладка */
  max-width: 400px;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem; /* Запас для кастомной стрелки */

  /* Типографика */
  font-family: BuyanRegular, sans-serif;
  font-size: 14pt;
  line-height: 1.5;
  color: #212529;

  /* Фон и границы */
  background-color: #fff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);

  /* Фокус и переходы */
  outline: none;
  transition:
          border-color 0.3s ease,
          box-shadow 0.3s ease,
          transform 0.2s ease;

  /* Кастомная стрелка (убираем стандартную и ставим SVG) */
  appearance: none; /* Убирает стандартную стрелку браузера */
  -moz-appearance: none; /* Для Firefox */
  -webkit-appearance: none; /* Для Safari/Chrome */

  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M7 10L12 15L17 10" stroke="#6c757d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;

  /* Поведение при наведении */
  &:hover {
    border-color: #ced4da;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  /* Поведение при фокусе */
  &:focus {
    border-color: #0d6efd;
    box-shadow:
            0 0 0 2px rgba(13, 110, 253, 0.1),
            0 0 0 4px rgba(13, 110, 253, 0.25);
    transform: translateY(-1px);
  }

  /* Отключённое состояние */
  &:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
  }
}



/* Основные стили для контейнера карточек */
.cards-container {
  /*display: grid;*/
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Стили для карточки */
.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 2%;
  padding: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid #e9ecef;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-family: BuyanBold;
  font-size: 24pt;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0d6efd;
}

.card-field {
  margin-bottom: 0.75rem;
}

.card-label {
  display: block;
  font-weight: 500;
  color: #6c757d;
  font-family: BuyanBold;
  font-size: 22pt;
  margin-bottom: 0.25rem;
}

.card-value {
  color: #495057;
  line-height: 1.4;
}

/* Стили пагинации */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.pagination li {
  display: inline-block;
}

.pagination a,
.pagination span {
  display: block;
  padding: 0.5rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.pagination a:hover {
  background-color: #f8f9fa;
  border-color: #0d6efd;
}

.pagination .current {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
  font-weight: 600;
}

.pagination .disabled {
  color: #6c757d;
  pointer-events: none;
  background-color: #eee;
  border-color: #ddd;
}

/* Сообщение об отсутствии данных */
.no-data {
  text-align: center;
  padding: 2rem;
  color: #6c757d;
  font-style: italic;
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
  .cards-container {
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }

  .card {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .pagination {
    flex-direction: column;
    align-items: center;
  }
}