/* Базовое сбрасывание */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f5f7; /* Тот же фирменный серый фон */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
}


/* Расширенный белый контейнер под текст */
.document-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 800px; /* Шире, чем форма, для удобства чтения */
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

/* Ссылка Назад */
.back-link {
    display: inline-block;
    color: #858585;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 24px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #000000;
}

/* Заголовки документа */
h1 {
    font-size: 26px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.doc-date {
    font-size: 14px;
    color: #858585;
    margin-bottom: 32px;
}

/* Тело документа */
.document-content section {
    margin-bottom: 28px;
}

.document-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}

.document-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 10px;
}

.document-content strong {
    color: #000000;
}

/* Нижняя кнопка */
.close-doc-btn {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 40px auto 0 auto;
    padding: 14px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
}

.close-doc-btn:hover {
    background-color: #e5e5e5;
}

/* Адаптивность для смартфонов */
@media (max-width: 600px) {
    body {
        padding: 20px 10px;
    }
    .document-container {
        padding: 24px 16px;
    }
    .support-btn {
        position: static;
        margin-bottom: 20px;
        float: right;
    }
    h1 {
        font-size: 20px;
        clear: both;
    }
}
