/* montserrat-300 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('../assets/fonts/montserrat-v29-cyrillic_latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../assets/fonts/montserrat-v29-cyrillic_latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../assets/fonts/montserrat-v29-cyrillic_latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-600 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('../assets/fonts/montserrat-v29-cyrillic_latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../assets/fonts/montserrat-v29-cyrillic_latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  width: 100vw;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 20px;
  line-height: 1.2;
  font-weight: normal;
  background-color: #272634;
  color: #d1d1d1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.footer {
  margin-top: auto;
}


.wrapper {
  max-width: 1058px;
  margin: 0 auto;
}

/*кнопка прокрутки*/
#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  width: 70px;
  height: 70px;
  padding: 16px;
  font-size: 28px;
  background-color: #1b1a28;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(255, 79, 79, 0.4);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#scrollToTopBtn:hover {
  background-color: #313135;
  transform: scale(1.1);
}

.btnscroll {
  margin-top: -5px;
}

/*кнопка прокрутки конец*/

/* изображения*/


/* ХЕДЕР начало */

.header {
  position: relative;
  z-index: 10;
  width: 100%;
}

/*лого*/
.header_logo_img,
.footer_logo_img {
  width: 56px;
  height: 56px;
}

.header_logo_text {
  color: #969696;
  font-size: 37px;
  line-height: 1.05;
  font-weight: 700;
  border-style: solid;
  text-decoration: none;
}

.header_logo_link,
.footer_logo_link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/*лого*/

/*ссылки меню*/
.header_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20PX;
}

.header_list {
  display: flex;
  flex-wrap: wrap;
}

.header_item {
  margin-right: 20px;
}

.header_item:last-child {
  margin-right: 0;
}

.header_link {
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  color: #969696;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/*ссылки меню*/

.header_link:hover,
.header_link:active {
  color: #ffffff;
}

/*стиль номера телефона*/
.header_link_phone {
  font-weight: 300;
  font-size: 20px;
  line-height: 24px;
  color: #ff4f52;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.header_link_phone:hover {
  color: #ffa2a4;
}

.header_link_phone_img {
  width: 40px;
  height: 36px;
  margin-top: -3px;
}

/*стиль номера телефона*/


/* стиль для кнопки*/
.header_sing_in_button {
  color: #969696;
  font-size: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.5;
  font-weight: 300;
  border-radius: 12px;
  background-color: transparent;
  background-position: center center;
  border: 1px solid rgba(255, 79, 79, 0.4);
  border-style: solid;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  padding: 5px 15px 5px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: -9px;
}

.header_sing_in_button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

/* бургер меню */

.burger {
  margin-bottom: 12.5px;
  margin-right: 20px;
  display: none;
  position: relative;
  z-index: 9;
  align-items: center;
  justify-content: flex-end;
  width: 30px;
  height: 18px;
}

.burger::before,
.burger::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #969696;
  transition: all 0.3s ease 0s;
}

.burger span {
  height: 2px;
  width: 100%;
  transform: scale(1);
  background-color: #969696;
}

/* Бургер активен */
.burger::before {
  top: 0;
}

.burger::after {
  bottom: 0;
}

.burger.active span {
  transform: scale(0);
}

.burger.active::before {
  top: 50%;
  transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
  bottom: 50%;
  transform: rotate(45deg) translate(0, 50%);
}

.header_nav {
  display: flex;
  align-items: center;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/*скрыть личный кабинет кнопки и номер телефона*/
.mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .header_btn {
    display: none;
  }

  .header_logo_img,
  .footer_logo_img {
    width: 42px;
    height: 42px;
  }

  .inf_about_us {
    margin: 20px 0px 60px 0px;
  }

  .mobile-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

/* Мобильная версия */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .header_logo_text {
    font-size: 30px;
  }

  .header_nav {
    margin-top: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #272634;
    background-size: 100%;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
  }

  .header_nav.open {
    max-height: 100vh;
    opacity: 1;
    pointer-events: all;
  }

  .header_list {
    flex-direction: column;
    width: 100%;
    padding: 10px 20px;
    align-items: flex-start;
  }

  .header_item {
    margin: 10px 0;
    text-align: left;
    width: 100%;
  }
}

/*блокировка прокрутки*/
.no-scroll {
  overflow: hidden;
  height: 100vh;
}


/* ХЕДЕР конец */


/*КАРТОЧКИ начало*/

.buttons_cards {
  margin: 0 auto;
  margin-bottom: 60px;
  padding-top: 67px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 34px;
}

.card_anydesk,
.card_rms,
.card_kontur {
  width: 100%;
  height: 507px;
  border-width: 1px;
  border-radius: 12px;
  opacity: 0.7;
  background-color: #1b1a28;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;

}

.card_anydesk {
  border-color: #ff4f4f;
}

.card_rms {
  border-color: #7fcccc;
}

.card_kontur {
  border-color: #d7f799;
}

/* изображение */
.card_img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.card-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
}

.card-logo_anydesk {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
}

.anydesk_img {
  padding-top: 110px;
}

.rms_img {
  padding-top: 50px;
}

.card_img {
  padding-top: 110px;
}


/* кнопки */
.card_button_rms,
.card_button_kontur,
.card_button_anydesk {
  color: #969696;
  height: 60px;
  width: 80%;
  font-size: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  border-width: 1px;
  border-radius: 12px;
  background-color: transparent;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  outline: none;
}

.card_button_anydesk {
  border-color: #ff4f4f;
}

.card_button_rms {
  border-color: #7fcccc;
}

.card_button_kontur {
  border-color: #d7f799;
}

