/* Dải thông báo cookie — phải nằm TRÊN thanh tải cố định ở mobile, tuyệt đối không che nút tải */

.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(7, 13, 26, 0.97);
  border-top: 1px solid rgba(215, 181, 104, 0.32);
  box-shadow: 0 -10px 30px rgba(3, 8, 20, 0.4);
  transform: translateY(100%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.consent-banner.is-visible {
  transform: translateY(0);
}

.consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.consent-copy {
  margin: 0;
  flex: 1 1 320px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.consent-copy a {
  color: rgba(241, 221, 166, 0.92);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.consent-accept,
.consent-decline {
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.consent-accept {
  color: var(--navy-950, #070d1a);
  background: linear-gradient(180deg, #f2d998, #c89d4d);
  border: none;
}

.consent-decline {
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.consent-accept:focus-visible,
.consent-decline:focus-visible {
  outline: 3px solid rgba(200, 157, 77, 0.72);
  outline-offset: 2px;
}

@media (max-width: 760px) {
  .consent-inner {
    justify-content: center;
    text-align: center;
  }

  .consent-actions {
    width: 100%;
    justify-content: center;
  }

  .consent-accept,
  .consent-decline {
    flex: 1 1 0;
  }
}

/*
 * Vị trí đáy do consent.js đặt lúc chạy: trên mobile thanh tải cố định cũng nằm ở bottom:0,
 * đè lên nhau là mất nút tải. Đo chiều cao thật chính xác hơn đoán con số cứng
 * vì thanh đó còn cộng thêm vùng an toàn của iPhone.
 */
