@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");

html {
  scroll-behavior: smooth;
}

/* Tooltipy */
.cw-tooltip {
  position: relative;
  display: inline-block;
  text-decoration: underline;
  font-weight: 600;
}
.cw-tooltip .tooltiptext {
  font-weight: normal;
  visibility: hidden;
  width: 160px;
  background-color: #000000;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 8px 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
  opacity: 0;
  transition: opacity 0.3s;
}
.cw-tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #000000 transparent transparent transparent;
}
.cw-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Animacja formularza */
.cw-animate {
  animation-name: flash;
  animation-duration: 1s;
  animation-iteration-count: 3;
}
@keyframes flash {
  0% { background-color: #43dcb8; }
  50% { background-color: #a1eedc; }
  100% { background-color: #43dcb8; }
}

/* Popupy walidacyjne / systemowe */
#success-popup, #error-popup {
  display: none;
}
.pristine-error {
  font-size: 0.9em;
  color: red;
  margin-top: -14px;
  margin-bottom: 10px;
}
.cw-acceptance-wrapper .pristine-error {
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
.has-danger label {
  color: red;
}