.p2z-cookie-banner[hidden], .p2z-cookie-error[hidden] { display: none !important; }
.p2z-cookie-banner {
    position: fixed;
    z-index: 1100;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(900px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: 0 auto;
    padding: 20px 24px;
    overflow: auto;
    background: #101d32;
    border: 1px solid #3a4c68;
    border-radius: 13px;
    box-shadow: 0 18px 55px #0009;
}
.p2z-cookie-banner-copy { min-width: 0; }
.p2z-cookie-eyebrow { color: #90b8e4; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.p2z-cookie-banner h2, .p2z-cookie-dialog h2 { margin: 7px 0 8px; color: #f3f6fc; font-size: 19px; }
.p2z-cookie-banner p, .p2z-cookie-dialog p { margin: 0; color: #a7b9d1; font-size: 13px; line-height: 1.6; }
.p2z-cookie-banner a, .p2z-cookie-dialog a { color: #79bef5; text-decoration: underline; text-underline-offset: 3px; }
.p2z-cookie-actions { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 8px; max-width: 320px; }
.p2z-cookie-actions button, .p2z-cookie-dialog-footer button {
    flex: 1 1 95px;
    min-height: 40px;
    padding: 9px 11px;
    color: #f3f6fc;
    background: #244674;
    border: 1px solid #4779ac;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.p2z-cookie-actions button:hover, .p2z-cookie-dialog-footer button:hover { color: #fff; background: #346296; }
.p2z-cookie-actions button:focus-visible, .p2z-cookie-dialog button:focus-visible,
.p2z-cookie-dialog input:focus-visible, [data-cookie-open]:focus-visible { outline: 2px solid #70bcff; outline-offset: 3px; }
.p2z-cookie-dialog {
    width: min(650px, calc(100% - 32px));
    max-width: 650px;
    max-height: min(85vh, 850px);
    padding: 22px 28px;
    overflow: auto;
    color: #f3f6fc;
    background: #101d32;
    border: 1px solid #3a4c68;
    border-radius: 13px;
}
.p2z-cookie-dialog::backdrop { background: #020711bc; backdrop-filter: blur(4px); }
.p2z-cookie-dialog .modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.p2z-cookie-close { flex-shrink: 0; color: #d3e0ee; font-size: 26px; line-height: 1; }
.p2z-cookie-dialog-intro { margin: 6px 0 18px !important; }
.p2z-cookie-category { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid #2a3a53; cursor: pointer; }
.p2z-cookie-category strong { display: block; margin-bottom: 4px; font-size: 13px; }
.p2z-cookie-category input { flex-shrink: 0; width: 19px; height: 19px; accent-color: #459fea; cursor: pointer; }
.p2z-cookie-required { flex-shrink: 0; color: #84c4f5; font-size: 12px; }
.p2z-cookie-details { padding: 14px 0; border-top: 1px solid #2a3a53; }
.p2z-cookie-details summary { color: #b9d5ed; font-size: 13px; font-weight: 600; cursor: pointer; }
.p2z-cookie-table-scroll { overflow-x: auto; margin: 14px 0; }
.p2z-cookie-details table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 12px; text-align: left; }
.p2z-cookie-details th, .p2z-cookie-details td { padding: 8px; border: 1px solid #2a3a53; vertical-align: top; }
.p2z-cookie-details th { color: #d5e6f6; }
.p2z-cookie-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #2a3a53; padding-top: 17px; }
.p2z-cookie-dialog-footer a { font-size: 12px; }
.p2z-cookie-dialog-footer button { flex: 0 0 auto; padding-inline: 18px; }
.p2z-cookie-error { margin-top: 12px !important; color: #ffb5b5 !important; }
.login-footer [data-cookie-open] { padding: 0; color: #849bb6; font-size: inherit; }
.policy-links [data-cookie-open] { color: #849bb6; font-size: 12px; padding: 0; }
@media (max-width: 720px) {
    .p2z-cookie-banner { display: block; padding: 18px; }
    .p2z-cookie-actions { max-width: none; margin-top: 16px; }
    .p2z-cookie-dialog { padding: 18px; }
}
