/*///////////// COOKIES MODAL START /////////////*/

#cookies-modal-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#cookies-modal {
  background: #ffffff; /* Jasne tło */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Subtelny cień */
  border-radius: 8px; /* Zaokrąglone rogi */
  padding: 20px;
  max-width: 900px;
  width: calc(100% - 20px);
  text-align: center;
}

#cookies-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333333; /* Ciemny tekst */
  margin-bottom: 10px;
}

.cookies-popup-content {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555; /* Przyjemny odcień szarości */
  margin-bottom: 20px;
}

.cookies-popup-content a {
  color: #0046d5; /* Niebieski link */
  text-decoration: underline;
}

div.cookies-popup-content a:hover {
  text-decoration: none;
}

#cookies-modal-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px; /* Odstęp między przyciskami */
}

#cookies-modal button {
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 4px; /* Subtelne zaokrąglenie */
  border: none;
  cursor: pointer;
  min-width: 200px; /* Stała szerokość */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Delikatny cień */
}

#accept-cookies-button, #necessary-cookies-button  {
  background: #1d1858; /* Niebieski */
  color: #ffffff; /* Biały tekst */
  border: 1px solid #0046d5; /* Obramowanie w kolorze tła */
}

#accept-cookies-button:hover, #necessary-cookies-button:hover {
  background: #003bb0; /* Ciemniejszy niebieski */
  border-color: #003bb0; /* Obramowanie dostosowane do tła */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Zwiększony cień */
}



/* Ukrycie modala */
div#cookies-modal.cookies-d-none {
  display: none !important;
}

/*///////////// MEDIA QUERIES /////////////*/

@media (max-width: 767px) {
  div#cookies-modal {
    padding: 15px;
    border-radius: 6px;
  }

  div#cookies-modal-buttons {
    flex-direction: column;
    gap: 10px; /* Mniejszy odstęp między przyciskami */
  }

  div#cookies-modal button {
    width: 100%; /* Pełna szerokość przycisków */
    min-width: unset; /* Wyłączenie minimalnej szerokości */
  }
}
