/* Контейнер списка документов */
.privacyDocuments {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    font-family: inherit;
}

/* Отдельный элемент соглашения (карточка) */
.privacyDocument {
    background-color: #ffffff;
    border: 1px solid #f1f5f9; /* slate-100 */
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.privacyDocument:hover {
    border-color: #e2e8f0; /* slate-200 */
    background-color: #fafafa;
}

/* Лейбл чекбокса */
.privacyDocument_label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    line-height: 1.5;
    color: #334155; /* slate-700 */
}

/* Кастомный современный чекбокс */
.privacyDocument_input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px; /* Выравнивание по первой строке текста */
    border: 1.5px solid #cbd5e1; /* slate-300 */
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.privacyDocument_input:hover {
    border-color: #94a3b8; /* slate-400 */
}

.privacyDocument_input:checked {
    background-color: #2563eb; /* blue-600 */
    border-color: #2563eb;
}

/* Галочка внутри чекбокса */
.privacyDocument_input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Состояние фокуса с мягким кольцом */
.privacyDocument_input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Индикатор обязательности (*) */
.privacyDocument_requiredIndicator {
    color: #e11d48; /* rose-600 */
    font-weight: 600;
    margin-left: -6px; /* Подтягиваем ближе к тексту */
    margin-right: 2px;
}

/* Текст соглашения */
.privacyDocument_text {
    color: #475569; /* slate-600 */
    font-size: 13.5px;
}

.privacyDocument_text a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacyDocument_text a:hover {
    color: #1d4ed8;
}