#consent-overlay,
#consent-modal,
#consent-content {
  display: none; /* Výchozí nastavení - skryté */
}

#consent-content h* {
  color: black;
  font-size: 1rem;
}
#consent-content h4 {
  font-size: 0.9rem;
}
#consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1000;
}

#consent-modal {
  background: #fff;
  position: fixed;
  top: 5%;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 500px;
  padding: 2rem 1rem;
  box-shadow: 0px 4px 9px 5px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  z-index: 1001;
  display: none;
}

#consent-content {
  background: #fff;
  text-align: center;
  position: fixed;
  top: 45%;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.4rem 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  z-index: 1002;
}

#consent-content p {
  font-size: 0.8rem;
  color: black;
  margin-bottom: 0.5rem;
}

#consent-modal p {
  margin-bottom: 1.5rem;
  font-size: 0.7rem;
}

#consent-content span {
  display: block;
}

@media (max-width: 767px) {
  #consent-overlay {
    background: rgba(255, 255, 255, 0.7);
  }

  #consent-modal {
    top: 1rem;
  }

  #consent-content {
    top: 30%;
    padding: 2rem 1rem 1.4rem 1rem;
  }

  #consent-content p {
    font-size: 0.7rem;
  }

  #consent-modal p {
    font-size: 0.6rem;
    line-height: 0.9rem;
  }

  #consent-content span {
    display: block;
  }
}

#consent-content button {
  margin: 5px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 0.7rem;
  letter-spacing: 0.1rem;
  border-radius: 0;
  box-shadow: none;
  border: solid 1px #000;
}

#consent-content button:hover {
  background: #fff;
}

#consent-content button.deny-button {
  background: none;
  border: none;
  text-decoration: underline;
}

#consent-content p#consent-message,
#consent-modal p#consent-message {
  margin-top: 0.5rem;
  color: green;
}
