/* cookie-consent.css */
.cookie-consent {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1em;
  font-size: 14px;
  z-index: 9999;
  flex-wrap: wrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-consent.is-show {
  display: flex;
  opacity: 1;
}

.cookie-text {
  flex: 1 1 60%;
  min-width: 250px;
}

.cookie-flex {
  flex: 1 1 30%;
  display: flex;
  justify-content: flex-end;
  gap: 1em;
  min-width: 150px;
}

.cookie-agree,
.cookie-reject {
  background: #007bff;
  color: white;
  padding: 0.5em 1.2em;
  cursor: pointer;
  border-radius: 4px;
  user-select: none;
  text-align: center;
}

.cookie-agree:hover,
.cookie-reject:hover {
  background: #0056b3;
}

@media screen and (max-width: 600px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
  }

  .cookie-flex {
    justify-content: center;
    margin-top: 0.5em;
  }
}
