/* Body */
body.valeo-consent-gate-active {
  overflow: hidden;
}
body.valeo-consent-gate-active .valeo-consent-gate {
  display: block;
}

/* Wrapper */
.valeo-consent-gate {
  position: fixed;
  inset: 0;
  z-index: 99999999999999;
  display: none;
}

/* Backdrop */
.valeo-consent-gate__backdrop {
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* Modal */
.valeo-consent-gate__modal {
  position: relative;
  max-width: 680px;
  width: calc(100% - 32px);
  margin: 12vh auto 0;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .valeo-consent-gate__modal {
    margin-top: 8vh;
    padding: 18px;
  }
}

#valeo-consent-gate-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.valeo-consent-gate__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}

/* Buttons */
.valeo-consent-gate__actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.valeo-consent-gate__btn {
  appearance: none;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: opacity .3s ease-in-out;
}
.valeo-consent-gate__btn:hover {
  opacity: 0.6;
}

.valeo-consent-gate__btn:focus {
  outline: 3px solid rgba(0, 0, 0, 0.35) !important;
  outline-offset: 2px;
}

.valeo-consent-gate__btn--accept {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Hide helper */
.valeo-consent-gate[aria-hidden="true"] {
  display: none !important;
}
