/* Basic styles for DPB banner */
.dpb-consent-root {
    /* JS renders content into this root */
}

.dpb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: none;
    z-index: 99998;
}

.dpb-banner, .dpb-modal {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    max-width: 960px;
    width: calc(100% - 20px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    z-index: 99999;
}

.dpb-banner {
    bottom: 15px;
}

.dpb-modal {
    top: 10vh;
    max-height: 80vh;
    overflow: auto;
}

.dpb-box {
    padding: 16px 18px;
}

.dpb-light {
    background: #fff;
    color: #222;
}

.dpb-dark {
    background: #111;
    color: #f0f0f0;
}

.dpb-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.dpb-btn {
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    font-weight: 600;
}

.dpb-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.dpb-btn-primary {
    border-color: transparent;
}

.dpb-light .dpb-btn-primary {
    background: #111827;
    color: #fff;
}

.dpb-dark .dpb-btn-primary {
    background: #f3f4f6;
    color: #111;
}

.dpb-switches {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px 16px;
    margin-top: 12px;
}

.dpb-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dpb-switch input[type="checkbox"] {
    width: 1.1em;
    height: 1.1em;
}

.dpb-links {
    margin-top: 10px;
    font-size: 0.9em;
}

.dpb-links a {
    color: inherit;
    text-decoration: underline;
}

.dpb-hidden {
    display: none !important;
}

.dpb-manage-consent {
    display: inline-block;
    font-size: 0.9em;
    opacity: .85;
    margin: 8px 0;
}
