#samig-cookie-box [hidden] { display: none !important; }
#samig-cookie-box, #samig-cookie-box * { box-sizing: border-box; }
#samig-cookie-footer { padding: .5rem 1rem; text-align: center; background: #fff; }
#samig-cookie-panel {
  position: fixed; z-index: 999999; right: 16px; bottom: 16px; width: 510px;
  max-width: calc(100% - 32px); max-height: calc(100% - 32px); overflow: auto;
  border: 1px solid #a4aeb6; border-radius: 10px; padding: 20px; margin: 0;
  background: #fff; color: #202a34; box-shadow: 0 3px 22px rgba(14,34,52,.17);
  font: 15px/1.45 Arial, sans-serif; text-align: left;
}
#samig-cookie-panel h2 { font: bold 21px/1.22 Arial,sans-serif; color: #142b40; padding: 0; margin: 0 0 .65em; }
#samig-cookie-panel p { font: inherit; margin: 0 0 .7em; padding: 0; }
#samig-cookie-panel a, #samig-cookie-footer button { color: #174e76; text-decoration: underline; }
#samig-cookie-options { border-top: 1px solid #ced6dd; padding-top: 10px; }
#samig-cookie-options label { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 .8em; color: #202a34; text-align: left; cursor:pointer; }
#samig-cookie-options input { appearance: auto; -webkit-appearance: checkbox; display: inline-block; position: static; opacity: 1; width: 18px; height: 18px; margin: 2px 2px 0 0; float: none; flex: 0 0 auto; }
#samig-cookie-options small { display: block; font: normal 14px/1.4 Arial,sans-serif; }
#samig-cookie-options .samig-cookie-note { font-size: 13px; }
.samig-cookie-actions { display: flex; flex-wrap: wrap; gap: 6px; }
#samig-cookie-panel button, #samig-cookie-footer button { font: 15px/1.25 Arial,sans-serif; cursor: pointer; text-transform: none; letter-spacing: normal; width:auto; height:auto; }
#samig-cookie-panel button { background: #f4f7f9; color: #16334a; border: 1px solid #8398a5; border-radius: 5px; padding: 9px 11px; margin: 0; box-shadow: none; }
#samig-cookie-panel button:hover { background: #e6edf2; }
#samig-cookie-footer button { background: transparent; border: 0; padding: 5px; box-shadow: none; }
#samig-cookie-box :focus-visible { outline: 3px solid #12658e; outline-offset: 2px; }
@media (max-width: 540px) {
  #samig-cookie-panel { right: 6px; bottom: 6px; max-width: calc(100% - 12px); max-height: calc(100% - 12px); padding: 14px; }
  #samig-cookie-panel button { min-height: 42px; }
}
