/* Основные стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    color: #333;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Заголовок */
h1 {
    text-align: center;
    font-size: 28px;
    color: black;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 10%;
}

/* Форма поиска */
.form_search {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

input[type="text"] {
    width: 400px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
}

.button_search {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button_search:hover {
    background-color: #333;
}

/* Результаты поиска */
h2 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Список результатов */
ul.court-list {
    list-style: none;
    padding: 0;
    margin: 0 20%;  /* Выравнивание с информационным текстом */
}

.court-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    transition: background-color 0.3s ease;
}

.court-item:hover {
    background-color: #f0f0f0;
}

.court-link {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    transition: color 0.3s ease;
}

.court-link:hover {
    color: #007bff;  /* Изменение цвета ссылки при наведении */
}

/* Информационный текст */
p {
    font-size: 16px;
    line-height: 1.6;
    color: black;
    text-align: justify;
    margin-left: 5%;
    margin-right: 5%;
    margin: 5%;
    padding: 0;
}

p.no-results {
    text-align: center;
    color: #d9534f; /* Красный цвет для сообщения об отсутствии результатов */
    font-size: 16px;
}

p strong {
    color: #333;
}

/* Мобильная версия */
@media screen and (max-width: 768px) {
    input[type="text"] {
        width: 80%;
    }

    p, ul.court-list {
        margin-left: 10px;
        margin-right: 10px;
    }
}