.card_text {
  text-decoration: none;
  color: #969696;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*запрет поиск*/
.card-logo,
.card-logo_anydesk {
  pointer-events: none;
  user-select: none;
}

/*анимация*/
.card_anydesk:hover,
.card_rms:hover,
.card_kontur:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.card_anydesk,
.card_rms,
.card_kontur {
  transition: transform 0.3s ease;
}

.card_anydesk:hover .card_button_anydesk {
  background-color: #ff4f4f;
  color: #1b1a28;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card_text:hover {
  color: #1b1a28;
}

.card_rms:hover .card_button_rms {
  background-color: #7fcccc;
  color: #1b1a28;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.card_kontur:hover .card_button_kontur {
  background-color: #d7f799;
  color: #1b1a28;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/*ФОН*/
.index-image {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.index-redlight {
  max-width: 868px;
  position: absolute;
  margin-top: -150px;
  margin-left: -350px;
  opacity: 20%;
  z-index: 0;
}

.index-bluelight {
  max-width: 800px;
  position: absolute;
  margin-top: 100px;
  margin-left: 120px;
  opacity: 20%;
  z-index: 0;
}

.index-greensvet {
  max-width: 800px;
  position: absolute;
  margin-top: 0px;
  margin-left: 600px;
  opacity: 20%;
  z-index: 0;
}

/* КАРТОЧКИ конец*/

/* О НАС начало */
.inf {
  position: relative;
  border-width: 1px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 80px 0px 40px 0px;
  padding: 22px 0px 0px 28px;
  z-index: 1;
  border-color: #1b1a2867;
}

/*текст*/
.headlines {
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
}

.headline {

  font-size: 40px;
  color: white;
  font-weight: 600;
}

.headline2 {
  font-size: 40px;
  font-weight: 600;
  -webkit-text-fill-color: #272634;
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px 1px 0 white,
    1px 1px 0 white;
}

.text {
  z-index: 1;
  color: #969696;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.text_about_us {
  max-width: 852px;
}

.highlight-link {
  color: #FF4F52;
  text-decoration: none;
}

/*изображения*/

.circle_img {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
}

.circle_img_about_us {
  margin-top: 340px;
  max-width: 150px;
  position: absolute;
  z-index: 0;
}

.about_us_redlight {
  margin-top: 450px;
  margin-left: 900px;
  max-width: 1087px;
  position: absolute;
  opacity: 0.4;
  z-index: 0;
}

@media (max-width: 1200px) {
  .about_us_redlight {
    margin-left: 700px;
    max-width: 900px;
  }

  .headline,
  .headline2 {
    font-size: 40px;
  }
}

/* до 992px*/
@media (max-width: 992px) {
  .about_us {
    padding: 20px 0;
  }

  .about_us_redlight {
    margin-left: 500px;
    max-width: 700px;
  }

  .headline,
  .headline2 {
    font-size: 40px;
  }
}

/*до 768px*/
@media (max-width: 768px) {

  .about_us {
    padding: 20px 0;
  }

  .about_us_redlight {
    margin-left: 300px;
    max-width: 500px;
  }

  .inf {
    margin: 60px 0px 30px 0px;
    padding: 18px 0px 0px 20px;
  }

  .headline,
  .headline2 {
    font-size: 40px;
  }

  .circle_img_about_us {
    margin-top: 300px;
    max-width: 120px;
  }
}

/*до 576px */
@media (max-width: 576px) {
  .circle_img {
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .inf_about_us {
    margin: 200px 0px 0px 0px;
  }

  .text {
    font-size: 18px;
  }

  .hww_text {
    font-size: 18px;
  }

  .about-us {
    padding: 20px 0;
  }

  .about_us_redlight {
    margin-left: 100px;
    max-width: 300px;
    margin-top: 400px;
  }

  .inf {
    margin: 40px 0px 20px 0px;
    padding: 15px 15px 0px 15px;
  }

  .headlines {
    margin-bottom: 15px;
  }

  .headline,
  .headline2 {
    font-size: 30px;
  }

  .circle_img_about_us {
    margin-top: 250px;
    max-width: 100px;
  }
}

/*до 400px */
@media (max-width: 400px) {
  .about-us {
    padding: 20px 0;
  }

  .about_us_redlight {
    margin-left: 50px;
    max-width: 250px;
    margin-top: 350px;
  }

  .headline,
  .headline2 {
    font-size: 25px;
  }

  .circle_img_about_us {
    max-width: 80px;
  }
}

/* О НАС конец */





/* КАК МЫ РАБОТАЕМ начало */
.how_we_work {
  padding-bottom: 20px;
}

/*текст*/
.hww_headline {
  font-size: 40px;
  color: white;
  font-weight: 600;
  margin: 40px 0px 40px 28px
}

.headline_number {
  font-size: 63px;
  font-weight: 600;
  color: white;
}

.headline_name {
  font-size: 22px;
  color: white;
  font-weight: 600;
  margin-bottom: 7px;
}

.hww_text {
  color: #969696;
  font-size: 22px;
  text-align: left;
}

/*таблица*/
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 25px;
  margin: 25px auto;
  width: 100%;
  max-width: 1200px;
}

.col1 {
  grid-row: span 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.col2,
.col3,
.merged {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.merged {
  grid-column: 2 / 4;
}

/*карточки*/

.hww_card01,
.hww_card02,
.hww_card03,
.hww_card04 {
  border-width: 1px;
  border-radius: 12px;
  opacity: 0.7;
  background-color: #1b1a28;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  align-items: center;
  padding: 29px 20px 20px 27px;
}

.hww_card01 {
  border-color: #FF4F52;
}

.hww_card02 {
  border-color: #51C2C9;
}

.hww_card03 {
  border-color: #B8FCA9;
}

.hww_card04 {
  border-color: #272634;
}

.hww_card01,
.hww_card02,
.hww_card03,
.hww_card04 {
  flex-grow: 1;
  padding: 20px;
  box-sizing: border-box;
}

/*изображения*/
.hww_img_logo,
.hww_img_redlight,
.hww_img_bluelight,
.hww_img_cross_bluelight {
  display: flex;
  justify-content: left;
  position: relative;
  z-index: 0;
}

.img_logo {
  margin-top: 110px;
  margin-left: -28px;
  opacity: 25%;
  max-width: 585px;
  position: absolute;
  z-index: 0;
}

.hww_redlight {
  margin-top: 110px;
  margin-left: -350px;
  opacity: 84%;
  max-width: 1080px;
  position: absolute;
  z-index: 0;
}

.hww_bluelight {
  margin-top: -80px;
  margin-left: 300px;
  opacity: 0.3;
  max-width: 1080px;
  position: absolute;
  z-index: 0;
}

/* адаптация */

/*до 992px*/
@media (max-width: 992px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .col1 {
    grid-row: 1;
    grid-column: 1;
  }

  .col2 {
    grid-row: 1;
    grid-column: 2;
  }

  .col3 {
    grid-row: 2;
    grid-column: 1;
  }

  .merged {
    grid-row: 2;
    grid-column: 2;
  }

  .hww_redlight {
    margin-left: -250px;
    max-width: 800px;
  }

  .hww_bluelight {
    margin-left: 200px;
    max-width: 800px;
  }

  .hww_card01,
  .hww_card02,
  .hww_card03,
  .hww_card04 {
    height: 100%;
  }
}

/*до 768px*/
@media (max-width: 768px) {
  .hww_text {
    font-size: 20px;
  }

  .text {
    font-size: 20px;
  }

  .hww_headline {
    font-size: 30px;
    margin: 30px 0px 30px 25px;
  }

  .headline_number {
    font-size: 50px;
  }

  .img_logo {
    margin-top: 80px;
    max-width: 450px;
  }

  .hww_redlight {
    margin-top: 80px;
    margin-left: -200px;
    max-width: 600px;
  }

  .hww_bluelight {
    margin-top: -50px;
    margin-left: 150px;
    max-width: 600px;
  }
}

/*до 576px*/
@media (max-width: 576px) {
  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 15px auto;
    width: 95%;
  }

  .col1,
  .col2,
  .col3,
  .merged {
    width: 100%;
    margin-bottom: 0;
  }

  .col1,
  .col2,
  .col3,
  .merged {
    grid-row: auto;
    grid-column: auto;
  }

  .hww_card01,
  .hww_card02,
  .hww_card03,
  .hww_card04 {
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .hww_headline {
    font-size: 22px;
    margin: 20px 0px 20px 38px;
  }

  .img_logo {
    margin-top: 60px;
    max-width: 350px;
    margin-left: -15px;
  }

  .hww_redlight {
    margin-top: 60px;
    margin-left: -150px;
    max-width: 450px;
  }

  .hww_bluelight {
    margin-top: -30px;
    margin-left: 100px;
    max-width: 450px;
  }
}

/* до 400px */
@media (max-width: 400px) {
  .text {
    font-size: 18px;
  }

  .hww_text {
    font-size: 18px;
  }

  .hww_headline {
    font-size: 20px;
    margin: 15px 0px 15px 10px;
  }

  .headline_number {
    font-size: 50px;
  }

  .headline_name {
    font-size: 30px;
  }

  .img_logo {
    max-width: 280px;
  }

  .hww_redlight {
    margin-left: -120px;
    max-width: 350px;
  }

  .hww_bluelight {
    margin-left: 80px;
    max-width: 350px;
  }
}


/* КАК МЫ РАБОТАЕМ КОНЕЦ */

/*ВОПРОСЫ НАЧАЛО*/
.questions {
  display: flex;
}

/*текст*/
.questions_text {
  max-width: 700px;
}

.questions_headline,
.questions_text_paragraph {
  font-size: 22px;
  margin-left: 28px;
}

.questions_headline {
  font-weight: 600;
  padding-bottom: 20px;
}

/*форма*/
.questions {
  padding-bottom: 150px;
}

.questions_form {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 22px;
  justify-content: center;
  align-items: center;
  width: 750px;
}

.form {
  font-family: 'Montserrat', sans-serif;
  background-color: #272634;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  padding: 17px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.form-input,
.form-textarea {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 16px 16px 16px 15px;
  color: #d1d1d1;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ff4f4f;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

.form-textarea {
  height: 175px;
  resize: none;
}

/* Адаптация для планшетов */
@media (max-width: 1024px) {
  .questions {
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
  }

  .questions_text {
    max-width: 90%;
    margin-bottom: 20px;

  }

  .questions_form {
    width: 90%;
  }

  .questions_headline,
  .questions_text_paragraph {
    margin-left: 0;
  }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .form-textarea {
    font-size: 18px;
  }

  .hww_headline {
    margin-left: 23px;
  }

  .questions_headline,
  .questions_text_paragraph {
    font-size: 18px;
    margin-left: 5px;
  }

  .form {
    padding: 12px;
  }

  .form-input,
  .form-textarea {
    padding: 12px;
  }

  .form-textarea {
    height: 150px;
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {


  .questions_headline,
  .questions_text_paragraph {
    font-size: 16px;
  }

  .form-input,
  .form-textarea {
    padding: 10px;
  }
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ff4f4f;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

.form-textarea {
  height: 175px;
  resize: none;
}

/*кнопка*/
.form-button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  margin-top: 35px;
}

.form-button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #FF4F52;
  border: 2px solid #FF4F52;
}



/*соо об ошибке*/
label {
  position: relative;
  display: inline-block;
}

label span {
  position: absolute;
  left: 20px;
  top: -2em;
  font-size: .75em;
  cursor: text;
  color: dodgerblue;
  transition: all 150ms ease;
}

label.empty input {
  border-color: #d9d9d9;
}

label.empty span {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  background: none;
  color: #cccccc;
}

input {
  border: 2px solid #f2f2f2;
  outline: none;
}

input:focus {
  border-color: #d9d9d9;
}

input:valid {
  border-color: #B8FCA9;
}

input:invalid {
  border-color: #ff4f4f31;
}



/*АДАПТАЦИЯ*/





/*ВОПРОСЫ КОНЕЦ*/

/*footer НАЧАЛО*/
.footer_item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_logo_social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer_menu_social {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_menu_title {
  font-size: 22px;
  font-weight: 700;
  color: #969696;
  padding-bottom: 12px;
}

.footer_link {
  padding-bottom: 8px;
  font-size: 22px;
  text-decoration: none;
  color: #969696;
}

/*АДАПТАЦИЯ*/
@media (max-width: 992px) {
  .about-text {
    margin-top: -20px;
  }

  .footer_items {
    margin-left: 18px;
  }

  .footer_nav {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer_logo_link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer_img_social {
    width: 90%;
  }

  .footer_menu_social {
    order: 2;
    justify-content: flex-start;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .footer_menu_title {
    font-size: 20px;
  }

  .footer_link {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .footer_nav {
    flex-direction: column;
    gap: 25px;
  }

  .footer_menu {
    width: 100%;
  }

  .footer_menu_title {
    font-size: 20px;
  }

  .footer_link {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .footer_menu_title {
    font-size: 18px;
    padding-bottom: 8px;
  }

  .footer_link {
    font-size: 16px;
    padding-bottom: 6px;
  }

  .footer_menu_social {
    gap: 10px;
  }
}

/*ФУТЕР КОНЕЦ*/

/*СТИЛЬ СТРАНИЦЫ О НАС*/
/*изображения*/
.about-img {
  position: absolute;
  margin-top: 90px;
  margin-left: 550px;
  opacity: 55%;
  max-width: 600px;
  position: absolute;
  z-index: 2;
}

.about-image {
  position: relative;
  display: flex;
  z-index: 0;

}

.about_redlight {
  max-width: 868px;
  position: absolute;
  margin-top: 0px;
  margin-left: 300px;
  opacity: 55%;
  position: absolute;
  z-index: 0;
}

.about_bluelight {
  max-width: 600px;
  position: absolute;
  margin-top: -100px;
  margin-left: -250px;
  opacity: 30%;
  position: absolute;
  z-index: 0;
}

.inf_about_us {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 80px 0px 60px 0px;
  padding: 22px 0px 0px 28px;
  z-index: 1;
  border-color: #1b1a2867;
}


/*текст*/
.highlight {
  color: #ff4f4f;
}

.about-us {
  color: #969696;
  padding: 60px 0;
  position: relative;
}

.about-content {
  display: flex;
  gap: 0px;
  align-items: center;
}

.about-text {
  max-width: 650px;
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  padding: 20px;
  z-index: 1;
  border-color: #1b1a2867;
  font-size: 22px;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 30px;
}

/*карточки*/
.stats-container {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff4f4f;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/*кнопка*/
.join-btn {
  font-family: 'Montserrat';
  ;
  color: #969696;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  border-width: 1px;
  border-radius: 12px;
  background-color: transparent;
  border-color: #ff4f4f;
  border-style: solid;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: -9px;
}

.modal-overlay1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.modal-content1 {
  position: relative;
  background: #272634;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  margin: 20px auto;
  z-index: 2;
  animation: modalFadeIn 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
}

.join-btn:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #ff4f52;
  color: #ffffff;
}

/*модальное окно*/
body.modal-open {
  overflow: hidden;
}

.join-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 1000;
}

.join-modal {
  display: none;
  /* По умолчанию скрыто */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  /* Используем viewport units */
  height: 100vh;

  z-index: 1000;
  /* Увеличиваем z-index */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.join-modal.active {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
  color: #ff4f4f;
  z-index: 3;
}

.join-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.join-form input,
.join-form textarea {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  padding: 16px 15px;
  color: #d1d1d1;
  outline: none;
}

.join-form textarea {
  min-height: 175px;
  resize: none;
}

.join-form button {
  color: #969696;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
  border-width: 2px;
  border-radius: 12px;
  background-color: transparent;
  border-color: #ff4f4f;
  border-style: solid;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  padding: 5px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}

.join-form button:hover {
  background: #ff2f2f;
  color: #ffffff;
}

/* КАРТА */
.map-section {
  margin: 60px 0;
  padding: 0;
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 0px 20px 0px rgb(0, 0, 0);
}

.map-info {
  position: absolute;
  right: 30px;
  top: 30px;
  background: #272634;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  max-width: 280px;
  z-index: 10;
}

.map-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.3;
}

.map-address,
.map-worktime,
.map-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #969696;
}

.phone-icon {
  margin-right: 6px;
}

.map-phone {
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  margin: 20px 0;
}

.map-phone:hover {
  color: #fff;
}

.map-route-btn {
  width: 100%;
  padding: 15px;
  font-weight: 600;
  font-size: 20px;
  color: #969696;
  background: transparent;
  border: 2px solid #ff4f4f;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.map-route-btn:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background: #ff4f4f;
  color: #fff;
}

/* Адаптация*/

@media (max-width: 768px) {
  .about-text p {
    font-size: 18px;
  }

  .join-form button {
    padding: 8px 12px;
  }

  .join-btn {
    font-size: 20px;
  }

  .about-content {
    flex-direction: column;
  }

  .stats-container {
    flex-direction: column;
  }

  .map-section {

    margin-top: -40px;
    border-radius: 0;
  }

  .map-container {
    height: 100vh;
    border-radius: 12;
    min-height: 600px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
  }

  .map-info {
    position: relative;
    right: auto;
    top: auto;
    max-width: 100%;
    width: 100%;
    padding: 25px 20px;
    order: 1;
    background: #272634;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
  }

  .map-container iframe {
    border-radius: 12;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.4);
    order: 2;
    flex-grow: 1;
    min-height: 300px;
  }

  .map-title {
    font-size: 20px;
    /* Изменено с 20px на 16px */
  }

  .map-address,
  .map-worktime,
  .map-phone {
    font-size: 18px;
    /* Изменено с 20px на 14px */
  }
}

@media (max-width: 480px) {
  .about-text p {
    font-size: 18px;
  }

  .map-info {
    padding: 20px 15px;
  }

  .map-route-btn {
    padding: 12px;
    font-size: 20px;
  }
}


/*ОТВЕТЫ И ВОПРСЫ*/

.faq {
  max-width: 1058px;
  margin: 0 auto;
  margin-top: 30px;
  padding-right: 17px;
}

.faq-item {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 17px 10px 0;
  padding: 15px 20px 15px 28px;
  z-index: 1;
  border-color: #1b1a2867;
  overflow: hidden;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  opacity: 0;
  padding-right: 0;
  margin-top: 0;
  color: #969696;
  line-height: 1.6;
  font-size: 18px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  overflow-y: auto;
}

.faq_header,
.faq_header1 {
  font-size: 30px;
  color: white;
  font-weight: 600;
  margin: 40px 0px 40px 28px
}

.faq {
  max-width: 1058px;
  margin: 0 auto;
  margin-top: 30px;
}

.faq-item {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 0px 10px 0px;
  padding: 15px 20px 15px 28px;
  z-index: 1;
  border-color: #1b1a2867;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 22px;
  font-weight: 400;
  color: white;
}

.faq-answer {
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease-out,
    padding 0.3s ease-out,
    margin 0.3s ease-out;
  opacity: 0;
  max-height: 0;
  padding: 0 30px 0 0;
  margin: 0;
  color: #969696;
  line-height: 1.6;
  font-size: 18px;
}

.toggle-container {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1b1a2867;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  margin-left: 15px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-toggle {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: #ff4f4f;
  transition: all 0.3s ease;
}

.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .toggle-container {
  background-color: #1b1a28;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  opacity: 1;
  margin-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
}


.faq-answer ol,
.faq-answer ul {
  margin: 15px 0;
  padding-left: 30px;
  color: #969696;
  line-height: 1.6;
}

.faq-answer ol {
  list-style-type: none;
  counter-reset: my-counter;
}

.faq-answer ol>li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 35px;
}

.faq-answer ol>li:before {
  counter-increment: my-counter;
  content: counter(my-counter) ".";
  position: absolute;
  left: 0;
  color: #ff4f4f;
  font-weight: bold;
  font-size: 20px;
}

.faq-answer ul {
  list-style-type: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.faq-answer ul>li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.faq-answer ul>li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff4f4f;
  font-size: 24px;
  line-height: 1;
}

.faq-answer ol ol,
.faq-answer ol ul,
.faq-answer ul ol,
.faq-answer ul ul {
  margin-top: 10px;
  margin-bottom: 10px;
}

.faq-answer em {
  display: block;
  margin-top: 20px;
  font-style: italic;
  color: #535353;
  font-size: 0.95em;
  line-height: 1.5;
}

/*АДАПТАЦИЯ*/
/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .password-change-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .faq {
    padding: 0 10px;
    margin-top: 20px;
  }

  .faq_header1 {
    font-size: 24px;
    margin: 20px 0px 20px 2px;
  }

  .faq_header {
    font-size: 22px;
    margin: 25px 20px 20px 20px;
  }

  .faq-item {
    padding: 12px 15px;
  }

  .faq-question {
    font-size: 20px;
    align-items: flex-start;
  }

  .faq-answer {
    font-size: 18px;
    line-height: 1.5;
  }

  .toggle-container {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin-left: 10px;
    margin-top: 3px;
  }

  .faq-toggle {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
  }

  .faq-answer ol,
  .faq-answer ul {
    padding-left: 22px;
  }

  .faq-answer ol>li {
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .faq-answer ul>li {
    padding-left: 13px;
  }
}

/* Адаптация для очень маленьких экранов */
@media (max-width: 480px) {
  .faq-answer ol>li {
    padding-left: 13px;
    margin-bottom: 20px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .faq_header {
    font-size: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 16px;
  }

  .toggle-container {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .faq-answer ul>li {
    font-size: 16px;
  }

  .faq-answer ul>li {
    font-size: 16px;
  }

  .faq-toggle {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
  }

  .faq-answer ol>li:before {
    font-size: 16px;
  }

  .faq-answer ul>li:before {
    font-size: 16px;
  }
}


/*РЕГИСТРАЦИЯ*/

.reg-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}


.reg_redlight {
  max-width: 868px;
  position: absolute;
  margin-top: -100px;
  margin-left: 300px;
  opacity: 45%;
  z-index: 0;
}

.reg_bluelight {
  max-width: 800px;
  position: absolute;
  margin-top: -180px;
  margin-left: -60px;
  opacity: 15%;
  z-index: 0;
}

.form-content {
  position: relative;
  z-index: 9;
}

.form-title {
  font-size: 30px;
  color: white;
  font-weight: 500;
  margin-top: 30px;
  text-align: center;
  z-index: 9;
  position: relative;
}

.form-container {
  max-width: 400px;
  margin: 20px auto 80px auto;
  padding: 18px;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  border-color: #1b1a2867;
  z-index: 9;
  position: relative;
}

.form-group {
  position: relative;

}

.form-input_reg {
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  padding: 16px;
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  color: #d1d1d1;
  outline: none;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 9;
}

.form-input_reg:focus {
  border-color: #ff4f4f;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

.form-button_reg {
  margin-top: 30px;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  padding: 16px;
  background-color: transparent;
  color: white;
  border: none;
  border: 1px solid rgba(255, 79, 79, 0.4);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  z-index: 9;
}

.form-button_reg:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #ff4f4f;
}



/* Адаптация */
@media (max-width: 768px) {
  .form-container {
    margin: 20px 15px;
    padding: 20px;
  }

  .form-title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .form-input {
    padding: 14px;
    font-size: 14px;
  }

  .form-button {
    padding: 14px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .form-title {
    font-size: 18px;
  }
}

/*РЕГИСТРАЦИЯЯ КОНЕЦ*/

/*АВТОРИЗАЦИЯ*/

.reg_link_cont {
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.reg_link_text,
.reg_link {
  font-weight: 200;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.reg_link_text {
  color: #969696;
}

.reg_link {
  text-decoration: none;
  color: #FF4F52;
}

/*АВТОРИЗАЦИЯ КОНЕЦ*/

/* ЛК */
.password-change-title {
  margin-bottom: 30px;
  font-size: 26px;
  font-weight: 600;
}

.user_inf {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 60px 0px 0px 0px;
  padding: 20px 20px 20px 20px;
  z-index: 1;
  border-color: #1b1a2867;
  overflow: visible;
}

.user_profile {
  position: relative;
  padding-top: 130px;
  text-align: left;
}

.user_info_background {
  position: absolute;
  top: 0;
  width: 100%;
  height: 200px;
  background: #1b1a28;
  border-radius: 15px;
  z-index: 1;
}

.user_photo_wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  z-index: 2;
}

.user_photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgb(0, 0, 0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user_photo1 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgb(0, 0, 0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.user_photo_wrapper1 {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  z-index: 2;
}


.user_photo_placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #272634;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #272634;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
}

.user_photo_placeholder svg {
  width: 60%;
  height: 60%;
  color: #777;
}

.user_name {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-left: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user_contacts_container {
  margin-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-left: 30px;
  margin-right: 30px;
  position: relative;
}

.user_contacts {
  margin-left: 10px;
  color: #6d6d6d;
  font-size: 24px;
  line-height: 1.5;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.user_email,
.user_phone {
  margin: 0;
  display: inline;
}

.current-photo {
  margin-top: 10px;
}

.current-photo p {
  color: #fff;
  margin-bottom: 5px;
}

.current-photo img {
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.application_link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}

.application_link:hover {
  transform: translateY(-3px);
}


.application_block:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.no_applications {
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #666;
}

/* Стили для статусов */
.application_status.new {
  color: #FF4F52;
}

.application_status.in_progress {
  color: #51C2C9;
}

.application_status.closed {
  color: #B8FCA9;
}



/* .application_block {
  background-color: #272634;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  border: 1px solid #1b1a28;
}

.application_block:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  transform: translateY(-2px);
} */

.application_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.application_title {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.application_status {
  font-family: 'Montserrat', sans-serif;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.meta_line {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  align-items: center;
}

.meta_item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Montserrat', sans-serif;
}

.meta_label {
  color: #969696;
  font-weight: 600;
  font-size: 14px;
}

.meta_value {
  color: #ffffff;
  font-size: 14px;
}

.meta_line {
  display: flex !important;
  flex-direction: row !important;
}

.meta_item {
  display: flex !important;
}

.category_type_line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.category_label,
.type_label {
  color: #969696;
  font-weight: 600;
}

.category_value,
.type_value {
  color: #fff;
}

.category_group,
.type_group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.application_description {
  font-family: 'Montserrat', sans-serif;
  color: #969696;
  margin-bottom: 15px;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
  word-break: break-word;
}

.application_meta {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  color: #6d6d6d;
  font-size: 14px;
}

.no_applications {
  text-align: center;
  padding: 30px;
  font-family: 'Montserrat', sans-serif;
  color: #969696;
  font-size: 18px;
}


.filter-accordion {
  position: relative;
  min-width: 200px;
  border-radius: 8px;
  background-color: #272634;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  z-index: 101;
  flex-shrink: 0;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #969696;
  font-family: 'Montserrat', sans-serif;
}

.toggle-container {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1b1a2867;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.accordion-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  transition: transform 0.3s ease;
}

.accordion-toggle::before,
.accordion-toggle::after {
  content: '';
  position: absolute;
  background-color: #ff4f4f;
  transition: all 0.3s ease;
}

.accordion-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.filter-accordion.active .accordion-toggle {
  position: absolute;
  transform: rotate(45deg);
  z-index: 1001;
}

.filter-accordion.active .toggle-container {
  background-color: #1b1a28;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}


.filter-accordion.active .accordion-content {
  display: block;
  max-height: 500px;
}

.accordion-option {
  padding: 10px 15px;
  color: #969696;
  transition: all 0.2s ease;
}

.accordion-option:hover {
  background-color: #1b1a28;
  color: #fff;
}

.accordion-option.selected {
  background-color: #FF4F52;
  color: white;
}

.applications_cont {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 0px 100px 0;
  padding: 15px 20px 15px 28px;
  z-index: 1;
  border-color: #1b1a2867;
  overflow: visible;
}

.applications {
  display: flex;
  flex-direction: column;
  position: relative;
}

.appl_filter {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 20px;
}

.filter-form {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 15px;
}

.applications_list2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.application_link2 {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s;
}

.application_link2:hover {
  transform: translateY(-3px);
}

.application_block2 {
  background-color: #272634;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  border: 1px solid #1b1a28;
}

.application_block2:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  transform: translateY(-2px);
}

.application_header2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.application_title2 {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.application_status2 {
  font-family: 'Montserrat', sans-serif;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

/* Статусы */
.application_status2.new {
  color: #FF4F52;
}

.application_status2.in_progress {
  color: #51C2C9;
}

.application_status2.closed {
  color: #B8FCA9;
}

.application_body2 {
  display: flex;
  flex-direction: column;
}

.category_type_wrapper2 {
  display: flex;

  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.application_category2 {
  display: flex;
}

.category_label2 {
  color: #969696;
  font-weight: 600;
}

.category_value2 {
  color: #fff;
}

.application_description2 {
  font-family: 'Montserrat', sans-serif;
  color: #969696;
  margin-bottom: 15px;
  line-height: 1.5;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 3em;
  word-break: break-word;
}

.application_meta2 {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  color: #6d6d6d;
  font-size: 14px;
}

.no_applications2 {
  text-align: center;
  padding: 30px;
  font-family: 'Montserrat', sans-serif;
  color: #969696;
  font-size: 18px;
}



.create-button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 281px;
  height: 56px;
}

.create-button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #FF4F52;
  border: 2px solid #FF4F52;
}

.button_create {
  margin-left: auto;
  text-decoration: none;
}



/* ОБРАЩЕНИЕ СОЗДАТЬ */
.create_appl {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 80px 0px 90px 0px;
  padding: 0px 28px 28px 28px;
  z-index: 1;
  border-color: #1b1a2867;
}

.create_appl_form {
  display: flex;
  flex-direction: column;
}

.form_create-input,
.form_create-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 16px;
  color: #d1d1d1;
  outline: none;
}

.form_create-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Стили для аккордеонов */
.accordion-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.accordion-container {
  z-index: 99;
  flex: 1;
  position: relative;
}

.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  text-align: left;
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  color: #d1d1d1;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 10px;
}

.accordion-content {
  position: absolute;
  width: 100%;
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  /* Увеличиваем z-index для содержимого */
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  top: 100%;
  /* Позиционируем ниже заголовка */
  left: 0;
  margin-top: 5px;
  /* Небольшой отступ */
}

.accordion-container.active .accordion-content {
  display: block;
  max-height: 500px;
}

.accordion-item {
  padding: 12px 16px;
  color: #d1d1d1;
  cursor: pointer;
}

.accordion-item:hover {
  background-color: #3a3947;
}

.form_create_button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  margin-top: 35px;
}

.form_create_button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #FF4F52;
  border: 2px solid #FF4F52;
}

.toggle-container {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1b1a2867;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.accordion-toggle {
  position: relative;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  transition: transform 0.3s ease;
}

.accordion-toggle::before,
.accordion-toggle::after {
  content: '';
  position: absolute;
  background-color: #ff4f4f;
  transition: all 0.3s ease;
}

.accordion-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.accordion-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.accordion-container.active .accordion-toggle {
  transform: rotate(45deg);
}

.accordion-container.active .toggle-container {
  background-color: #1b1a28;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

/*открыть заявку*/
.application_view_container {
  position: relative;
  z-index: 10;
  margin: 60px 0px 60px 0px;
}

.back_button {
  display: inline-block;
  margin-bottom: 20px;
  color: #ff4f4f;
  text-decoration: none;
  font-size: 16px;
}

.back_button:hover {
  text-decoration: underline;
}

.back_button1 {
  display: inline-block;
  margin-top: 20px;
  color: #ff4f4f;
  text-decoration: none;
  font-size: 16px;
}

.back_button1:hover {
  text-decoration: underline;
}

.application_actions_view {
  position: absolute;
  bottom: 15px;
  right: 20px;
}

.application_actions_view1 {
  display: flex;
  justify-content: flex-end;
}

.edit_button1 {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 67px;
  height: 67px;
}

.edit_button1:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

.application_block_view {
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 0px 20px 0;
  padding: 15px 20px 15px 28px;
  border-color: #1b1a2867;
  overflow: visible;
}

.application_header_view {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
}

.application_title_view {
  font-size: 32px;
  margin: 0;
}

.application_body_view {
  margin-top: -20px 0 20px 0;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

.category_type_wrapper_view {
  margin-bottom: 15px;
}

.category_label_view {
  font-weight: bold;
  margin-right: 5px;
}

.application_description_view {
  line-height: 1.6;
  margin-bottom: 22px;
  word-break: break-word;
  max-width: 100%;
}

.application_meta_view {
  font-size: 18px;
  color: #969696;
}

.application_date_view,
.application_updated_view {
  display: inline-block;
  margin-right: 15px;
}

.edit_button {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 67px;
  height: 67px;
}

.edit_button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

.edit_icon {
  width: 33px;
  height: 33px;
}

.LK_redlight {
  pointer-events: none;
  max-width: 868px;
  position: absolute;
  margin-top: -220px;
  margin-left: 500px;
  opacity: 45%;
  z-index: 0;
}

.LK_bluelight {
  pointer-events: none;
  max-width: 800px;
  position: absolute;
  margin-top: 0px;
  margin-left: -380px;
  opacity: 15%;
  z-index: 0;
}


/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
  .user_inf {
    margin: 30px 0 0 0;
    padding: 15px;
  }


  .user_profile {
    padding-top: 100px;
  }

  .user_photo_wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .user_name {
    font-size: 24px;
    text-align: center;
    margin-left: 0;
    margin-top: 40px;
  }

  .user_contacts {
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
    text-align: center;
    margin-left: 0;
  }

  .edit_button {
    margin: 15px auto 0;
    display: block;
    width: 40px;
    height: 40px;
  }

  .edit_icon {
    width: 20px;
    height: 20px;
  }


  .applications_cont {
    margin: 20px 0 60px;
    padding: 15px;
  }

  .appl_filter {
    flex-direction: column;
    gap: 10px;
  }

  .filter-form {
    flex-direction: column;
    gap: 10px;
  }

  .filter-accordion {
    position: relative;
    z-index: 1;
  }

  .filter-accordion.active {
    z-index: 9999;
  }

  .filter-accordion {
    width: 100%;
  }

  .button_create {
    margin: 10px 0 0 0;
    width: 100%;
  }

  .create-button {
    width: 100%;
  }

  .application_block {
    padding: 15px;
  }

  .application_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .application_title {
    font-size: 16px;
  }

  .application_status {
    margin: -10px 0px -10px -10px;
  }

  .application_description {
    font-size: 14px;
  }

  .application_meta {
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
  }

  .LK_redlight,
  .LK_bluelight {
    display: none;
  }
}

/* Планшеты (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .user_inf {
    margin: 40px 0 0 0;
    padding: 20px;
  }

  .user_profile {
    padding-top: 120px;
  }

  .user_photo_wrapper {
    width: 100px;
    height: 100px;
  }

  .user_name {
    font-size: 28px;
  }

  .user_contacts {
    font-size: 20px;
  }

  .applications_cont {
    margin: 30px 0 80px;
    padding: 20px;
  }

  .appl_filter {
    gap: 12px;
  }

  .filter-form {
    gap: 12px;
  }

  .application_block {
    padding: 18px;
  }

  .application_title {
    font-size: 17px;
  }

  .LK_redlight {
    max-width: 500px;
    margin-left: 300px;
  }

  .LK_bluelight {
    max-width: 500px;
    margin-left: -250px;
  }
}





.application_message {
  max-height: 3000px;
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 0px 20px 0;
  padding: 15px 20px 15px 28px;
  z-index: 1;
  border-color: #1b1a2867;
  overflow: visible;
}




.add_comment {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 0px 0px 0px 0;
  padding: 15px 20px 80px 28px;
  z-index: 1;
  border-color: #1b1a2867;
  overflow: visible;
}

.comment_title {
  font-size: 32px;
  margin: 10px 10px 20px 0px;
}

.comment_buttons_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.left_buttons {
  display: flex;
  gap: 10px;
}


.right_buttons {
  display: flex;
  gap: 10px;
}

.photo_button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 67px;
  height: 67px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo_button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

.photo_icon {
  width: 33px;
  height: 33px;
}


.button_send_com {
  margin-left: auto;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  padding: 0px 20px 0px 20px;
  width: auto;
  height: 66px;
}

.button_send_com:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}


.add_comment {
  padding: 15px 20px 30px 28px;
}

.photo_upload_container {
  display: flex;
  align-items: center;
  gap: 10px;
}


.file_name_text {
  color: #969696;
  font-size: 14px;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.photo_button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 67px;
  height: 67px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.photo_button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

.left_buttons {
  display: flex;
  align-items: center;
  gap: 15px;
}


.file_name_text {
  color: #969696;
  font-size: 14px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.file_name_text.has-file {
  color: #ffffff;
}

.edit_button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


/* Стили для контейнера сообщений */
.messages-container {
  max-height: 800px;
  overflow-y: auto;
  padding: 10px;
  margin-bottom: 20px;
}


.message {
  position: relative;
  max-width: min(600px, 80%);
  min-width: 120px;
  margin: 15px 0;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.user-message {
  margin-left: auto;
  background-color: #272634;
  border-color: #272634;
}

.user-sender {
  color: #ff4f4f;
  font-weight: bold;
  margin-bottom: 8px;
}

.specialist-message {
  margin-right: auto;
  background-color: #484848;
  border-color: rgba(255, 255, 255, 0.05);
}

.specialist-message .message-sender {
  color: #ffffff;
  margin-bottom: 8px;
}

.message-text {
  margin: 10px 0;
  line-height: 1.5;
  word-break: break-word;
  color: #ffffff;
}

.message-time {
  font-size: 12px;
  color: #969696;
  text-align: right;
  margin-top: 8px;
}

.message-photo {
  margin: 10px 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
  cursor: pointer;
}

.message-photo img {
  cursor: pointer;
  transition: transform 0.2s;

}

.message-photo img {
  cursor: pointer;
  transition: transform 0.2s;
}

.message-photo img:hover {
  transform: scale(1.02);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .message {
    max-width: 90%;
  }

  .comment_buttons_wrapper {
    flex-direction: row-reverse;
  }

  .left_buttons {
    order: 1;
    width: 100%;
    justify-content: flex-start;
  }

  .right_buttons {
    order: 2;
    width: 100%;
    justify-content: flex-end;
  }

  .button_send_com {
    width: 100%;
  }


  .message {
    max-width: 90%;
  }
}

.messages-container {
  scrollbar-width: thin;
  scrollbar-color: #ff4f4f #272634;
}


.message-photo {
  max-width: 300px;
  max-height: 300px;
  margin: 10px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

.user-message .message-photo {
  border-radius: 12px 12px 0 12px;
}

.user-message .message-photo img {
  border-radius: 12px 12px 0 12px;
}

.specialist-message .message-photo {
  border-radius: 12px 12px 12px 0;
}

.specialist-message .message-photo img {
  border-radius: 12px 12px 12px 0;
}

/* редактировать заявку */
/* Адаптация формы редактирования заявки */

@media (max-width: 992px) {
  .accordion-btn {
    height: 60px;
  }

  .create_appl {
    margin: 60px 10px 80px 10px;
    padding: 0px 20px 20px 20px;
  }

  .create_appl_form input,
  .create_appl_form textarea,
  .create_appl_form button {
    font-size: 18px;
  }

  .accordion-btn {
    font-size: 18px;
    padding: 12px 15px;
  }

  .accordion-item {
    font-size: 18px;
  }
}

@media (max-width: 768px) {

  .accordion-row {
    display: flex;
    gap: 20px;
  }

  .create_appl_form input,
  .create_appl_form textarea {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .create_appl {
    margin: 40px 10px 60px 10px;
    padding: 10px;
  }

  .create_appl_form input,
  .create_appl_form textarea {
    font-size: 20px;
    padding: 12px;
  }

  .create_appl_form button.form_create_button {
    margin: 20px 0px 20px 0px;
    font-size: 20px;
    padding: 12px;
    width: 100%;
  }

  .accordion-btn {
    padding: 10px;
    font-size: 18px;
  }

  .accordion-content .accordion-item {
    font-size: 18px;
    padding: 8px 12px;
  }


  .success-message-box {
    font-size: 14px;
    padding: 8px 12px;
  }
}


/* Редактирование профиля */
.profile-edit-container {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  margin: 60px 0px 90px 0px;
  padding: 30px;
  z-index: 1;
  border-color: #1b1a2867;
}

.profile-edit-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.profile-edit-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-photo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-edit-form {
  display: flex;
  flex-direction: column;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-label {
  font-family: 'Montserrat', sans-serif;
  color: #969696;
  font-size: 20px;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #FF4F52;
  box-shadow: 0px 0px 10px rgba(255, 79, 79, 0.4);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Кнопка сохранения (справа) */
.save-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background-color: transparent;
  border: 1px solid #ff4f4f31;
  color: white;

}

.save-button:hover {
  background-color: #e04548;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

.logout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 15px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #272634;
  color: #969696;
  border: 1px solid #ff4f4f31;
  text-decoration: none;
}

.logout-button:hover {
  background-color: #e04548;
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
  .LK_redlight {
    margin: -180px 0px 0px 0px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: row;
  }

  .save-button {
    padding: 12px 20px;
    font-size: 16px;
  }

  .logout-button {
    padding: 20px 12px;
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .profile-edit-title {
    font-size: 18px;
  }
}

.user_photo_wrapper {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user_photo_wrapper:hover {
  opacity: 0.8;
}

.user_photo_wrapper:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3) url('../../src/assets/photo/paper.png') no-repeat center;
  background-size: 30%;
  border-radius: 50%;
}

.photo-upload-controls {
  display: none;
}

/*АДМИН*/
/* Стили для сайдбара */
.sidebar {
  width: 300px;
  background-color: #272634;
  color: #fff;
  height: 100vh;
  position: fixed;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 20px;
  gap: 10px;
}

.admin-info {
  display: flex;
  align-items: center;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.admin-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 1px solid #1b1a28;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.admin-name {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.menu {
  padding: 20px 0;
}

.menu-item {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #969696;
}

.menu-item:hover {
  background-color: #1b1a28;
  color: #fff;
}

.menu-item.active {
  color: #fff;
  background-color: #1b1a28;
  position: relative;
}

.menu-item.active::before {
  content: '—';
  color: #ff4f4f;
  font-size: 20px;
  margin-right: 10px;
  font-weight: bold;
}

.menu-item i {
  margin-right: 10px;
  font-size: 18px;
}

.main-content {
  margin-left: 300px;
  padding: 20px;
}

.admin-table-container {
  background-color: #1b1a2867;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 10px 0px 0px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  overflow-x: auto;
}

.applications-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  min-width: 1000px;
}

.applications-table th,
.applications-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #3a3947;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;

  overflow: hidden;
  text-overflow: ellipsis;
}

.applications-table th {
  background-color: #272634;
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
}

.applications-table tr:hover {
  background-color: #272634;
}

.applications-table a {
  color: #FF4F52;
  text-decoration: none;
  transition: color 0.3s;
}

.applications-table a:hover {
  color: #ff7b7d;
  text-decoration: underline;
}


/* Настройка ширины колонок */
.applications-table th:nth-child(1),
.applications-table td:nth-child(1) {
  width: 5%;
}

/* ID */
.applications-table th:nth-child(2),
.applications-table td:nth-child(2) {
  width: 20%;
}

/* Тема */
.applications-table th:nth-child(3),
.applications-table td:nth-child(3) {
  width: 15%;
}

/* Пользователь */
.applications-table th:nth-child(4),
.applications-table td:nth-child(4) {
  width: 10%;
}

/* Категория */
.applications-table th:nth-child(5),
.applications-table td:nth-child(5) {
  width: 10%;
}

/* Статус */
.applications-table th:nth-child(6),
.applications-table td:nth-child(6) {
  width: 15%;
}

/* Дата создания */
.applications-table th:nth-child(7),
.applications-table td:nth-child(7) {
  width: 15%;
}

/* Дата обновления */
.applications-table th:nth-child(8),
.applications-table td:nth-child(8) {
  width: 10%;
}

/* Действия */
.applications-table th {
  background-color: #272634;
  color: #fff;
  font-weight: 600;
  position: sticky;
  top: 0;
}



.status-new {
  color: #FF4F52;
}

.status-in_progress {
  color: #51C2C9;
}

.status-closed {
  color: #B8FCA9;
}

.admin-search-filter {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  min-width: 250px;
  height: 53px;
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #3a3947;
  background-color: #272634;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.search-container {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 8px;
  border: 1px solid #3a3947;
  background-color: #272634;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #969696;
}

.search-button:hover {
  color: #fff;
}

.search-button svg {
  width: 16px;
  height: 16px;
}

.filter-select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #3a3947;
  background-color: #272634;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
}



.reset-button {
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #272634;
  color: #fff;
  padding: 13px;
  border: 2px solid #ff4f4f31;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s;
  text-decoration: none;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
}

.reset-button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #FF4F52;
  border: 2px solid #FF4F52;
}

.page-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  margin: 20px 10px 0px 25px;
  font-weight: 600;
}


.search-input:valid,
.search-input:invalid {
  box-shadow: none;
  border-color: #3a3947;
}


.admin-table-container {
  scrollbar-width: thin;
  scrollbar-color: #FF4F52 #272634;
}

.admin-table-container::-webkit-scrollbar {
  height: 8px;
}

.admin-table-container::-webkit-scrollbar-track {
  background: #272634;
  border-radius: 4px;
}

.admin-table-container::-webkit-scrollbar-thumb {
  background-color: #FF4F52;
  border-radius: 4px;
}

.applications-table td {
  position: relative;
}

.table-container {
  max-height: calc(100vh - 250px);
  border-radius: 8px;
  position: relative;
}

.table-wrapper {
  overflow-x: auto;
  min-height: 100px;
}


/*адаптация*/
@media (max-width: 1200px) {
  .sidebar {
    width: 280px;
  }

  .main-content {
    margin-left: 280px;
  }

  .applications-table th,
  .applications-table td {
    padding: 10px 12px;
    font-size: 18px;
  }
}

@media (max-width: 992px) {
  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
  }

  .applications-table {
    min-width: 900px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
    padding: 15px;
  }

  .admin-search-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .search-container {
    width: 100%;
  }

  .applications-table {
    min-width: 800px;
  }
}

@media (max-width: 576px) {

  .applications-table th,
  .applications-table td {
    padding: 8px 10px;
    font-size: 16px;
  }

  .page-title {
    font-size: 24px;
    margin: 15px 0 0 0;
  }

  .applications-table {
    min-width: 700px;
  }
}

@media (max-width: 400px) {
  .admin-table-container {
    padding: 10px;
  }

  .reset-button {
    padding: 8px 15px;
    font-size: 20px;
  }

  .applications-table th,
  .applications-table td {
    font-size: 16px;
    padding: 6px 8px;
  }

  .applications-table {
    min-width: 600px;
  }
}

/*создание заяки админ*/

/*редактирования заявки */
.edit-application-wrapper {
  position: relative;
  margin: 60px 0;
}

.edit-application-container {
  position: relative;
  border-width: 2px;
  border-radius: 12px;
  background-color: #1b1a2867;
  border-style: solid;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  padding: 28px;
  overflow: visible;
  z-index: 1;
  border-color: #1b1a2867;
}

.edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #d1d1d1;
}

.form-control {
  width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  padding: 16px;
  color: #d1d1d1;
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d1d1d1' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px;
}

.btn {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  padding: 16px 24px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  font-size: 16px;
}

.btn:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: #FF4F52;
  border: 2px solid #FF4F52;
}

.btn-primary {
  background-color: #272634;
  color: #fff;
}

.messages-section {
  margin-top: 30px;
  grid-column: span 2;
}

.messages-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #d1d1d1;
}

.messages-container {
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

.message {
  position: relative;
  max-width: 80%;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  border: 1px solid #ff4f4f31;
  background-color: #272634;
}

.admin-message {
  margin-left: auto;
  background-color: #1b1a2867;
}


.message-sender {
  font-weight: bold;
  margin-bottom: 8px;
  color: #ff4f4f;
}

.admin-message .message-sender {
  color: #ffffff;
}

.message-text {
  margin: 10px 0;
  line-height: 1.5;
  color: #d1d1d1;
}

.message-time {
  font-size: 12px;
  color: #969696;
  text-align: right;
}

.message-photo {
  margin: 10px 0;
  border-radius: 8px;
  overflow: hidden;
  max-width: 300px;
}

.message-photo img {
  max-width: 100%;
  max-height: 300px;
  display: block;
  border-radius: 8px;
}

.file-upload-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.photo-button {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  width: 67px;
  height: 67px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.photo-button:hover {
  box-shadow: 0px 0px 15px rgba(255, 79, 79, 0.4);
  background-color: rgb(255, 79, 79);
  color: #ffffff;
}

.photo-icon {
  width: 33px;
  height: 33px;
}

.file-name {
  color: #969696;
  font-size: 14px;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-name.has-file {
  color: #ffffff;
}

.back-button {
  display: inline-block;
  margin-bottom: 20px;
  color: #ff4f4f;
  text-decoration: none;
  font-size: 16px;
}

.back-button:hover {
  text-decoration: underline;
}


.success-message {
  color: #4caf50;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #272634;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.status-select {
  position: relative;
}

.status-new {
  color: #4caf50;
}

.status-in_progress {
  color: #ff9800;
}

.status-closed {
  color: #f44336;
}

@media (max-width: 768px) {
  .edit-form {
    grid-template-columns: 1fr;
  }


  .message {
    max-width: 90%;
  }
}

.status-new {
  color: #FF4F52;
}

.status-in_progress {
  color: #51C2C9;
}

.status-closed {
  color: #B8FCA9;
}

.link {
  text-decoration: none;
}

.admin_photo_wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0px 20px 0px 0px;
  z-index: 2;
}

.accordion-container1 {
  position: relative;
  z-index: 1;
}

.accordion-content1 {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  width: 100%;
  z-index: 3;
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  display: none;
  overflow: visible;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.accordion-container1.active .accordion-content1 {
  display: block;
  max-height: 500px;
  position: absolute;
}

.accordion-kategoria {
  z-index: 10;
}

input.form-control1#topic:valid {
  border: 1px solid #ff4f4f31;
}

.form-control1 {
  width: 100%;
  height: 58%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  border: 1px solid #ff4f4f31;
  border-radius: 10px;
  padding: 16px;
  color: #d1d1d1;
  outline: none;
}

/* Адаптация */


@media (max-width: 992px) {
  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
  }

  .edit-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .profile-edit-container {
    margin: 30px 0px 50px 0px;
  }

  .application_block_view {
    margin: -20px 0px 20px 0px;
  }

  .create_appl {
    margin: 40px 0px 40px 0px;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main-content {
    margin-left: 0;
    padding: 15px;
  }

  .edit-form {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 90%;
  }

  .comment_buttons_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
  }

  .left_buttons,
  .right_buttons {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .button_send_com {
    width: 100%;
  }

  .photo_button {
    margin-right: 0;
    width: 80px;
  }

  .admin-name {
    font-size: 18px;
  }

  .edit-application-wrapper {
    margin: 20px 0;
  }

  .edit-application-container {
    padding: 15px;
  }

}

@media (max-width: 576px) {

  .comment_title {
    font-size: 24px;
  }

  .form-control,
  .form-control1 {
    padding: 12px;
  }

  .btn,
  .button_send_com {
    padding: 12px;
    font-size: 18px;
  }

  .admin_photo_wrapper {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 400px) {
  .faq_header {
    font-size: 20px;
  }

  .comment_title {
    font-size: 20px;
  }

  .form-control,
  .form-control1 {
    padding: 10px;
    font-size: 18px;
  }

  .btn,
  .button_send_com {
    padding: 10px;
    font-size: 18px;
  }

  .photo_button {
    width: 65px;
    height: 65px;
  }

  .photo_icon {
    width: 25px;
    height: 25px;
  }

  .file_name_text {
    max-width: 120px;
  }
}


/*админ пользователи*/
.user-photo-cell {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 5px;
  margin: 0 auto;
}

.user-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #272634;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}

.user-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #272634;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #272634;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}

.user-photo-placeholder svg {
  width: 60%;
  height: 60%;
  color: #fff;
}

.del_save_btn {
  grid-column: span 2;
  display: flex;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px 0px 40px 0px;
}


/*админ личный аккаунт*/
.admin_info_background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 200px;
  background: #1b1a28;
  border-radius: 15px;
  z-index: 1;
}

/* Кнопка удаления */


.delete-button:hover {
  background-color: #ffcdd2;
}

/* Модальное окно */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-container {
  background-color: #1b1a28;
  border: 2px solid #272634;
  border-radius: 15px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 24px;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
}

.modal-header h3 {
  margin: 0;
  font-size: 30px;
  color: #ffffff;
}

.modal-body {
  padding: 16px;
  color: #ffffff;
}

.modal-actions {
  padding: 16px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #e0e0e0;
}

.modal-cancel-btn {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #272634;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.modal-confirm-btn {
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.6);
  background-color: #ff4f4f;
  color: #fff;
  border: 2px solid #ff4f4f31;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  background-color: #1b1a28;
}

.close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}




.notification-wrapper {
  margin-top: 80px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 350px;
}

.notification-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification {
  position: relative;
  padding: 15px 40px 15px 20px;
  border-radius: 8px;
  background-color: rgba(39, 38, 52, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
  border: 1px solid;
}

.notification.error {
  border-color: #ff4444;
  color: #ff4444;
}

.notification.success {
  border-color: #B8FCA9;
  color: #B8FCA9;
}

.notification .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 2px 5px;
  line-height: 1;
  border-radius: 3px;
  transition: background-color 0.2s;
}

.notification.error .close-btn {
  color: #ff4444;
}

.notification.success .close-btn {
  color: #B8FCA9;
}

.notification .close-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}



.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
}

.image-modal-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.message-image {
  max-width: 300px;
  max-height: 300px;
  cursor: pointer;
  transition: transform 0.2s;
}

.message-image:hover {
  transform: scale(1.05);
}

.file_name_text {
  margin-left: 10px;
  color: #666;
  font-size: 14px;
}