.rex-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
  background: #0b2a4a;
  color: #f4f7fb;
  box-shadow: 0 -6px 24px rgba(11, 42, 74, 0.28);
}

.rex-cookie-banner[hidden] {
  display: none !important;
}

.rex-cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.rex-cookie-banner__copy {
  flex: 1 1 280px;
  min-width: 0;
}

.rex-cookie-banner__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.rex-cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(244, 247, 251, 0.92);
}

.rex-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.rex-cookie-banner__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.rex-cookie-banner__btn--accept {
  background: #e87722;
  color: #fff;
}

.rex-cookie-banner__btn--accept:hover,
.rex-cookie-banner__btn--accept:focus {
  background: #cf6818;
}

.rex-cookie-banner__btn--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.rex-cookie-banner__btn--reject:hover,
.rex-cookie-banner__btn--reject:focus {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.rex-cookie-settings-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 991.98px) {
  .rex-cookie-banner {
    bottom: 72px;
  }
}
