/* Cookie Notice Styles */
.cookie-notice {
  position: fixed;
  bottom: calc(-100px - env(safe-area-inset-bottom));
  left: 0;
  width: 100%;
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
  border-top: 1px solid #e9ecef;
  font-family: "Montserrat", sans-serif;
  /* Safari compatibility */
  -webkit-transition: bottom 0.5s ease;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.cookie-notice.active {
  bottom: env(safe-area-inset-bottom);
}

.cookie-notice p {
  margin: 0;
  padding-right: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #212529;
}

.cookie-notice-buttons {
  display: flex;
  gap: 10px;
}

.cookie-notice-buttons button {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s;
}

.accept-cookies {
  background-color: #ffd039;
  color: #212529;
}

.accept-cookies:hover {
  background-color: #efc12d;
}

.reject-cookies {
  background-color: #e9ecef;
  color: #495057;
}

.reject-cookies:hover {
  background-color: #dde2e6;
}

.cookie-notice a {
  color: #ffd039;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-notice a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .cookie-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-notice p {
    padding-right: 0;
    margin-bottom: 15px;
    font-size: 13px;
  }

  .cookie-notice-buttons {
    width: 100%;
    justify-content: space-between;
  }
}
