/* Modal do cookies */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border: none;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: black;
}

.cookie-modal-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h2 {
  margin: 0;
  color: black;
  font-size: 24px;
  font-weight: 600;
}

.close {
  color: black;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #666;
}

.cookie-modal-body {
  padding: 20px;
  color: black;
  line-height: 1.6;
}

.cookie-modal-body h3 {
  color: black;
  margin-top: 20px;
  margin-bottom: 10px;
}

.cookie-modal-body ul {
  margin: 10px 0;
  padding-left: 20px;
}

.cookie-modal-body li {
  margin-bottom: 8px;
  color: black;
}

.cookie-modal-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-accept {
  background-color: #007bff;
  color: white;
}

.btn-accept:hover {
  background-color: #0056b3;
}

.btn-necessary {
  background-color: #6c757d;
  color: white;
}

.btn-necessary:hover {
  background-color: #545b62;
}

.btn-settings {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.btn-settings:hover {
  background-color: #f8f9fa;
}

/* Responsywność */
@media (max-width: 768px) {
  .cookie-modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
