/* SCB Cookie Consent UI */
.scb-cc-banner, .scb-cc-modal, .scb-cc-manage-link{
  font-size: var(--scb-cc-font-size);
  font-family: inherit;
  color: var(--scb-cc-text);
}

.scb-cc-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  z-index: 999999;
  background: var(--scb-cc-bg);
  border: var(--scb-cc-border);
  border-radius: var(--scb-cc-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.scb-cc-banner-inner{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding: 14px;
  flex-wrap: wrap;
}

.scb-cc-banner-text{
  flex:1 1 420px;
  min-width: 260px;
}
.scb-cc-message{ line-height: 1.35; }

.scb-cc-links{
  margin-top: 6px;
  opacity: 0.9;
  font-size: 0.95em;
}
.scb-cc-links-modal{ margin-top: 14px; }

.scb-cc-link{
  color: var(--scb-cc-text);
  text-decoration: underline;
}

.scb-cc-sep{ margin: 0 6px; opacity: 0.8; }

.scb-cc-banner-actions{
  display:flex;
  gap:10px;
  flex: 0 0 auto;
}

/* Buttons */
.scb-cc-btn{
  border: var(--scb-cc-border);
  border-radius: calc(var(--scb-cc-radius) - 4px);
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  transition: transform 0.05s ease, opacity 0.2s ease;
  background: transparent;
}
.scb-cc-btn:active{ transform: translateY(1px); }
.scb-cc-btn-primary{
  background: var(--scb-cc-btn1-bg);
  color: var(--scb-cc-btn1-text);
}
.scb-cc-btn-secondary{
  background: var(--scb-cc-btn2-bg);
  color: var(--scb-cc-btn2-text);
}

/* Manage link floating bottom-left */
.scb-cc-manage-link{
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999998;
  padding: 8px 12px;
  border-radius: 999px;
  border: var(--scb-cc-border);
  background: var(--scb-cc-bg);
  cursor: pointer;
  opacity: 0.9;
}
.scb-cc-manage-link:hover{ opacity: 1; }

/* Modal */
.scb-cc-overlay{
  position: fixed;
  inset: 0;
  background: var(--scb-cc-overlay);
  z-index: 9999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.scb-cc-overlay.is-open{ display: flex; }

.scb-cc-modal{
  width: min(720px, 100%);
  background: var(--scb-cc-bg);
  border: var(--scb-cc-border);
  border-radius: var(--scb-cc-radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}

.scb-cc-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  border-bottom: var(--scb-cc-border);
}

.scb-cc-modal-title{
  font-weight: 700;
  font-size: 1.1em;
}

.scb-cc-x{
  border: none;
  background: transparent;
  color: var(--scb-cc-text);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

.scb-cc-modal-body{
  padding: 14px;
}

.scb-cc-row{
  display:flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.scb-cc-row:last-child{ border-bottom: none; }

.scb-cc-col{ flex: 1; }
.scb-cc-col-toggle{
  flex: 0 0 86px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.scb-cc-cat-title{ font-weight: 700; margin-bottom: 4px; }
.scb-cc-cat-desc{ opacity: 0.9; line-height: 1.35; }

.scb-cc-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--scb-cc-toggle-on);
  color: #0b0b0b;
  font-weight: 700;
  font-size: 0.85em;
}

.scb-cc-modal-footer{
  padding: 14px;
  border-top: var(--scb-cc-border);
  display:flex;
  gap: 10px;
  justify-content:flex-end;
  flex-wrap: wrap;
}

/* Toggle switch */
.scb-cc-switch{
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}
.scb-cc-switch input{ display:none; }
.scb-cc-slider{
  position:absolute; cursor:pointer;
  inset:0;
  background: var(--scb-cc-toggle-off);
  transition: .2s;
  border-radius: 999px;
}
.scb-cc-slider:before{
  content:"";
  position:absolute;
  height: 22px; width: 22px;
  left: 4px; top: 4px;
  background:white;
  transition:.2s;
  border-radius: 999px;
}
.scb-cc-switch input:checked + .scb-cc-slider{
  background: var(--scb-cc-toggle-on);
}
.scb-cc-switch input:checked + .scb-cc-slider:before{
  transform: translateX(24px);
}

/* Iframe placeholder */
.scb-cc-iframe-placeholder{
  border: var(--scb-cc-border);
  border-radius: var(--scb-cc-radius);
  padding: 14px;
  background: rgba(0,0,0,0.08);
  color: inherit;
}
.scb-cc-iframe-placeholder p{
  margin: 0 0 10px 0;
  line-height: 1.35;
  opacity: 0.95;
}
.scb-cc-iframe-placeholder .scb-cc-btn{
  padding: 10px 12px;
}

@media (max-width: 520px){
  .scb-cc-banner-actions{ width: 100%; }
  .scb-cc-btn{ flex: 1; }
  .scb-cc-col-toggle{ flex: 0 0 74px; }
}


/* Buttons (high specificity override for Elementor/Hello global styles) */
#scb-cc-banner .scb-cc-btn,
#scb-cc-overlay .scb-cc-btn,
.scb-cc-iframe-placeholder .scb-cc-btn,
.scb-cc-manage-link{
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  outline: none;
}

/* Ensure our buttons keep their intended look */
#scb-cc-banner button.scb-cc-btn,
#scb-cc-overlay button.scb-cc-btn,
.scb-cc-iframe-placeholder button.scb-cc-btn{
  border: var(--scb-cc-border) !important;
  border-radius: calc(var(--scb-cc-radius) - 4px) !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  cursor: pointer !important;
  font: inherit !important;
  line-height: 1 !important;
  transition: transform 0.05s ease, opacity 0.2s ease !important;
}

#scb-cc-banner button.scb-cc-btn-primary,
#scb-cc-overlay button.scb-cc-btn-primary,
.scb-cc-iframe-placeholder button.scb-cc-btn-primary{
  background: var(--scb-cc-btn1-bg) !important;
  color: var(--scb-cc-btn1-text) !important;
}

#scb-cc-banner button.scb-cc-btn-secondary,
#scb-cc-overlay button.scb-cc-btn-secondary{
  background: var(--scb-cc-btn2-bg) !important;
  color: var(--scb-cc-btn2-text) !important;
}


/* Hide the floating manage link while modal is open (prevents distraction under overlay) */
html.scb-cc-modal-open .scb-cc-manage-link{
  display: none !important;
}

/* No close button in header (safeguard) */
.scb-cc-x{ display:none !important; }
