#stcm-wrapper {
  --fontFamily: var(--font-body), "Source Sans 3", Arial, sans-serif;
  --primaryColor: #d84a36;
  --backgroundColor: #fffdf8;
  --textColor: #33342d;
  --boxShadow: 0 20px 70px rgba(51, 52, 45, 0.2);
  --backdropBackgroundColor: rgba(51, 52, 45, 0.58);
  --backdropBackgroundBlur: 3px;
  --iconColor: #d84a36;
  --iconBackgroundColor: #ffffff;
}

#stcm-banner,
#stcm-modal {
  border: 1px solid #e1ddcd;
  border-radius: 8px;
  box-shadow: var(--boxShadow);
}

#stcm-banner {
  width: 600px;
  padding: clamp(18px, 2.2vw, 24px);
}

#stcm-banner p,
#stcm-modal p {
  color: #4f5049;
}

#stcm-banner p {
  font-size: 15px;
  line-height: 1.5;
}

#stcm-modal p {
  font-size: 16px;
  line-height: 1.6;
}

#stcm-banner .stcm-button,
#stcm-modal .stcm-button {
  min-height: 46px;
  border: 2px solid #33342d;
  border-radius: 6px;
  background: #fffdf8;
  color: #33342d;
  font-family: var(--font-body), "Source Sans 3", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

#stcm-banner .stcm-button {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

#stcm-banner .stcm-actions {
  margin-top: 18px;
}

#stcm-wrapper .stcm-button-primary:hover,
#stcm-wrapper .stcm-button-secondary:hover {
  border-color: #33342d;
  background: #33342d;
  color: #ffffff;
}

#stcm-banner .stcm-preferences-button {
  color: #b43727;
  font-family: var(--font-body), "Source Sans 3", Arial, sans-serif;
  font-weight: 800;
}

#stcm-banner .stcm-preferences-button span:hover,
#stcm-wrapper a:hover {
  color: #33342d;
}

#stcm-modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(22px, 3vw, 34px);
}

#stcm-modal h1 {
  color: #33342d;
  font-family: var(--font-heading), Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
}

#stcm-modal legend {
  color: #33342d;
  font-size: 17px;
}

#stcm-modal .stcm-toggle-off,
#stcm-modal .stcm-toggle-on {
  font-size: 0;
}

#stcm-modal .stcm-toggle-off::after,
#stcm-modal .stcm-toggle-on::after {
  font-size: 12px;
  font-weight: 800;
}

#stcm-modal .stcm-toggle-off::after {
  content: "Nie";
}

#stcm-modal .stcm-toggle-on::after {
  content: "Tak";
}

#stcm-wrapper .stcm-logo,
#stcm-wrapper .stcm-credit-link {
  display: none !important;
}

#stcm-icon {
  display: none !important;
  width: 52px;
  height: 52px;
  border: 2px solid #ffffff;
  box-shadow: 0 8px 26px rgba(51, 52, 45, 0.24);
}

@media (max-width: 599px) {
  #stcm-banner .stcm-actions-row,
  #stcm-modal footer {
    align-items: stretch;
    flex-direction: column;
  }

  #stcm-banner .stcm-button,
  #stcm-modal .stcm-button {
    width: 100%;
  }

  #stcm-banner .stcm-preferences-button {
    justify-content: center;
  }
}
