.scl-consent-open {
  overflow: hidden;
}

.scl-consent[hidden] {
  display: none !important;
}

.scl-consent {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.scl-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.scl-consent__dialog {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  color: #1f2937;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
  padding: 24px;
}

.scl-consent__dialog h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.scl-consent__dialog p {
  margin: 0 0 16px;
}

.scl-consent__categories {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.scl-consent__category {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
}

.scl-consent__category input {
  margin-top: 4px;
}

.scl-consent__category small {
  display: block;
  margin-top: 4px;
  color: #4b5563;
  line-height: 1.35;
}

.scl-consent__links {
  margin: 12px 0;
  font-size: 14px;
}

.scl-consent__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.scl-button {
  appearance: none;
  border: 1px solid #1f2937;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
}

.scl-button--primary {
  background: #1f2937;
  color: #fff;
}

.scl-button--secondary {
  background: #fff;
  color: #1f2937;
}

.scl-blocked-content {
  border: 1px dashed #9ca3af;
  border-radius: 12px;
  padding: 24px;
  background: #f9fafb;
  color: #1f2937;
  text-align: center;
}

.scl-blocked-content p {
  margin: 0 0 12px;
}

.scl-cookie-policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}

.scl-cookie-policy th,
.scl-cookie-policy td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #d1d5db;
  padding: 10px;
}

.scl-cookie-policy th {
  width: 180px;
  background: #f9fafb;
}

@media (max-width: 640px) {
  .scl-consent__dialog {
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }

  .scl-consent__actions {
    display: grid;
  }

  .scl-button {
    width: 100%;
  }
}

.scl-footer-settings{position:fixed;bottom:8px;right:8px;z-index:9998}.scl-footer-settings__button{cursor:pointer}

/* Cookie settings teaser tab */
[data-scl-open-settings]{background:#732C3E!important;}
.scl-settings-teaser,[data-scl-open-settings]{transition:transform .25s ease;}


/* Cookie settings teaser tab */
.scl-footer-link{
    position:fixed;
    left:50%;
    bottom:0;
    transform:translateX(-50%);
    z-index:99999;
}
.scl-footer-link button,
button[data-scl-open-settings]{
    background:#732C3E !important;
    color:#2563eb !important;
    border-radius:10px 10px 0 0;
    transform:translateY(calc(100% - 8px));
    transition:transform .25s ease;
}
.scl-footer-link:hover button,
.scl-footer-link:focus-within button,
button[data-scl-open-settings]:hover,
button[data-scl-open-settings]:focus{
    transform:translateY(0);
}


/* v0.7.0 UI cleanup */
.scl-button,
.scl-footer-settings__button,
button[data-scl-open-settings]{
  background:#55B0C2 !important;
  color:#732C3E !important;
  border:none !important;
}

.scl-footer-link{
  position:fixed;
  left:50%;
  bottom:-42px;
  transform:translateX(-50%);
  transition:bottom .25s ease;
  z-index:99999;
}

.scl-footer-link:hover,
.scl-footer-link:focus-within{
  bottom:0;
}

.scl-footer-link button{
  transform:none !important;
  border-radius:10px 10px 0 0;
}

/* v0.7.2 policy button styling */
.scl-consent-settings,
.scl-consent-settings button,
button[data-scl-open-settings]{
    background:#55B0C2 !important;
    color:#732C3E !important;
    border:1px solid #732C3E !important;
    border-radius:8px !important;
}

/* disable jump effect on content buttons */
.scl-consent-settings button,
button[data-scl-open-settings]{
    transform:none !important;
    transition:border-color .2s ease, opacity .2s ease !important;
}


/* v0.7.3 policy button */
.scl-consent-settings button{
 background:#55B0C2!important;
 color:#732C3E!important;
 border:1px solid transparent!important;
 border-radius:8px!important;
 transform:none!important;
}
.scl-consent-settings button:hover{
 border-color:#732C3E!important;
}

/* footer button: no outline, keep original behavior */
.scl-footer-link button:hover{
 border-color:transparent!important;
}
