Загрузка данных


body {
    font-family: 'Times New Roman', serif; /* Шрифт как на картинке */
    background-color: #333; /* Темный фон вокруг формы */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #90EE90; /* Светло-зеленый фон формы */
    padding: 20px;
    border: 1px solid #000;
    width: 600px; /* Ширина контейнера, можно настроить */
    box-shadow: 5px 5px 0px 0px rgba(0,0,0,0.75); /* Тень для эффекта старого UI */
}

h1 {
    font-size: 28px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 20px;
    color: #000;
    font-weight: bold;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap; /* Для переноса элементов на новую строку при необходимости */
}

.form-group label {
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0; /* Не сжимать label */
    min-width: 100px; /* Минимальная ширина для выравнивания */
    color: #000;
    font-weight: bold;
}

.text-input {
    flex-grow: 1; /* Растягивать input на всю доступную ширину */
    padding: 3px;
    border: 1px solid #000;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    background-color: #fff;
    box-sizing: border-box; /* Учитывать padding и border в ширине */
}

.radio-group {
    display: flex;
    flex-direction: column;
    margin-left: -5px; /* Корректировка отступа для радиокнопок */
}

.radio-group label {
    font-weight: normal; /* Обычный шрифт для меток радиокнопок */
    font-size: 16px;
    margin-left: 5px;
    min-width: auto; /* Сбросить min-width */
}

.color-options {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* Для переноса блоков на новую строку */
}

.color-group {
    flex-basis: 48%; /* Примерная ширина для двух колонок */
    flex-direction: column;
    align-items: flex-start;
}

.color-group label {
    margin-bottom: 5px;
    min-width: auto;
}

.color-select, .color-picker {
    padding: 3px;
    border: 1px solid #000;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    background-color: #fff;
    width: 100%; /* Занимать всю доступную ширину */
    box-sizing: border-box;
}

.text-color-radios {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    margin-left: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.white-swatch { background-color: white; }
.black-swatch { background-color: black; }
.blue-swatch { background-color: blue; }

/* Скрываем радио-кнопки, оставляя только swatches */
.text-color-radios input[type="radio"] {
    display: none;
}

/* Стилизация выбранного swatch */
.text-color-radios input[type="radio"]:checked + .color-swatch {
    border: 2px solid #000;
    outline: 2px solid #fff; /* Добавляем контур, чтобы было видно на черном */
    box-shadow: 0 0 0 1px #000;
}

.text-color-radios .color-picker {
    margin-left: 10px;
    width: auto; /* Для color picker лучше авто-ширина */
    height: 28px; /* Выравнивание по высоте */
    padding: 0;
}


.buttons {
    display: flex;
    justify-content: flex-end; /* Выравнивание кнопок вправо */
    margin-top: 20px;
}

button {
    padding: 5px 15px;
    margin-left: 10px;
    border: 1px solid #000;
    background-color: #ccc; /* Цвет кнопок как на картинке */
    cursor: pointer;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    color: #000;
    box-shadow: 2px 2px 0px 0px rgba(0,0,0,0.75); /* Тень для кнопок */
}

button:active {
    box-shadow: none; /* Убираем тень при нажатии */
    transform: translate(2px, 2px); /* Эффект "нажатия" */
}