﻿/* Изначально иконки без обода */
input[type="checkbox"] + img {
    border: none; /* Без обода */
    box-shadow: none; /* Без тени */
    transition: all 0.3s ease;
}

/* Плавный переход и тень при наведении */
label:hover img {
    transform: scale(1.1); /* Увеличение на 10% при наведении */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Лёгкая тень при наведении */
}

/* Стиль для выбранных иконок: сине-жёлтый обод и вдавленный эффект */
input[type="checkbox"]:checked + img {
    border: 4px solid #FFD700; /* Внутренняя рамка — жёлтый флаг Украины */
    box-shadow: 0px 0px 0px 4px #0057B7; /* Внешняя рамка — синий флаг Украины */
    background-color: transparent; /* Убираем зелёный фон */
    transform: translateY(2px);
    transition: all 0.3s ease;
}

    /* Шрифт для выбранных функций: жирный и подчёркнутый */
    input[type="checkbox"]:checked + img + span {
        font-weight: bold; /* Жирный шрифт */
        text-decoration: underline; /* Подчёркнутый текст */
        font-size: 1.5em; /* Увеличиваем текст в 1.5 раза */
    }

/* Шрифт для невыбранных функций: обычный */
input[type="checkbox"] + img + span {
    font-weight: normal; /* Обычный шрифт */
    text-decoration: none; /* Без подчеркивания */
    font-size: 1.5em; /* Увеличиваем текст в 1.5 раза */
    font-family: "Roboto", sans-serif;
}

/* Стилизация кнопки "Submit" с синим фоном и жёлтым текстом */
button[type="submit"] {
    /*background-color: #007BFF;*/ /* Синий цвет */
    /*color: yellow;*/ /* Жёлтый текст */
    /*padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;*/
    background-color: rgb(255, 193, 7);
    border: 1px solid rgb(0, 87, 184);
    color: rgb(0, 85, 182);
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
}

    button[type="submit"]:hover {
        background-color: #0056b3; /* Более тёмный синий при наведении */
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

/* Центровка элементов */
.radio-button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

    .radio-button-group label {
        margin: 10px;
        text-align: center;
    }
