/* Container */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  border-top: 2px solid #16b676;
  box-shadow: 0 -4px 20px rgba(255,255,255,0.4);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  z-index: 9999;
  transition: bottom 1.2s ease-in-out;
}

/* vysunutá lišta */
.cookie-banner.show {
  bottom: 0;
}

/* Text */
.cookie-banner p {
  margin: 0 0 12px;
  color: #fff;
}

/* Accept and only essential buttons */
.cookie-accept {
  background: #0066cc;  
  color: #fff;
  border: 1px solid #0066cc;
  padding: 6px 15px;
  margin: 2px;  
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px; 
  cursor: pointer;
}

.cookie-accept:hover {
  background: #0080ff;  
  opacity: 0.9;
  transition: 0.2s ease;
}

.cookie-essential {
  background: transparent;
  color: #a6a6a6;
  border: 1px solid #b3b3b3;
  padding: 6px 15px;
  margin: 2px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-essential:hover {
  border-color: #999999;
  color: #808080;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal.hidden {
  display: none;
}

.cookie-modal-content {
  background: #f2f2f2;
  color: #111;
  width: min(600px, 92%);
  max-height: 85vh;
  overflow: auto;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #404040;
}

#cookie-save {
 // background: linear-gradient(135deg, #0d7be6, #0066cc);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
//  box-shadow: 0 6px 14px rgba(0, 102, 204, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#cookie-save:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.24);
}

#cookie-save:focus-visible {
  outline: 2px solid #1f8fff;
  outline-offset: 2px;
}

#consent-neccessary:disabled + .sliderVypinac {
  background-color: #9aa0a6;
  cursor: not-allowed;
}

#consent-neccessary:disabled + .sliderVypinac:before {
  background-color: #e5e7eb;
}
