.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1562b1;
  color: white;
  text-align: center;
  padding: 15px 20px;
  z-index: 9999;
  box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  font-size: 14px;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-link {
  color: #ffaa01;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
}

.cookie-link:hover {
  color: white;
}

.cookie-buttons {
  margin-top: 10px;
}

.cookie-buttons button {
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  margin: 0 5px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Farby tlačidiel */
#accept-cookies {
  background-color: #ffaa01;
  color: #001d2b;
}
#accept-cookies:hover {
  background-color: white;
  color: #001d2b;
}

#decline-cookies {
  background-color: #e53935;
  color: white;
}
#decline-cookies:hover {
  background-color: #ff6f60;
  color: #001d2b;
}

#settings-cookies {
  background-color: #4caf50;
  color: white;
}
#settings-cookies:hover {
  background-color: #6fdc6f;
  color: #001d2b;
}

/* MODÁLNE OKNO */
.cookie-settings-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ⚡ Zmena animácie modálu na zoom in */
.cookie-settings-content {
  background-color: white;
  color: #001d2b;
  padding: 20px 25px;
  border-radius: 10px;
  width: 320px;
  text-align: left;
  animation: zoomIn 0.4s ease forwards;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cookie-settings-content h3 {
  margin-top: 0;
  text-align: center;
}

.cookie-settings-content label {
  display: block;
  margin: 10px 0;
}

/* Vycentrované tlačidlá */
.settings-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

#save-settings {
  background-color: #ffaa01;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  margin-right: 10px;
}
#close-settings {
  background-color: #e53935;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  color: white;
}

.settings-buttons button {
  transition: transform 0.2s ease, background-color 0.3s ease;
}

.settings-buttons button:hover {
  transform: scale(1.05);
}
