.core-yoti-consent {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin: clamp(24px, 5vw, 64px) auto;
    padding: clamp(32px, 5.5vw, 72px) clamp(20px, 5vw, 64px) !important;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #dfe3ea);
    border-radius: var(--r-lg, 16px);
    color: inherit;
    text-align: center;
}

.core-yoti-consent *,
.core-yoti-consent *::before,
.core-yoti-consent *::after {
    box-sizing: border-box;
}

.core-yoti-consent__intro,
.core-yoti-consent__form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.core-yoti-consent__intro {
    gap: var(--s-sm, 16px);
    align-items: center;
}

.core-yoti-consent__form {
    gap: var(--s-lg, 24px);
}

.core-yoti-consent__intro > *,
.core-yoti-consent__form > * {
    margin-top: 0;
    margin-bottom: 0;
}

.core-yoti-consent__eyebrow {
    margin: 0;
    color: var(--brand, #365ac2);
    font-size: var(--fs-micro, 0.75rem);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.core-yoti-consent #core-yoti-consent-title {
    margin: 0;
    color: var(--ink, #111827);
    font-family: var(--font-display, inherit);
    font-size: var(--fs-h4, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
}

.core-yoti-consent__intro .t-body-s,
.core-yoti-consent__help {
    font-size: var(--fs-body-s, 0.9375rem);
    line-height: 1.58;
}

.core-yoti-consent__checks {
    display: grid;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
}

.core-yoti-consent__check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--border, #dfe3ea);
    border-radius: var(--r-sm, 10px);
    background: var(--surface-tint, #f6f8fc);
    color: var(--ink, #111827);
    font: inherit;
    font-size: var(--fs-body-s, 0.9375rem);
    line-height: 1.55;
    cursor: pointer;
    transition: border-color 150ms ease-out, background-color 150ms ease-out,
        box-shadow 150ms ease-out;
}

.core-yoti-consent__check:hover {
    border-color: color-mix(in srgb, var(--brand, #365ac2) 45%, var(--border, #dfe3ea));
}

.core-yoti-consent__check:has(input:checked) {
    border-color: var(--brand, #365ac2);
    background: color-mix(in srgb, var(--brand, #365ac2) 7%, #fff);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand, #365ac2) 12%, transparent);
}

.core-yoti-consent__check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: var(--brand, #365ac2);
    cursor: pointer;
}

.core-yoti-consent__check input[type="checkbox"]:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand, #365ac2) 35%, transparent);
    outline-offset: 3px;
}

.core-yoti-consent .core-yoti-consent__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-xs, 8px);
    align-self: center;
    min-width: 255px;
    padding: 1.1875rem 2.5rem;
    border: 0;
    border-radius: var(--r-sm, 10px);
    background: var(--brand, #365ac2);
    color: var(--on-brand, #fff);
    font: inherit;
    font-size: var(--fs-body, 1rem);
    font-weight: 700;
    line-height: 1.75;
    text-decoration: none;
    box-shadow: var(--shadow-cta, 0 10px 22px rgba(54, 90, 194, 0.22));
    cursor: pointer;
    transition: background-color 150ms ease-out, box-shadow 150ms ease-out,
        transform 150ms ease-out;
}

.core-yoti-consent .core-yoti-consent__submit:hover:not(:disabled) {
    background: var(--brand-hover, #294ba9);
    color: var(--on-brand, #fff);
}

.core-yoti-consent .core-yoti-consent__submit:disabled {
    opacity: 0.45;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.core-yoti-consent__submit .ico {
    width: 20px;
    height: 20px;
}

.core-yoti-consent__help {
    max-width: 580px;
    align-self: center;
}

.core-yoti-consent__help a {
    color: var(--brand, #365ac2);
    font-weight: 700;
}

.core-yoti-consent .core-yoti-consent__alert {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid #efb8be;
    border-radius: var(--r-sm, 10px);
    background: #fff5f5;
    color: #80202c;
    font-size: var(--fs-body-s, 0.9375rem);
    line-height: 1.5;
    text-align: left;
}

.core-yoti-consent .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 600px) {
    .core-yoti-consent {
        margin: 24px auto;
        padding: 28px 18px !important;
    }

    .core-yoti-consent .core-yoti-consent__submit {
        width: 100%;
        min-width: 0;
    }
}

@supports not (color: color-mix(in srgb, #000 50%, #fff)) {
    .core-yoti-consent__check:hover,
    .core-yoti-consent__check:has(input:checked) {
        border-color: var(--brand, #365ac2);
    }
}
