#dm-cookie-banner {
    display: none;
    position: fixed;
    z-index: 999999;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
#dm-cookie-banner * { box-sizing: border-box; }

#dm-cookie-banner.dm-show { display: flex; }

/* Centered popup */
#dm-cookie-banner.center {
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.18);
}

/* Bottom bar */
#dm-cookie-banner.bottom-bar {
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    padding: 16px;
}

.dm-box {
    width: 100%;
    max-width: 520px;
    background: #fff;
    color: #202124;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
#dm-cookie-banner.bottom-bar .dm-box {
    max-width: 1100px;
    border-radius: 8px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.dm-box h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.25;
    color: #1f1f1f;
}
#dm-cookie-banner.bottom-bar .dm-box h2 { display: none; }

.dm-box p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    color: #3c4043;
}
#dm-cookie-banner.bottom-bar .dm-box p {
    margin: 0;
    flex: 1 1 320px;
}

.dm-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.dm-actions button {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    line-height: 1;
}

#dm-reject {
    background: transparent;
    border-color: #c8ccd1;
    color: #3c4043;
}
#dm-reject:hover { background: #f1f3f4; }

#dm-accept {
    background: var(--dm-bc, #f3a000);
    color: #1f1f1f;
}
#dm-accept:hover { filter: brightness(0.94); }

@media (max-width: 600px) {
    .dm-box { padding: 22px; }
    .dm-actions { justify-content: stretch; }
    .dm-actions button { flex: 1 1 auto; }
}
