/* css/cookie-box.css */

/* Modalny banner cookies */
#cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none; /* na start ukryty */
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#cookie-modal .modal-content {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
}

#cookie-modal .modal-content h2 {
  color: #c22028;
  margin-bottom: 20px;
}

#cookie-modal .modal-content p {
  margin-bottom: 25px;
  font-size: 16px;
  color: #333;
}

#cookie-modal .modal-content a {
  color: #c22028;
  text-decoration: none;
}

#cookie-modal .modal-content a:hover {
  text-decoration: underline;
}

#cookie-modal .modal-content button {
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  color: white;
  transition: 0.3s;
}

#cookie-modal .modal-content button#acceptCookies {
  background: #c22028;
}

#cookie-modal .modal-content button#rejectCookies {
  background: #999;
}

#cookie-modal .modal-content button:hover {
  opacity: 0.9;
}

/* Opcjonalna animacja fadeIn */
#cookie-modal {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
