/**
 * @file
 * Styles for the cookie consent banner.
 */

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 14px 16px;
  background: #fff;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.16);
  color: #222;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.cookie-consent__text {
  margin: 0;
}

.cookie-consent__link {
  color: #cb0c74;
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__btn {
  appearance: none;
  margin: 0;
  cursor: pointer;
}

.cookie-consent .cookie-consent__btn--decline {
  border: 1px solid #cb0c74;
  background: transparent;
  color: #cb0c74;
}

.cookie-consent .cookie-consent__btn--decline:hover {
  background: #f8e7f0;
}

@media only screen and (min-width: 768px) {
  .cookie-consent {
    padding: 16px 24px;
    font-size: 14px;
  }

  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent__content {
    max-width: 72%;
  }

  .cookie-consent__actions {
    flex-shrink: 0;
  }
}
