/* DAUX — COOKIES 4.6. Arquivo completo e formatado. */
#daux-cookie-root {
    font: 15px/1.65 Arial, Helvetica, sans-serif;
    color: #374151;
}

#daux-cookie-root * {
    box-sizing: border-box;
}

#daux-cookie-root [hidden],
#daux-cookie-footer-slot [hidden] {
    display: none !important;
}

#daux-cookie-root a {
    color: #984100;
    text-decoration: underline;
}

#daux-cookie-root :focus-visible {
    outline: 3px solid #0070b9;
    outline-offset: 3px;
}

.dc-banner {
    position: fixed;
    left: 18px;
    bottom: 18px;
    width: min(490px, calc(100% - 36px));
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 35px #0003;
    z-index: 100000;
}

.dc-title {
    margin: 0;
    color: #302d2c;
    font-size: 21px;
    line-height: 1.4;
}

.dc-banner p {
    margin: 12px 0;
}

.dc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

#daux-cookie-root button.dc-btn {
    flex: 1 1 125px;
    min-height: 44px;
    padding: 10px;
    border: 1px solid #984100;
    border-radius: 5px;
    background: #fff;
    color: #984100;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Especificidade superior ao CSS complementar das versões anteriores. */
#daux-cookie-root button.dc-btn[data-action="reject"],
#daux-cookie-root button.dc-btn[data-action="reject"]:hover {
    border-color: #984100;
    background: #fff;
    color: #984100;
}

#daux-cookie-root button.dc-btn[data-action="accept"] {
    border-color: #984100;
    background: #984100;
    color: #fff;
}

#daux-cookie-root button.dc-btn[data-action="accept"]:hover {
    border-color: #773300;
    background: #773300;
    color: #fff;
}

#daux-cookie-root button.dc-btn[data-action="open"]:hover,
#daux-cookie-root button.dc-btn[data-action="save"]:hover {
    background: #fff3e8;
}

.dc-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #0009;
    z-index: 100001;
}

.dc-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.dc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
}

.dc-close {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 28px;
    cursor: pointer;
}

.dc-tabs {
    display: flex;
    flex: 0 0 auto;
    margin: 0 22px;
    border-bottom: 1px solid #ddd;
}

.dc-tab {
    flex: 1 1 0;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #555;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.dc-tab[aria-selected="true"] {
    border-bottom-color: #984100;
    color: #813700;
}

.dc-body {
    overflow: auto;
    padding: 18px 22px;
}

.dc-body > section > p:first-child {
    margin-top: 0;
}

.dc-category {
    padding: 16px 0;
    border-top: 1px solid #eee;
}

.dc-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dc-category h3,
.dc-declaration h3 {
    margin: 0 0 6px;
    color: #302d2c;
    font-size: 17px;
}

.dc-category input {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    accent-color: #984100;
}

.dc-category label {
    white-space: nowrap;
    cursor: pointer;
}

.dc-always {
    color: #176c2d;
    white-space: nowrap;
}

.dc-footer {
    padding: 16px 22px;
    border-top: 1px solid #eee;
}

.dc-footer .dc-actions {
    margin: 0;
}

.dc-status {
    font-size: 13px;
}

.dc-error {
    color: #a40000;
}

#daux-cookie-footer-slot {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0;
}

#daux-cookie-footer-slot .dc-settings {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

#daux-cookie-footer-slot .dc-settings:hover {
    background: #ffffff20;
}

#daux-cookie-footer-slot svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 540px) {
    .dc-actions {
        flex-direction: column;
    }

    #daux-cookie-root button.dc-btn {
        flex: auto;
        width: 100%;
    }

    .dc-header,
    .dc-body,
    .dc-footer {
        padding: 16px;
    }

    .dc-tabs {
        margin: 0 16px;
    }

    .dc-tab {
        padding: 10px 6px;
        font-size: 14px;
    }
}
