.easy-legal-cookie-consent,
.easy-legal-cookie-consent *,
.easy-legal-cookie-modal,
.easy-legal-cookie-modal *,
.easy-legal-cookie-preferences-trigger,
.easy-legal-cookie-preferences-trigger *,
.easy-legal-preference-center,
.easy-legal-preference-center *,
.easy-legal-data-request-public,
.easy-legal-data-request-public *,
.legal-document-container,
.legal-document-container * {
    box-sizing: border-box;
}

html.easy-legal-cookie-modal-open,
body.easy-legal-cookie-modal-open {
    overflow: hidden;
}

.legal-document-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    margin: 0 0 14px;
    border: 1px solid #d6d9dd;
    background: #fff;
}

.legal-document-file-name {
    font-weight: 600;
    line-height: 1.45;
}

.legal-document-download-form {
    margin: 0;
}

.legal-document-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #1f2937;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.legal-document-download-button:hover,
.legal-document-download-button:focus {
    background: #111827;
    color: #fff;
}

.easy-legal-policy-content {
    line-height: 1.7;
}

.easy-legal-policy-content > :first-child {
    margin-top: 0;
}

.easy-legal-policy-content > :last-child {
    margin-bottom: 0;
}

.easy-legal-screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.easy-legal-related-policies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.4;
}

.easy-legal-related-policies a {
    color: #1f2937;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.easy-legal-preference-center {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
}

.easy-legal-preference-center-header {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.easy-legal-preference-center-header h2,
.easy-legal-preference-center-header p {
    margin: 0;
}

.easy-legal-preference-center-header h2 {
    font-size: 22px;
    line-height: 1.25;
}

.easy-legal-preference-center-header p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.easy-legal-preference-center-actions,
.easy-legal-preference-center-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.easy-legal-preference-center-footer {
    justify-content: flex-end;
    margin-bottom: 0;
}

.easy-legal-preference-center-body {
    max-height: none;
    overflow: visible;
    padding: 0;
}

.easy-legal-preference-center .easy-legal-cookie-policy-links {
    margin-top: 14px;
}

.easy-legal-cookie-consent {
    position: fixed;
    z-index: 99998;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    justify-content: center;
}

.easy-legal-cookie-consent[hidden],
.easy-legal-cookie-modal[hidden],
.easy-legal-cookie-preferences-trigger[hidden] {
    display: none !important;
}

.easy-legal-cookie-panel {
    width: min(620px, 100%);
    padding: 18px;
    border: 1px solid #d6d9dd;
    background: #fff;
    box-shadow: 0 14px 42px rgba(17, 24, 39, 0.2);
}

.easy-legal-cookie-panel h2,
.easy-legal-cookie-modal-dialog h2,
.easy-legal-cookie-detail h3 {
    margin: 0 0 8px;
    color: #111827;
}

.easy-legal-cookie-modal-dialog h2 {
    font-size: 22px;
    line-height: 1.25;
}

.easy-legal-cookie-panel p,
.easy-legal-cookie-detail p,
.easy-legal-cookie-modal-header p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.easy-legal-cookie-panel h2 {
    font-size: 19px;
    line-height: 1.25;
}

.easy-legal-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.easy-legal-cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    flex: 0 0 auto;
    border: 1px solid #1f2937;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.easy-legal-cookie-button:focus-visible,
.easy-legal-cookie-button:focus,
.easy-legal-cookie-link:focus-visible,
.easy-legal-cookie-link:focus,
.easy-legal-cookie-close:focus-visible,
.easy-legal-cookie-close:focus,
.easy-legal-cookie-preferences-trigger:focus-visible,
.easy-legal-cookie-preferences-trigger:focus,
.easy-legal-cookie-preference-heading:focus-visible,
.easy-legal-cookie-preference-heading:focus,
.legal-document-download-button:focus-visible,
.legal-document-download-button:focus,
.easy-legal-related-policies a:focus-visible,
.easy-legal-related-policies a:focus,
.easy-legal-cookie-policy-links a:focus-visible {
    outline: 3px solid #256d4a;
    outline-offset: 3px;
}

.easy-legal-cookie-button.is-primary {
    background: #1f2937;
    color: #fff;
}

.easy-legal-cookie-link {
    display: inline-flex;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
}

.easy-legal-cookie-policy-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    box-sizing: border-box;
    margin-top: 10px;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.4;
}

