/* Фон страницы */
html, body, body.bg-light {
    background-color: #000 !important;
    background-image: url('/templates/index/pattern.png') !important;
    background-repeat: repeat !important;
}

.banner {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%), url('/templates/index/banner_3.jpg');
    background-size: cover;
    background-position: top center;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 300px;
    height: auto;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 1rem;
}

.form-control:focus {
    border-color: #d43f3a; /* Красный оттенок при фокусе */
    box-shadow: 0 0 5px rgba(212, 63, 58, 0.5); /* Подсветка при фокусе */
    outline: none;
}

/* Стили для логотипа */
.logo {
    position: absolute;
    bottom: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.5));
}

/* Стили для белого блока */
.content-block {
    background: #fff;
    border-radius: 15px;
    max-width: 768px;
    min-width: 768px;
    margin: 60px auto 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стили чекбоксов */
.form-check-input {
    width: 20px;
    height: 20px;
    accent-color: #d43f3a;
}
.form-check-input:checked {
    background-color: #d43f3a;
    border-color: #d43f3a;
}


/* Стили кнопки */
.submit-btn {
    background-color: #d43f3a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #a82e2a;
}

/* Футер */
footer {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    font-size: 0.9rem;
}

footer a {
    text-decoration: none; /* Убираем подчеркивание у ссылок */
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

footer a:hover {
    color: #d43f3a !important; /* Красный оттенок при наведении */
}

#error-message {
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    margin-bottom: 20px;
}

/* Адаптивность для экранов меньше 768px */
@media (max-width: 768px) {
    .content-block {
        min-width: calc(100% - 20px);
        margin: 10px;
    }
    .logo {
        bottom: -70px;
        width: 200px;
        height: 200px;
    }
    .banner {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 1) 100%), url('/templates/index/banner_2.jpg');
        max-height: 200px;
        height: auto;
    }
}