/* Основной стиль */
body {
    font-family: Arial, sans-serif;
    background-color: #e0e3e6;
    color: #333;
    margin: 0;
    padding: 20px; /* Отступы у фона */
    height: 100vh; /* Высота страницы на 100% */
    box-sizing: border-box; /* Учитываем padding при вычислении размеров */
    display: flex;
    flex-direction: column; /* Вертикальное размещение заголовка и контейнера */
    justify-content: center;
    align-items: center;
}

/* Заголовок */
.main-title {
    font-size: 64px;
    color: #333;
	margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%; /* Заголовок растянут по всей ширине */
}

/* Контейнер */
.container {
    display: flex;
    justify-content: space-around;
    width: 80%; /* Ширина контейнера 80% */
    height: 80%; /* Высота контейнера */
    max-height: 90vh; /* Ограничение по высоте */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px; /* Внутренние отступы */
}

.textarea-container {
    width: 48%; /* Почти без отступа между окнами */
    position: relative;
    height: 100%; /* Растягиваем контейнеры по высоте */
    display: flex;
    flex-direction: column; /* Вертикальное размещение для textarea и кнопок */
}

textarea {
    width: 100%;
    height: 100%; /* Растягиваем текстовые поля по высоте */
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
	border: 2px solid #dfe1e5; /* Увеличиваем толщину границы */
    border-radius: 8px; /* Закругленные углы */
    background-color: #fff;
    color: #333;
    resize: none;
    outline: none;
    flex-grow: 1; /* Текстовое поле занимает максимальную высоту */
}

/* Убираем синюю рамку при фокусе */
textarea:focus {
    border-color: #dfe1e5;
    box-shadow: none;
}

/* Кнопки */
.action-btn {
    margin-top: 10px;
    padding: 10px;
    background-color: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: #005cbf;
}

.action-btn:active {
    background-color: #004494;
}

.footer {
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    color: #555555;
}

/* Стиль для уведомления */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(-20px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}