/* Стили (без изменений) */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
    /* Убираем закругление углов у body */
    border-radius: 0;
}

.container {
    background-color: #fff;
    padding: 30px;
    /* Убираем закругление углов у container */
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    margin-bottom: 20px;
    color: #333;
}

.input-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
    color: #555;
}

input[type="text"],
input[type="date"] { /* Добавлен input[type="date"] */
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

button[type="submit"] {
    background-color: #e7460f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #d42f13;
}

#result {
    margin-top: 20px;
    font-weight: 700;
    color: #333;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center; /* Выравнивание по центру */
    margin-bottom: 20px;
}

.logo {
    width: 250px; /* Ширина логотипа */
    height: 32px; /* Высота логотипа */
    margin-right: 20px;
}
.success {
    color: green;
    font-weight: bold;
}

.error {
    color: red;
    font-weight: bold;
}

/* Стили модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed; /* Остается на месте при прокрутке */
    z-index: 1; /* Поверх всего остального */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Включить прокрутку, если содержимое выходит за пределы */
    background-color: rgba(0,0,0,0.4); /* Черный фон с прозрачностью */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% сверху, по центру по горизонтали */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Можно изменить */
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Стили таблицы */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}


/* Стили кнопки "Закрыть" */
.close-button {
    display: inline-block;
    background-color: #e7460f; /* Тот же цвет, что и у кнопки "Отправить" */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 20px;
    text-decoration: none; /* Убираем подчеркивание ссылки */
}

.close-button:hover {
    background-color: #d42f13;
}