.dadepo-consent [hidden] {
    display: none !important;
}

.dadepo-consent {
    --dadepo-consent-ink: #102f2a;
    --dadepo-consent-muted: #526761;
    --dadepo-consent-line: #cbd8d4;
    --dadepo-consent-surface: #ffffff;
    --dadepo-consent-accent: #0b6b58;
    --dadepo-consent-accent-hover: #075344;
    color: var(--dadepo-consent-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    position: relative;
    z-index: 2147483000;
}

.dadepo-consent__settings-button {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    border: 1px solid var(--dadepo-consent-line);
    border-radius: 999px;
    background: var(--dadepo-consent-surface);
    color: var(--dadepo-consent-ink);
    box-shadow: 0 10px 30px rgba(16, 47, 42, 0.16);
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
}

.dadepo-consent__banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
    border: 1px solid var(--dadepo-consent-line);
    border-radius: 1rem;
    background: var(--dadepo-consent-surface);
    box-shadow: 0 24px 60px rgba(16, 47, 42, 0.24);
    padding: 1.25rem;
}

.dadepo-consent__copy h2,
.dadepo-consent__dialog h2 {
    margin: 0 0 0.5rem;
    color: var(--dadepo-consent-ink);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.dadepo-consent__copy p,
.dadepo-consent__dialog p {
    margin: 0;
    color: var(--dadepo-consent-muted);
    font-size: 0.925rem;
    line-height: 1.55;
}

.dadepo-consent__copy a {
    color: var(--dadepo-consent-accent);
    font-weight: 700;
}

.dadepo-consent__eyebrow {
    margin-bottom: 0.35rem !important;
    color: var(--dadepo-consent-accent) !important;
    font-size: 0.75rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dadepo-consent__detail {
    margin-top: 0.45rem !important;
    font-size: 0.82rem !important;
}

.dadepo-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-end;
    gap: 0.6rem;
    min-width: 19rem;
}

.dadepo-consent__button,
.dadepo-consent__link-button {
    min-height: 2.65rem;
    border: 1px solid var(--dadepo-consent-line);
    border-radius: 0.65rem;
    background: var(--dadepo-consent-surface);
    color: var(--dadepo-consent-ink);
    padding: 0.65rem 0.9rem;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 750;
}

.dadepo-consent__button--primary {
    border-color: var(--dadepo-consent-accent);
    background: var(--dadepo-consent-accent);
    color: #ffffff;
}

.dadepo-consent__button--primary:hover {
    border-color: var(--dadepo-consent-accent-hover);
    background: var(--dadepo-consent-accent-hover);
}

.dadepo-consent__link-button {
    border-color: transparent;
    background: transparent;
    color: var(--dadepo-consent-accent);
    text-decoration: underline;
}

.dadepo-consent button:focus-visible,
.dadepo-consent input:focus-visible,
.dadepo-consent a:focus-visible {
    outline: 3px solid rgba(11, 107, 88, 0.35);
    outline-offset: 2px;
}

.dadepo-consent__backdrop {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(4, 22, 19, 0.62);
    padding: 1rem;
}

.dadepo-consent__dialog {
    width: min(100%, 38rem);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border-radius: 1rem;
    background: var(--dadepo-consent-surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    padding: 1.5rem;
}

.dadepo-consent__purpose {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--dadepo-consent-line);
    border-radius: 0.75rem;
    padding: 1rem;
}

.dadepo-consent__purpose strong,
.dadepo-consent__purpose span {
    display: block;
}

.dadepo-consent__purpose span span {
    margin-top: 0.2rem;
    color: var(--dadepo-consent-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.dadepo-consent__purpose--selectable {
    cursor: pointer;
}

.dadepo-consent__purpose input {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    accent-color: var(--dadepo-consent-accent);
}

.dadepo-consent__always-on {
    flex: 0 0 auto;
    color: var(--dadepo-consent-accent);
    font-size: 0.8rem;
    font-weight: 800;
}

.dadepo-consent__ads-note {
    margin-top: 1rem !important;
    border-left: 3px solid var(--dadepo-consent-line);
    padding-left: 0.8rem;
    font-size: 0.82rem !important;
}

.dadepo-consent__dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.dadepo-consent__status {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .dadepo-consent__banner {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .dadepo-consent__actions {
        display: grid;
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .dadepo-consent__actions button {
        width: 100%;
    }

    .dadepo-consent__purpose {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dadepo-consent *,
    .dadepo-consent *::before,
    .dadepo-consent *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
