#ih-consent-banner{position:fixed;left:0;right:0;bottom:0;z-index:9999;background:#0B2145;color:#fff;
box-shadow:0 -6px 24px rgba(11,33,69,.25);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}
#ih-consent-banner .ih-inner{max-width:1080px;margin:0 auto;padding:18px 24px;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
#ih-consent-banner p{margin:0;font-size:.92rem;color:#dce7fa;line-height:1.5;flex:1;min-width:220px}
#ih-consent-banner a{color:#fff;text-decoration:underline}
#ih-consent-banner .ih-actions{display:flex;gap:10px;flex-wrap:wrap}

#ih-consent-modal{position:fixed;inset:0;z-index:10000;background:rgba(11,33,69,.55);display:flex;align-items:center;justify-content:center;padding:20px;
font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif}
#ih-consent-modal .ih-card{background:#fff;color:#1C222B;border-radius:12px;max-width:480px;width:100%;padding:28px 26px;box-shadow:0 20px 60px rgba(11,33,69,.35)}
#ih-consent-modal h2{font-size:1.2rem;margin-bottom:6px;color:#103065}
#ih-consent-modal p{font-size:.9rem;color:#5A6478;margin-bottom:16px;line-height:1.5}
#ih-consent-modal .ih-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:12px 0;border-top:1px solid #D8E0EC}
#ih-consent-modal .ih-row:first-of-type{border-top:none}
#ih-consent-modal .ih-row strong{display:block;font-size:.94rem;color:#1C222B}
#ih-consent-modal .ih-row span{display:block;font-size:.82rem;color:#5A6478;margin-top:2px}
#ih-consent-modal .ih-row input[type="checkbox"]{width:20px;height:20px;flex-shrink:0;margin-top:2px;accent-color:#0B4196;cursor:pointer}
#ih-consent-modal .ih-row input[type="checkbox"]:disabled{cursor:default;opacity:.6}
#ih-consent-modal .ih-modal-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}

/* Shared button base - must apply inside BOTH the banner and the modal.
   Previously scoped only to "#ih-consent-banner button", so every button
   inside the modal (Reject all / Save choices) fell back to unstyled
   browser defaults: no padding, no radius, no font-weight. That's the
   "badly styled Save choices button" bug. */
#ih-consent-banner button,
#ih-consent-modal button{
  cursor:pointer;border-radius:6px;padding:10px 16px;font-weight:700;
  font-size:.88rem;border:1.5px solid transparent;font-family:inherit;
}
#ih-consent-modal .ih-modal-actions button{flex:1;min-width:120px}

.ih-btn-accept{background:#0B4196;color:#fff}
.ih-btn-prefs{background:transparent;color:#dce7fa;border-color:transparent;text-decoration:underline}

/* .ih-btn-reject is used in both places but needs opposite colours: white
   text reads fine on the banner's dark navy background, but was reused
   as-is inside the modal's white card, where white-on-white made the
   button read as an empty box with no visible label. Scoped separately. */
#ih-consent-banner .ih-btn-reject{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
#ih-consent-modal .ih-btn-reject{background:transparent;color:#1C222B;border-color:#D8E0EC}
#ih-consent-modal .ih-btn-reject:hover{background:#F2F5FA}

#ih-cookie-reopen{position:fixed;left:16px;bottom:16px;z-index:9998;background:#fff;color:#0B4196;border:1px solid #D8E0EC;border-radius:20px;
font-size:.78rem;font-weight:700;padding:8px 14px;cursor:pointer;box-shadow:0 4px 14px rgba(16,48,101,.14)}

@media (max-width:600px){
  #ih-consent-banner .ih-inner{flex-direction:column;align-items:stretch}
  #ih-consent-banner .ih-actions{justify-content:stretch}
  #ih-consent-banner .ih-actions button{flex:1}
}
