/*
 * Простая поисковая форма vnx.su (Яндекс Site Search).
 * Внешний вид воспроизводит старый виджет ya-site-form, но без внешнего
 * скрипта site.yandex.net/v2.0/js/all.js и громоздкого data-bem.
 * Светлая/тёмная тема (body.dark-theme), адаптив для мобильных.
 */
.vnx-search-simple {
  display: flex;
  gap: 8px;
  max-width: 100%;
  margin: 6px 0 12px;
}
.vnx-search-simple form {
  display: flex;
  gap: 8px;
  flex: 1 1 auto;
  flex-wrap: nowrap;
}
.vnx-search-simple input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
  box-sizing: border-box;
  padding: 0 14px;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
  color: #000000;
  background: #ffffff;
  border: 1px solid #7f9db9;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vnx-search-simple input[type="search"]::placeholder {
  color: #cccccc;
  opacity: 1;
}
.vnx-search-simple input[type="search"]:focus {
  border-color: #fdb813;
  box-shadow: 0 0 0 3px rgba(253, 184, 19, 0.25);
}
.vnx-search-simple input[type="submit"] {
  flex: 0 0 auto;
  height: 42px;
  box-sizing: border-box;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #000000;
  background: #fdb813;
  border: 1px solid #e0a309;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.vnx-search-simple input[type="submit"]:hover {
  background: #fcae00;
  box-shadow: 0 2px 6px rgba(253, 184, 19, 0.4);
}
.vnx-search-simple input[type="submit"]:active {
  background: #eaa000;
}

/* Тёмная тема */
body.dark-theme .vnx-search-simple input[type="search"] {
  color: #ffffff;
  background: #303134;
  border-color: #5f6368;
}
body.dark-theme .vnx-search-simple input[type="search"]::placeholder {
  color: #9aa0a6;
}
body.dark-theme .vnx-search-simple input[type="submit"] {
  color: #000000;
  background: #fdb813;
  border-color: #fdb813;
}

/* Мобильные */
@media (max-width: 480px) {
  .vnx-search-simple {
    max-width: none;
  }
  .vnx-search-simple input[type="submit"] {
    padding: 0 14px;
  }
}
