/* ============================
   CookieScan — Phase 1 (Popup)
   NAMESPACE: .cookiescan_*
   Pure CSS, no JS
   ============================ */

.cookiescan_scope * { box-sizing: border-box; }
.cookiescan_page {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: #9aa0a6; /* grey page like mock */
  line-height: 1.55;
  color: #111;
}

/* Backdrop */
.cookiescan_backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
}

/* Modal card */
.cookiescan_modal{
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: min(92vw, 560px);
  background: #fff;
  border: 1px solid #1f1f1f;            /* thin dark stroke like shot */
  border-radius: 4px;                    /* square-to-small rounded (Phase 1) */
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  padding: 28px 28px 22px;
}

/* Heading */
.cookiescan_heading{
  margin: 0 0 14px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Body text */
.cookiescan_para{
  margin: 0 0 14px 0;
  font-size: 14px;
  color: #333;
}
.cookiescan_link{
  color: #111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Actions */
.cookiescan_actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

/* Buttons — exact three styles */
.cookiescan_btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  border-radius: 2px;
  transition: filter .15s ease-in-out;
}

/* 1) “Adjust” — light grey outline */
.cookiescan_btn--outline-light{
  background: #fff;
  color: #3a3a3a;
  border: 1px solid #d3d3d3;
}

/* 2) “Reject all” — black outline */
.cookiescan_btn--outline-dark{
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

/* 3) “Accept all” — solid green */
.cookiescan_btn--solid{
  background: #79a85f;        /* green close to mock */
  color: #fff;
  border: 1px solid #79a85f;
  font-weight: 600;
}

.cookiescan_btn:focus-visible{
  outline: 2px solid #0b78ff;
  outline-offset: 2px;
}
.cookiescan_btn:hover{ filter: brightness(0.98); }

/* Footer */
.cookiescan_modal__footer{
  margin-top: 14px;
  text-align: center;
}
.cookiescan_powered{
  font-size: 12px;
  color: #6b7280;
}
.cookiescan_powered .cookiescan_link{
  color: #111;
  font-weight: 600;
}
.cookiescan_modal_top_left {
    left: 0px;
    top: 0px;
    transform: translate(0%, 0%);
    right: auto;
}

/* Responsive tightening for very small screens */
@media (max-width: 380px){
  .cookiescan_modal{ padding: 22px 18px 18px; }
  .cookiescan_heading{ font-size: 18px; }
  .cookiescan_btn{ padding: 11px 12px; font-size: 14px; }
}
