/* Consent Manager — banner + preferences modal styles */

.dpdp-banner {
    position: fixed; left: 16px; right: 16px; bottom: 16px;
    z-index: 9999; max-width: 760px; margin: 0 auto;
    background: #fff; color: #1a2b3c;
    border: 1px solid #e3ecf3; border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 40, 81, 0.22);
    padding: 18px 20px;
    opacity: 0; transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease;
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.dpdp-banner.dpdp-show { opacity: 1; transform: translateY(0); }
.dpdp-banner-inner { display: flex; flex-direction: column; gap: 14px; }
.dpdp-banner-body h3 { font-size: 16px; font-weight: 700; color: #003a70; margin: 0 0 6px; }
.dpdp-banner-body p { font-size: 13.5px; line-height: 1.55; color: #5a6b7a; margin: 0; }
.dpdp-banner-body a { color: #0066b2; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.dpdp-banner-actions {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
}
@media (min-width: 720px) {
    .dpdp-banner-inner { flex-direction: row; align-items: center; }
    .dpdp-banner-body { flex: 1; }
    .dpdp-banner-actions { justify-content: flex-end; flex-shrink: 0; }
}
@media (max-width: 600px) {
    .dpdp-banner { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
    .dpdp-banner-body p { font-size: 13px; }
    .dpdp-banner-actions { gap: 6px; }
    .dpdp-banner-actions .dpdp-btn { flex: 1; min-width: 0; padding: 10px 12px; font-size: 13px; }
}

.dpdp-btn {
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    padding: 9px 16px; border-radius: 30px; cursor: pointer;
    border: none; transition: all .18s ease; white-space: nowrap;
}
.dpdp-btn-primary {
    background: linear-gradient(135deg, #65D0CD 0%, #2B918F 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(101, 208, 205, .35);
}
.dpdp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(101, 208, 205, .5); }
.dpdp-btn-secondary {
    background: #f3f7fa; color: #003a70; border: 1px solid #d9e6ee;
}
.dpdp-btn-secondary:hover { background: #e7eef5; }
.dpdp-btn-text {
    background: transparent; color: #0066b2; text-decoration: underline;
    text-underline-offset: 3px;
}
.dpdp-btn-text:hover { color: #003a70; }

/* ---- Preferences modal ---- */
.dpdp-modal {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(0, 26, 53, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; transition: opacity .2s ease;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
}
.dpdp-modal.dpdp-show { opacity: 1; }
.dpdp-modal-card {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 540px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
    transform: translateY(10px) scale(.98); transition: transform .22s ease;
}
.dpdp-modal.dpdp-show .dpdp-modal-card { transform: translateY(0) scale(1); }
.dpdp-modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 22px 12px; border-bottom: 1px solid #e3ecf3;
}
.dpdp-modal-head h3 {
    margin: 0; font-size: 18px; font-weight: 700; color: #003a70;
}
.dpdp-modal-close {
    background: none; border: none; cursor: pointer;
    font-size: 28px; line-height: 1; color: #5a6b7a; padding: 0 6px;
    transition: color .15s;
}
.dpdp-modal-close:hover { color: #003a70; }
.dpdp-modal-body { padding: 18px 22px; }
.dpdp-modal-body > p {
    color: #5a6b7a; font-size: 14px; line-height: 1.55; margin: 0 0 18px;
}
.dpdp-cat {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 14px 0; border-bottom: 1px solid #f0f4f7;
    cursor: pointer;
}
.dpdp-cat:last-child { border-bottom: none; }
.dpdp-cat input[type="checkbox"] {
    margin: 4px 0 0; width: 18px; height: 18px;
    accent-color: #2B918F; cursor: pointer; flex-shrink: 0;
}
.dpdp-cat input[type="checkbox"]:disabled { cursor: not-allowed; opacity: .8; }
.dpdp-cat-text { flex: 1; min-width: 0; }
.dpdp-cat-title {
    font-size: 14.5px; font-weight: 600; color: #003a70; margin-bottom: 4px;
}
.dpdp-cat-desc {
    font-size: 13px; color: #5a6b7a; line-height: 1.5;
}
.dpdp-modal-foot {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end;
    padding: 16px 22px; border-top: 1px solid #e3ecf3;
}
@media (max-width: 500px) {
    .dpdp-modal-foot { flex-direction: column-reverse; }
    .dpdp-modal-foot .dpdp-btn { width: 100%; }
}