.easy-legal-cookie-policy-links.has-two-links {
    justify-content: space-between;
    width: 100%;
}

.easy-legal-cookie-policy-links.has-one-link {
    justify-content: center;
}

.easy-legal-cookie-policy-links a {
    color: #4b5563;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.easy-legal-cookie-modal-dialog > .easy-legal-cookie-policy-links {
    padding: 0 20px 12px;
}

.easy-legal-cookie-modal {
    position: fixed;
    z-index: 99999;
    inset: 0;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

.easy-legal-cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.58);
}

.easy-legal-cookie-modal-dialog {
    position: relative;
    width: min(510px, calc(100vw - 32px));
    max-height: min(720px, calc(100dvh - 24px));
    margin: 0 auto;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d6d9dd;
    background: #fff;
    box-shadow: 0 22px 70px rgba(17, 24, 39, 0.28);
}

.easy-legal-cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.easy-legal-cookie-close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #f9fafb;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.easy-legal-cookie-close::before,
.easy-legal-cookie-close::after {
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: #374151;
    content: "";
}

.easy-legal-cookie-close::before {
    transform: rotate(45deg);
}

.easy-legal-cookie-close::after {
    transform: rotate(-45deg);
}

.easy-legal-cookie-close:hover,
.easy-legal-cookie-close:focus-visible {
    border-color: #9ca3af;
    background: #fff;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.14);
    transform: translateY(-1px);
}

.easy-legal-cookie-modal-body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.easy-legal-cookie-detail {
    margin: 0;
}

.easy-legal-cookie-detail-status span {
    display: inline-flex;
    padding: 4px 8px;
    background: #e5e7eb;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.easy-legal-cookie-modal-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 20px;
    border-top: 1px solid #e5e7eb;
}

.easy-legal-cookie-preferences-trigger {
    position: fixed;
    z-index: 99997;
    right: 20px;
    bottom: 20px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #1f2937;
    background: #fff;
    color: #1f2937;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.18);
}

.easy-legal-cookie-preferences-trigger.is-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 9px;
    border-color: #d6d9dd;
    border-radius: 10px;
    background: #fff;
}

.easy-legal-cookie-preferences-trigger.is-logo img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.easy-legal-cookie-preference-row {
    display: block;
    padding: 14px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.easy-legal-cookie-preference-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #111827;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
}

.easy-legal-cookie-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.easy-legal-cookie-arrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #374151;
    border-bottom: 2px solid #374151;
    transform: rotate(45deg) translate(-1px, -1px);
}

.easy-legal-cookie-preference-heading[aria-expanded="true"] .easy-legal-cookie-arrow {
    transform: rotate(180deg);
}

.easy-legal-cookie-preference-heading:hover .easy-legal-cookie-arrow,
.easy-legal-cookie-preference-heading:focus-visible .easy-legal-cookie-arrow {
    border-color: #9ca3af;
    background: #f9fafb;
    box-shadow: 0 3px 8px rgba(17, 24, 39, 0.12);
}

.easy-legal-cookie-preference-content {
    display: grid;
    gap: 14px;
    padding-top: 12px;
}

.easy-legal-cookie-preference-content[hidden] {
    display: none !important;
}

.easy-legal-cookie-preference-content p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.easy-legal-cookie-preference-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.easy-legal-cookie-preference-control > span {
    display: inline-flex;
    padding: 4px 8px;
    background: #e5e7eb;
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.easy-legal-cookie-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-weight: 800;
}

.easy-legal-cookie-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.easy-legal-cookie-slider {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #d1d5db;
    transition: background 0.18s ease;
}

