 /* Основной стиль страницы */

 /* Основной стиль страницы */

 html,
 body {
     height: 100%;
     margin: 0;
     font-family: Arial, sans-serif;
     background-color: #f9f9f9;
     display: flex;
     /* делаем флекс-контейнер */
     flex-direction: column;
     /* колонки */
     overflow-x: hidden;
     /* фикс против горизонтального скролла */
 }

 /* Контент будет растягиваться */

 body>*:not(.site-footer) {
     flex-shrink: 0;
 }

 /* Контент занимает всё доступное пространство */

 .login-wrapper {
     flex: 1;
     /* растягивает блок, чтобы футер ушёл вниз */
     display: flex;
     justify-content: center;
     align-items: center;
     width: 100%;
     padding: 20px;
     box-sizing: border-box;
 }

 .header-container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
     box-sizing: border-box;
 }

 .search-box {
     position: relative;
     flex: 1;
 }

 .dropdown {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     background: #fff;
     border: 1px solid #ccc;
     border-radius: 6px;
     max-height: 200px;
     overflow-y: auto;
     z-index: 1000;
 }

 .dropdown div {
     padding: 8px 10px;
     cursor: pointer;
     font-size: 14px;
     color: #333;
 }

 .dropdown div:hover {
     background: #f1f1f1;
 }

 .site-footer {
     background: #111;
     color: #ccc;
     padding: 20px 0;
     font-family: Roboto, sans-serif;
     margin-top: 40px;
     border-top: 1px solid #222;
 }

 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
 }

 .footer-left {
     font-size: 13px;
     line-height: 1.4;
 }

 .footer-logo {
     height: 28px;
     margin-bottom: 6px;
 }

 .footer-nav {
     display: flex;
     gap: 20px;
 }

 .footer-nav a {
     color: #ccc;
     text-decoration: none;
     font-size: 13px;
 }

 .footer-nav a:hover {
     color: #fff;
 }

 .footer-social {
     display: flex;
     gap: 12px;
 }

 .footer-social img {
     width: 20px;
     height: 20px;
     filter: invert(70%);
     transition: 0.3s;
 }

 .footer-social img:hover {
     filter: invert(100%);
 }

 @media (max-width: 768px) {
     .footer-container {
         flex-direction: column;
         gap: 15px;
         text-align: center;
     }
 }

 /* Контейнер формы входа */

 .login-container {
     background: #fff;
     box-shadow: 0 4px 20px rgb(0 0 0 / 12%);
     border-radius: 10px;
     padding: 14px 26px;
     max-width: 430px;
     width: 100%;
     box-sizing: border-box;
 }

 /* Изображение капчи */

 .login-container img {
     margin-bottom: 10px;
     width: 100%;
     height: auto;
     object-fit: contain;
     border-radius: 10px;
 }

 /* Поле ввода */

 .login-container input {
     width: 100%;
     padding: 14px 26px;
     margin-bottom: 20px;
     font-size: 16px;
     color: #333;
     box-sizing: border-box;
     border: 1px solid #ebebeb;
     border-radius: 10px;
     color: #0f0f0f;
     height: 58px;
 }

 .login-container input::placeholder {
     color: #aaa;
 }

 /* Убираем синюю обводку и устанавливаем черную при фокусе */

 .login-container input:focus {
     outline: none;
     border: 1px solid #000;
 }

 /* Кнопка отправки */

 .login-container button {
     background: #0e0e0e;
     border-radius: 10px;
     font-family: Inter, sans-serif;
     font-weight: 400;
     font-size: 16px;
     color: #fff;
     padding: 17px 0;
     border: none;
     width: 100%;
     cursor: pointer;
     transition: 0.3s;
 }

 .login-container button:hover {
     background: #333;
 }

 /* Для устройств с меньшим экраном */

 @media (max-width: 480px) {
     .login-container {
         padding: 15px;
     }
     .login-container input,
     .login-container button {
         font-size: 14px;
     }
 }

 /* Скрытое описание для поисковых роботов */

 .hidden-description {
     display: none;
 }

 .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      font-family: Roboto, sans-serif;
      background: #fff;
      border-bottom: 1px solid #ddd;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    body {
      margin: 0;
      padding-top: 110px;
    }

    .header-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 0;
    }

    .logo img {
      height: 28px;
    }

    .main-nav {
      display: flex;
      gap: 20px;
    }

    .main-nav a {
      text-decoration: none;
      color: #222;
      font-size: 14px;
      font-weight: 500;
    }

    .main-nav a:hover {
      color: #000;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 15px;
      font-size: 14px;
      color: #444;
    }

    .header-right img {
      width: 20px;
      height: 20px;
    }

    .header-bottom {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 0;
      border-top: 1px solid #eee;
    }

    .search-input {
      flex: 1;
      padding: 6px 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 14px;
    }

    .btn {
      padding: 6px 14px;
      border: 1px solid #ccc;
      border-radius: 6px;
      background: #f9f9f9;
      cursor: pointer;
      font-size: 14px;
      color: #333;
    }

    .btn:hover {
      background: #eee;
    }

    .btn.active {
      background: #fff;
      border: 2px solid #000;
      font-weight: bold;
    }

    @media (max-width: 768px) {
      .main-nav { display: none; }
      .header-right { font-size: 12px; gap: 8px; }
      .search-input { font-size: 12px; }
      .btn { font-size: 12px; padding: 5px 10px; }
    }

    .site-footer {
  background: #0f0f0f;
  color: #d0d0d0;
  padding: 40px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  gap: 30px;
}

.site-footer h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 600;
}

.footer-left p,
.footer-info p {
  margin-bottom: 12px;
}

.footer-logo {
  max-width: 140px;
  margin-bottom: 15px;
}

.footer-nav a {
  display: block;
  color: #b5b5b5;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #1c1c1c;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: #2a2a2a;
}

.footer-social img {
  width: 18px;
  height: 18px;
}

/* Адаптив */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .site-footer {
    text-align: left;
  }
}

@media (max-width: 576px) {

  .site-footer {
    padding: 30px 0;
    font-size: 13px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-left,
  .footer-nav,
  .footer-info,
  .footer-social {
    padding-bottom: 16px;
    border-bottom: 1px solid #1f1f1f;
  }

  .footer-left:last-child,
  .footer-nav:last-child,
  .footer-info:last-child,
  .footer-social:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-logo {
    max-width: 120px;
    margin-bottom: 12px;
  }

  .footer-left p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-nav h3,
  .footer-info h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-nav a {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .footer-info p {
    font-size: 13px;
    line-height: 1.5;
  }

  .footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .footer-social h3 {
    margin-bottom: 0;
    font-size: 14px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }
}
