.cookie-consent-popup {
    border: none !important;
    border-radius: 2em !important;
    box-shadow: 0 1em 2em rgba(0, 0, 0, 0.25) !important;
    margin: auto !important;
    padding: 2em !important;
    max-width: 80ch !important;

    font-family: "Montserrat", sans-serif !important;
    font-size: min(1em, 2.5vw) !important;
    text-align: justify !important;
}

.cookie-consent-popup section {
    margin-top: 1em !important;
}

.cookie-consent-popup p {
    font-family: "Montserrat", sans-serif !important;
    font-size: 1em !important;
    text-align: justify !important;
    line-height: 1.5em !important;
}

.cookie-consent-popup h1 {
    font-size: 1em !important;
    font-weight: bold !important;
}

.cookie-consent-button-row {
    display: flex !important;
    width: 100% !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: center !important;
}

.cookie-consent-popup button {
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 900px !important;
    background: green !important;
    color: white !important;
    padding: 1em !important;
    font-weight: bold !important;
    font-size: 1em !important;
    cursor: pointer !important;
    text-transform: initial !important;
}

.cookie-consent-button-row button {
    min-width: 50% !important;
}

.cookie-consent-link-row {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.cookie-consent-link-row a {
    text-decoration: none !important;
    font-weight: bold !important;
    color: green !important;
    text-align: left;
    margin: 0.5em;
}

.cookie-consent-popup table {
    border-spacing: 0 0.2em !important;
    border-collapse: separate !important;
}

.cookie-consent-option-row-mandatory td {
    color: rgba(0, 0, 0, 0.5);
}

.cookie-consent-popup td {
    background: #EEE !important;
    padding: 0.25em 0.5em !important;
    white-space: nowrap !important;
    border: none !important;
}

.cookie-consent-popup td:first-child {
    width: 100% !important;
}

.cookie-consent-popup td:not(:first-child) {
    text-align: center !important;
}

.cookie-consent-popup input[type=checkbox] {
    min-width: 1em !important;
    min-height: 1em !important;
    appearance: auto !important;
    -webkit-appearance: none !important;
    position: relative;
}

.cookie-consent-popup input[type=checkbox]::before {
    display: block;
    position: absolute;
    content: " ";
    font-size: 0.01;
    width: 2em;
    height: 1em;
    outline: 1px solid grey;
    border-radius: 1em;
    background: white;
    transition: 0.25s;
}

.cookie-consent-popup input[type=checkbox]::after {
    display: block;
    position: absolute;
    content: " ";
    font-size: 0.01;
    width: 1em;
    height: 1em;
    background: grey;
    border-radius: 1em;
    left: 0;
    transition: 0.25s;
}

.cookie-consent-popup input[type=checkbox]:checked::before {
    background: green;
}

.cookie-consent-popup input[type=checkbox]:checked::after {
    background: white;
    left: 1em;
}
