﻿.consent-form {
    width: 100%;
    max-width: 1064px;
    margin: 0 auto;
    box-sizing: border-box;
}

    .consent-form__state[hidden],
    .consent-form__expired[hidden],
    .consent-form [data-submit-label][hidden],
    .consent-form [data-action][hidden] {
        display: none;
    }

.consent-form__state {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

    .consent-form__state[data-consent-state="form"] {
        padding: 40px 50px 8px;
        box-sizing: border-box;
    }

.consent-form__header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.consent-form__description {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .consent-form__description p {
        margin: 0;
        line-height: 1.75;
    }

.consent-form__option {
    display: block;
    padding: 0;
}

.consent-form__option-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

    .consent-form__option-heading input {
        width: 24px;
        height: 24px;
        margin: 0;
        flex: 0 0 24px;
    }

.consent-form__option-description {
    display: block;
    margin-top: 14px;
    padding-left: 38px;
    line-height: 1.5;
}

.consent-form a {
    overflow-wrap: anywhere;
}

.consent-form__expired {
    padding: 20px 0 0;
}

    .consent-form__expired p {
        margin: 0;
        line-height: 1.75;
    }

.consent-form__actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.consent-form__submit {
    width: 475px;
    max-width: 100%;
    justify-content: center;
    cursor: pointer;
}

    .consent-form__submit:disabled {
        cursor: wait;
        opacity: 0.7;
    }

.consent-form__result {
    min-height: 280px;
    padding: 40px 24px;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

    .consent-form__result .static-right {
        flex: none;
        width: 100%;
        align-items: center;
        gap: 0;
        padding-top: 0;
    }

.consent-form__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    border-radius: 50%;
    background-color: #EAF0F3;
}

    .consent-form__icon svg {
        display: block;
        width: 48px;
        height: 48px;
    }

.consent-form__icon--success {
    color: #0AC213;
}

.consent-form__icon--error {
    color: #FB5054;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .consent-form__state {
        gap: 28px;
    }

        .consent-form__state[data-consent-state="form"] {
            padding: 32px 24px 8px;
        }

    .consent-form__option-description {
        padding-left: 38px;
    }

    .consent-form__submit {
        width: 420px;
    }

    .consent-form__result {
        min-height: 250px;
        padding: 32px 24px;
    }

    .consent-form__icon {
        width: 90px;
        height: 90px;
        flex-basis: 90px;
    }

        .consent-form__icon svg {
            width: 44px;
            height: 44px;
        }
}

/* Mobil */
@media (max-width: 767.98px) {
    .consent-form__state {
        gap: 24px;
    }

        .consent-form__state[data-consent-state="form"] {
            padding: 24px 0 8px;
        }

    .consent-form__description {
        gap: 12px;
    }

    .consent-form__option-heading {
        gap: 10px;
    }

        .consent-form__option-heading input {
            width: 20px;
            height: 20px;
            flex-basis: 20px;
        }

    .consent-form__option-description {
        margin-top: 12px;
        padding-left: 0;
    }

    .consent-form__expired {
        padding-top: 16px;
    }

    .consent-form__actions {
        width: 100%;
    }

    .consent-form__submit {
        width: 300px;
        max-width: 100%;
    }

    .consent-form__result {
        min-height: 220px;
        padding: 24px 0;
    }

        .consent-form__result .static-btn {
            width: 300px;
            max-width: 100%;
            justify-content: center;
        }

    .consent-form__icon {
        width: 80px;
        height: 80px;
        flex-basis: 80px;
    }

        .consent-form__icon svg {
            width: 40px;
            height: 40px;
        }
}
