body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #ffffff !important; /* Белый фон */
    color: #333333 !important; /* Темный текст */
}

.form-container {
    max-width: 500px;
    background-color: #f9f9f9 !important; /* Светлый фон для формы */
    padding: 20px;
    border-radius: 8px;
}

label {
    display: block;
    margin-top: 10px;
    color: #333333 !important; /* Темный цвет текста для меток */
}

input, textarea, select {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    box-sizing: border-box;
    background-color: #ffffff !important; /* Белый фон для полей ввода */
    color: #333333 !important; /* Темный текст */
    border: 1px solid #cccccc !important; /* Серая рамка */
}

button {
    display: block;
    width: 100%;
    max-width: 500px;
    padding: 10px;
    margin-top: 20px;
    background: #4CAF50 !important; /* Зеленый фон кнопки */
    color: white !important; /* Белый текст */
    border: none !important;
    cursor: pointer;
    text-align: center;
}

button:hover {
    background: #45a049 !important; /* Чуть темнее при наведении */
}

.inline-button {
    display: inline-block;
    width: auto;
    max-width: 160px;
    padding: 8px 16px;
    margin-right: 8px;
    font-size: 16px;
    border-radius: 4px;
    background: #4CAF50 !important; /* Зеленый фон */
    color: white !important; /* Белый текст */
}

.button-group {
    margin-top: 10px;
}

.create-button {
    margin-top: 10px;
}

.question {
    margin-top: 20px;
    border: 1px solid #eeeeee !important;
    padding: 10px;
    background-color: #ffffff !important; /* Белый фон */
}

/* --- Добавлено для выравнивания чекбоксов и радиокнопок --- */
.question label {
    display: flex;
    align-items: center;   /* вертикальное выравнивание */
    margin: 6px 0;
    cursor: pointer;
}

.question label input[type="radio"],
.question label input[type="checkbox"] {
    width: auto;           /* чтобы не растягивались на всю ширину */
    margin-right: 8px;     /* отступ справа от кнопки */
}
/* --- конец добавленного --- */

.options-list {
    list-style: disc;
    padding-left: 20px;
    color: #333333 !important; /* Темный текст */
}

.option-input {
    display: none;
    margin-top: 10px;
}

.error {
    color: #ff0000 !important; /* Красный для ошибок */
}

ul {
    list-style: none;
    padding: 0;
}

li {
    padding: 10px;
    border-bottom: 1px solid #eeeeee !important;
    color: #333333 !important; /* Темный текст */
}

a, .copy-link {
    color: #4CAF50 !important; /* Зеленый цвет ссылок */
    text-decoration: none;
    cursor: pointer;
}

a:hover, .copy-link:hover {
    text-decoration: underline;
}

.delete-link {
    background: #ff4444 !important; /* Красный фон */
    color: white !important; /* Белый текст */
}

.delete-link:hover {
    background: #cc0000 !important; /* Темнее при наведении */
}

.copy-message {
    display: none;
    position: fixed;
    background: #4CAF50 !important; /* Зеленый фон */
    color: white !important; /* Белый текст */
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
}
