/* Единый стиль галочек согласия (регистрация, поддержка, контакт на лендинге) */

.lb-consent-group {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    text-align: left;
}

.lb-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.8125rem;
    line-height: 1.45;
    font-weight: 500;
    color: #4b5563;
}

.lb-consent__input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0.12rem 0 0;
    flex-shrink: 0;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lb-consent__input:checked {
    background: #1976d2
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1 5l3 3 7-7'/%3E%3C/svg%3E")
        center/10px 10px no-repeat;
    border-color: #1976d2;
}

.lb-consent__input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.25);
}

.lb-consent__text {
    flex: 1;
    min-width: 0;
}

.lb-consent__text p {
    display: inline;
    margin: 0;
}

.lb-consent__text a {
    color: #1565c0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lb-consent__text a:hover {
    color: #0d47a1;
}

/* Регистрация / auth */
.auth-page .lb-consent-group {
    max-width: 380px;
    margin: 0.35rem 0 0.85rem;
}

/* Модалка контакта на лендинге */
.lb-contact-form__field--consent .lb-consent {
    font-size: 0.8125rem;
}

/* Поддержка в ЛК */
.support-form__row--consent .lb-consent {
    font-size: 0.875rem;
    color: var(--dash-text-muted, #6b7280);
}

html[data-theme='dark'] .lb-consent {
    color: #cbd5e1;
}

html[data-theme='dark'] .lb-consent__input {
    background: #1f2937;
    border-color: #4b5563;
}

html[data-theme='dark'] .lb-consent__text a {
    color: #93c5fd;
}
