body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.agreement-text {
    line-height: 1.6;
    max-height: 600px; /* Устанавливаем максимальную высоту блока */
    overflow-y: auto; /* Добавляем вертикальную прокрутку */
    margin-top: 20px;
    padding-right: 15px; /* Чтобы текст не прижимался к правой стороне */
}

.agreement-text p {
    margin-bottom: 20px;
}

.button-container-top {
    position: absolute;
    text-align: center;
    margin-top: 50px;
    left: 50px;
}

.button-container {
    text-align: center;
    margin-top: 30px;
}

.return-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.return-button:hover {
    background-color: #0056b3;
}

.important {
    font-weight: bold;
    color: #d9534f;
}
/* Основные стили для секции */
section {
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

section h3 {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #555;
}

section p {
    font-size: 1em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

section ul {
    list-style-type: disc;
    padding-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

/* Стили для ссылок */
section a {
    color: #007bff;
    text-decoration: none;
}

section a:hover {
    text-decoration: underline;
}

/* Для блоков с примечаниями или важной информацией */
section strong {
    font-weight: bold;
    color: #d9534f;
}
