/* GDPR Consent Styles for ConfirmFurtherContact - matches donation form styling */

/* Override flex-direction from .registerForm .formQuestion.contactReasons .contactReasonOption */
.registerForm .formQuestion.contactReasons .contactReasonOption {
    display: block !important;
    flex-direction: unset !important;
    justify-content: unset !important;
}

.gdpr__consent {
    margin-bottom: 10px;
    border: 1px solid #eceeef;
    border-radius: 4px;
    padding: 12px 15px;
    background: #f7f7f9;
}

.gdpr__consent:last-child {
    margin-bottom: 0;
}

.gdpr__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.gdpr__name {
    padding: 0;
    flex-grow: 1;
}

.gdpr__options {
    display: flex;
    align-items: center;
    padding: 0;
}

.gdpr__options input[type="radio"] {
    height: 18px;
    width: 18px;
    margin: 0 4px 0 15px;
    vertical-align: middle;
    cursor: pointer;
}

.gdpr__options input[type="radio"]:first-child {
    margin-left: 0;
}

.gdpr__options .gdpr__label {
    margin-right: 0;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 0;
}

.gdpr__label {
    padding: 0;
    cursor: pointer;
    width: 20px !important;
    margin-right: -1px !important;
}

@media (max-width: 576px) {
    .gdpr__wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gdpr__name {
        max-width: 100%;
    }
}

.gdpr__consent > .consentValidation {
    display: block;
    margin-top: 8px;
}

@media (min-width: 576px) {
    .gdpr__name {
        max-width: calc(100% - 70px);
    }
}
