.select-gdpr-consent {
    background: transparent;
    border-radius: 4px;
    bottom: 16px;
    color: #fff;
    display: none;
    font-family: 'Open Sans', Arial, sans-serif;
    left: 50%;
    padding: 0;
    position: fixed;
    right: auto;
    transform: translateX(-50%);
    z-index: 100000;
    width: min(calc(100% - 32px), 1180px);
}

.select-gdpr-consent.is-visible {
    display: block;
}

.select-gdpr-consent__inner {
    align-items: center;
    background: #222;
    border-radius: 4px;
    display: grid;
    gap: 22px 32px;
    grid-template-columns: minmax(280px, 1fr) auto;
    justify-content: space-between;
    margin: 0 auto;
    padding: 24px 28px 26px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
}

.select-gdpr-consent__copy {
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.5;
    min-width: 0;
}

.select-gdpr-consent__copy strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.select-gdpr-consent__copy p,
.select-gdpr-consent__setting p,
.select-gdpr-consent__essential p {
    color: #fff !important;
    margin: 0 0 5px;
}

.select-gdpr-consent a {
    color: #fff;
    text-decoration: underline;
}

.select-gdpr-consent__links {
    color: #fff;
}

.select-gdpr-consent__actions,
.select-gdpr-consent__settings-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.select-gdpr-consent__actions {
    grid-column: 2;
    grid-row: 1;
}

.select-gdpr-consent.is-settings-open [data-select-consent='customize'] {
    display: none;
}

.select-gdpr-consent__button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .75);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    padding: 9px 13px;
}

.select-gdpr-consent__button--primary {
    background: #fff;
    border-color: #fff;
    color: #222;
}

.select-gdpr-consent__button--link {
    border-color: transparent;
    text-decoration: underline;
}

.select-gdpr-consent__settings {
    border-top: 1px solid rgba(255, 255, 255, .3);
    display: grid;
    gap: 18px 24px;
    grid-template-columns: repeat(3, 1fr);
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 16px;
    padding-top: 22px;
}

.select-gdpr-consent__settings[hidden] {
    display: none;
}

.select-gdpr-consent__setting,
.select-gdpr-consent__essential {
    min-width: 0;
}

.select-gdpr-consent__setting label,
.select-gdpr-consent__essential {
    display: block;
    font-size: 14px;
    line-height: 1.35;
}

.select-gdpr-consent__setting label {
    align-items: flex-start;
    display: flex;
    gap: 10px;
}

.select-gdpr-consent__setting input[type='checkbox'] {
    flex: 0 0 auto;
    height: 15px;
    margin: 2px 0 0;
    width: 15px;
}

.select-gdpr-consent__setting p,
.select-gdpr-consent__essential p {
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0 0;
}

.select-gdpr-consent__settings-actions {
    grid-column: 1 / -1;
    padding-top: 2px;
}

.select-mailerlite-consent {
    font-size: 13px;
    line-height: 1.45;
    margin: 12px 0;
}

.mailerlite-form .select-mailerlite-consent label,
.select-data-deletion__consent label {
    align-items: flex-start;
    display: flex !important;
    gap: 8px;
}

.select-mailerlite-consent input,
.select-data-deletion__consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.select-mailerlite-consent a,
.select-data-deletion__content a {
    text-decoration: underline;
}

.select-mailerlite-consent__error {
    color: #a00;
    display: block;
    margin-top: 5px;
}

.select-data-deletion {
    padding-top: 66px;
}

.select-data-deletion .title-text-component {
    margin-bottom: 8px;
}

.select-data-deletion__content {
    margin: 0 auto;
    max-width: 640px;
}

.select-data-deletion__content > p {
    color: #404040;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
}

.select-data-deletion__form {
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 36px 40px 38px;
    width: 100%;
}

.select-data-deletion__form > p {
    margin: 0 0 20px;
}

.select-data-deletion__form label {
    display: block;
    margin-bottom: 7px;
    color: #2c2c2c;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.select-data-deletion__form input[type='text'],
.select-data-deletion__form input[type='email'],
.select-data-deletion__form textarea {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    color: #404040;
    display: block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    max-width: 100%;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.select-data-deletion__form input[type='text']:focus,
.select-data-deletion__form input[type='email']:focus,
.select-data-deletion__form textarea:focus {
    border-color: #2c2c2c;
    box-shadow: 0 0 0 2px rgba(234, 246, 249, 0.7);
    outline: none;
}

.select-data-deletion__consent {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    margin-top: 26px;
    padding: 14px 16px;
}

.select-data-deletion__consent label {
    color: #404040;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.5;
    text-transform: none;
}

.select-data-deletion__consent input[type='checkbox'] {
    accent-color: #2c2c2c;
    height: 16px;
    margin-top: 2px;
    width: 16px;
}

.select-data-deletion__form > p:last-of-type {
    margin-top: 28px;
    text-align: center;
}

.select-data-deletion__form button {
    background: #eaf6f9;
    border: none;
    border-radius: 0;
    color: #2c2c2c;
    cursor: pointer;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.8px;
    line-height: 1;
    padding: 15px 25px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.select-data-deletion__form button:hover {
    background: #cae8f0;
}

.select-data-deletion__form button:active {
    background: #87ccdd;
}

.select-data-deletion__notice {
    border-left: 3px solid #777;
    margin: 18px 0;
    padding: 10px 12px;
}

.select-data-deletion__notice--success {
    border-color: #398a53;
}

.select-data-deletion__notice--error {
    border-color: #a33;
}

.select-data-deletion__honeypot {
    height: 0;
    left: -9999px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.select-data-deletion__form input[name='action'],
.select-data-deletion__form input[name='select_data_deletion_nonce'],
.select-data-deletion__form input[name='_wp_http_referer'] {
    display: none;
}

.select-legal-links {
    display: block;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.select-legal-links-row {
    background-color: #f8f8f8;
    padding: 0 20px 10px;
    text-align: center;
}

.select-legal-links a {
    color: inherit;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .select-gdpr-consent__inner {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px 22px;
    }

    .select-gdpr-consent__actions {
        grid-column: auto;
        grid-row: auto;
    }

    .select-gdpr-consent__actions {
        justify-content: flex-start;
    }

    .select-gdpr-consent__settings {
        grid-template-columns: 1fr;
        grid-column: auto;
        grid-row: auto;
    }

    .select-gdpr-consent {
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .select-legal-links {
        line-height: 1.8;
        margin-left: 0;
    }

    .select-data-deletion__form {
        padding: 24px 20px 26px;
    }
}
