#hcp-consent-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.65);
z-index: 899999; display: none;
}
body.hcp-consent-open #hcp-consent-overlay { display: block; }
body.hcp-consent-open { overflow: hidden; }
#wpconsent-container::part(wpconsent-banner) {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(92vw, 560px);
max-width: 560px;
max-height: 90vh;
overflow-y: auto;
box-sizing: border-box;
flex-direction: column;
align-items: stretch;
text-align: center;
gap: 18px;
padding: 32px 28px;
border-radius: 10px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
#wpconsent-container::part(wpconsent-banner-footer) {
display: flex;
flex-direction: row;
width: 100%;
margin: 0;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}
#wpconsent-container::part(wpconsent-button-accept),
#wpconsent-container::part(wpconsent-button-cancel) {
flex: 1 1 140px;
height: auto;
min-height: 46px;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
line-height: 1.2;
padding: 12px 16px;
background: #ffcd2a;
color: #000;
border: 0;
font-weight: 600;
}
#wpconsent-container::part(wpconsent-button-preferences) {
order: 3;
flex: 1 1 100%;
background: transparent;
color: #fff;
border: 0;
text-decoration: underline;
}