.easy-legal-cookie-slider::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.28);
    transition: transform 0.18s ease;
}

.easy-legal-cookie-switch input:checked + .easy-legal-cookie-slider {
    background: #256d4a;
}

.easy-legal-cookie-switch input:checked + .easy-legal-cookie-slider::after {
    transform: translateX(20px);
}

.easy-legal-cookie-switch input:disabled + .easy-legal-cookie-slider {
    opacity: 0.78;
}

.easy-legal-cookie-switch input:focus-visible + .easy-legal-cookie-slider,
.easy-legal-cookie-switch input:focus + .easy-legal-cookie-slider {
    outline: 3px solid #256d4a;
    outline-offset: 3px;
}

.easy-legal-cookie-switch-label {
    font-size: 13px;
}

.easy-legal-data-request-public {
    display: grid;
    gap: 16px;
    max-width: 720px;
    padding: 22px;
    border: 1px solid #d6d9dd;
    background: #fff;
}

.easy-legal-data-request-public label {
    display: grid;
    gap: 7px;
}

.easy-legal-data-request-public label > span {
    color: #111827;
    font-weight: 700;
}

.easy-legal-data-request-public input[type="text"],
.easy-legal-data-request-public input[type="email"],
.easy-legal-data-request-public select,
.easy-legal-data-request-public textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font: inherit;
}

.easy-legal-data-request-public textarea {
    min-height: 120px;
}

.easy-legal-data-request-confirm {
    grid-template-columns: auto 1fr;
    align-items: start;
}

.easy-legal-data-request-confirm input {
    margin-top: 4px;
}

.easy-legal-data-request-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    padding: 10px 18px;
    border: 1px solid #1f2937;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.easy-legal-data-request-message {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111827;
}

.easy-legal-data-request-message.is-success {
    border-color: #bbd9ca;
    background: #eef8f2;
}

.easy-legal-data-request-message.is-error {
    border-color: #f0b9b9;
    background: #fff5f5;
}

.easy-legal-data-request-security {
    min-height: 78px;
}

@media (max-width: 600px) {
    .legal-document-container {
        align-items: stretch;
        flex-direction: column;
    }

    .legal-document-download-form,
    .legal-document-download-button {
        width: 100%;
    }

    .easy-legal-cookie-actions,
    .easy-legal-cookie-button,
    .easy-legal-cookie-modal-footer .easy-legal-cookie-button {
        width: 100%;
    }

    .easy-legal-cookie-consent {
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        left: max(12px, env(safe-area-inset-left));
    }

    .easy-legal-cookie-panel {
        max-height: calc(100dvh - 24px);
        overflow: auto;
        padding: 16px;
    }

    .easy-legal-cookie-modal {
        padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    }

    .easy-legal-cookie-modal-dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
    }

    .easy-legal-cookie-modal-header,
    .easy-legal-cookie-modal-footer {
        padding: 16px;
    }

    .easy-legal-cookie-modal-body {
        padding: 16px;
    }

    .easy-legal-cookie-switch {
        width: auto;
    }

    .easy-legal-cookie-preference-control {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .easy-legal-data-request-public {
        padding: 18px;
    }

    .easy-legal-data-request-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .easy-legal-cookie-close,
    .easy-legal-cookie-arrow,
    .easy-legal-cookie-slider,
    .easy-legal-cookie-slider::after {
        transition: none;
    }
}

@media (forced-colors: active) {
    .easy-legal-cookie-button,
    .easy-legal-cookie-close,
    .easy-legal-cookie-preferences-trigger,
    .legal-document-download-button,
    .easy-legal-data-request-button {
        border-color: ButtonText;
        color: ButtonText;
        forced-color-adjust: auto;
    }

    .easy-legal-cookie-button.is-primary,
    .legal-document-download-button,
    .easy-legal-data-request-button {
        background: ButtonFace;
        color: ButtonText;
    }

    .easy-legal-cookie-slider {
        border: 1px solid ButtonText;
    }
}
