.lgpd-consent[hidden],
.lgpd-modal[hidden],
.lgpd-preferences-link[hidden] {
    display: none !important;
}

.lgpd-consent,
.lgpd-modal,
.lgpd-preferences-link {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.lgpd-consent *,
.lgpd-modal *,
.lgpd-preferences-link {
    box-sizing: border-box;
}

.lgpd-consent {
    bottom: 0;
    color: #ffffff;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 99990;
}

.lgpd-consent--bar {
    background: #1f2937;
    padding: 10px 5%;
}

.lgpd-consent--floating {
    bottom: 18px;
    left: 18px;
    max-width: 620px;
    right: auto;
    width: calc(100% - 36px);
}

.lgpd-consent__box {
    align-items: center;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    width: 100%;
}

.lgpd-consent--floating .lgpd-consent__box {
    align-items: flex-start;
    background: rgb(31 41 55 / 90%);
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.lgpd-consent__content p,
.lgpd-modal__panel p,
.lgpd-category p {
    line-height: 1.5;
}

.lgpd-consent__content p {
    color: #ffffff;
    font-size: 12px;
    margin: 0;
    max-width: 660px;
}

.lgpd-consent__content a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
}

.lgpd-consent__content a,
.lgpd-consent__content a:visited,
.lgpd-consent__content a:hover,
.lgpd-consent__content a:focus {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, 0.75) !important;
}

.lgpd-consent__actions,
.lgpd-modal__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.lgpd-consent__actions {
    flex: 0 0 auto;
    min-width: 520px;
}

.lgpd-consent--floating .lgpd-consent__actions {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
}

.lgpd-consent__btn {
    align-items: center;
    appearance: none;
    background: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    justify-content: center;
    min-height: 36px;
    min-width: 146px;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.lgpd-consent button.lgpd-consent__btn,
.lgpd-modal button.lgpd-consent__btn {
    background-color: #2563eb !important;
    border: 1px solid #2563eb !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    min-height: 36px !important;
    min-width: 146px !important;
    opacity: 1 !important;
    padding: 10px 14px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

.lgpd-consent button.lgpd-consent__btn:hover,
.lgpd-consent button.lgpd-consent__btn:focus,
.lgpd-modal button.lgpd-consent__btn:hover,
.lgpd-modal button.lgpd-consent__btn:focus {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

.lgpd-consent__btn--ghost {
    background: #ffffff;
    border-color: #ffffff;
    color: #1f2937;
}

.lgpd-consent button.lgpd-consent__btn--ghost,
.lgpd-modal button.lgpd-consent__btn--ghost {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1f2937 !important;
}

.lgpd-consent button.lgpd-consent__btn--ghost:hover,
.lgpd-consent button.lgpd-consent__btn--ghost:focus,
.lgpd-modal button.lgpd-consent__btn--ghost:hover,
.lgpd-modal button.lgpd-consent__btn--ghost:focus {
    background-color: #eef2f7 !important;
    border-color: #eef2f7 !important;
    color: #1f2937 !important;
}

.lgpd-consent__btn--ghost[data-lgpd-action="settings"] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.lgpd-consent button.lgpd-consent__btn--ghost[data-lgpd-action="settings"] {
    background-color: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.64) !important;
    color: #ffffff !important;
}

.lgpd-consent button.lgpd-consent__btn--ghost[data-lgpd-action="settings"]:hover,
.lgpd-consent button.lgpd-consent__btn--ghost[data-lgpd-action="settings"]:focus {
    background-color: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
    color: #ffffff !important;
}

.lgpd-modal {
    inset: 0;
    position: fixed;
    z-index: 99999;
}

.lgpd-modal__backdrop {
    background: rgba(15, 23, 42, 0.58);
    inset: 0;
    position: absolute;
}

.lgpd-modal__panel {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.34);
    color: #1f2937;
    left: 50%;
    max-height: calc(100vh - 48px);
    max-width: 680px;
    overflow: auto;
    padding: 28px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
}

.lgpd-modal__close {
    align-items: center;
    appearance: none;
    background: #eef2f7;
    border: 0;
    border-radius: 50%;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    font-size: 22px;
    height: 34px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
}

.lgpd-modal__panel h2 {
    color: #1f2937;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0 !important;
    margin: 0 44px 8px 0;
    text-transform: none !important;
}

.lgpd-modal__panel > p {
    color: #66758c;
    font-size: 14px;
    margin: 0 0 18px;
}

.lgpd-category {
    align-items: center;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin: 12px 0;
    padding: 16px;
}

.lgpd-category h3 {
    color: #1f2937;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0 !important;
    margin: 0 0 5px;
    text-transform: none !important;
}

.lgpd-category p {
    color: #66758c;
    font-size: 13px;
    margin: 0;
}

.lgpd-category input {
    flex: 0 0 auto;
    height: 22px;
    width: 22px;
}

.lgpd-category__required {
    color: #1f2937;
    flex: 0 0 auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.lgpd-modal__actions {
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 18px;
}

.lgpd-modal__actions .lgpd-consent__btn {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    opacity: 1;
    visibility: visible;
}

.lgpd-modal__actions .lgpd-consent__btn--ghost {
    background: #eef2f7;
    border-color: #cbd5e1;
    color: #1f2937;
}

.lgpd-modal__actions .lgpd-consent__btn[data-lgpd-action="accept"] {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
}

.lgpd-modal button.lgpd-consent__btn[data-lgpd-action="accept"] {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
}

.lgpd-modal__actions .lgpd-consent__btn[data-lgpd-action="save"] {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.lgpd-preferences-link {
    appearance: none;
    background: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    bottom: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    left: 14px;
    margin: 0;
    padding: 9px 12px;
    position: fixed;
    text-decoration: none;
    text-transform: uppercase;
    z-index: 99980;
}

button.lgpd-preferences-link,
button.lgpd-preferences-link:visited {
    background-color: #1f2937 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 4px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22) !important;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    padding: 9px 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
}

button.lgpd-preferences-link:hover,
button.lgpd-preferences-link:focus {
    background-color: #374151 !important;
    border-color: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
    outline: 2px solid rgba(37, 99, 235, 0.28) !important;
    outline-offset: 2px !important;
    text-decoration: none !important;
}

.lgpd-modal-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .lgpd-consent {
        padding: 12px;
    }

    .lgpd-consent--floating {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
    }

    .lgpd-consent__box {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .lgpd-consent__actions {
        flex: 0 0 auto;
        min-width: 0;
    }

    .lgpd-consent__btn,
    .lgpd-modal__actions .lgpd-consent__btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .lgpd-modal__panel {
        padding: 22px 18px;
    }

    .lgpd-category {
        align-items: flex-start;
        flex-direction: column;
    }

    .lgpd-category input {
        align-self: flex-start;
    }
}
