/* Shared consent and action confirmation. Load after page and module styles.
   Keep the native checkbox and required validation; the label owns its text and spacing. */
label.confirmation-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    margin: 20px 0 24px;
    padding: 16px 18px;
    border: 1px solid #dce6f5;
    border-radius: 12px;
    background: #f5f8fd;
    color: #19376a;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
}

.confirmation-check > input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: var(--brand, #0666ff);
    cursor: pointer;
}

.confirmation-check > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.confirmation-check a {
    color: var(--brand, #0666ff);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.confirmation-check > input:focus-visible {
    outline: 3px solid var(--brand, #0666ff);
    outline-offset: 3px;
}

.confirmation-check > input:disabled {
    cursor: not-allowed;
}

/* A hidden conditional confirmation must never become visible through the flex rule. */
label.confirmation-check[hidden] {
    display: none;
}

@media (max-width: 760px) {
    label.confirmation-check {
        padding: 14px;
    }
}
