@charset "UTF-8";
/* ==========================================================================
   Единые стили для страниц поиска: метро, район, город
   Файл: /css/search.css
   Используется в: searchmetro.php, searchraion.php, searchgorod.php
   ========================================================================== */

/* --------------------------------------------------------------------------
   Обёртка страницы
   -------------------------------------------------------------------------- */
.search-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 10px;
}

/* --------------------------------------------------------------------------
   Заголовок
   -------------------------------------------------------------------------- */
.search-title {
    text-align: center;
    margin: 0 0 20px;
    font-size: 26px;
    color: #222;
}

/* --------------------------------------------------------------------------
   Форма поиска
   -------------------------------------------------------------------------- */
.search-form {
    background: #fff;
    border: 2px solid #e0b0b0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.search-hint {
    text-align: center;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
}

/* --------------------------------------------------------------------------
   Сетка чекбоксов
   -------------------------------------------------------------------------- */
.search-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
    transition: .2s;
    font-size: 15px;
}

.search-item:hover {
    background: #fff5f5;
    border-color: #e0b0b0;
    box-shadow: 0 2px 8px rgba(224, 176, 176, .25);
}

.search-item input[type=checkbox] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.search-item a.link {
    color: #333;
    text-decoration: none;
}

.search-item a.link:hover {
    color: #c00;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Счётчик анкет
   -------------------------------------------------------------------------- */
.search-count {
    display: inline-block;
    min-width: 32px;
    padding: 2px 8px;
    background: #c00;
    color: #fff;
    border-radius: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   Кнопка отправки
   -------------------------------------------------------------------------- */
.search-submit {
    text-align: center;
    margin-top: 24px;
}

.search-submit .buten {
    padding: 12px 40px;
    font-size: 16px;
    background: #c00;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: .2s;
}

.search-submit .buten:hover {
    background: #a00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(200, 0, 0, .3);
}

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .search-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .search-list {
        grid-template-columns: 1fr;
    }

    .search-title {
        font-size: 20px;
    }
}