/* UYUM | COOKIE CONSENT */

.ucc-banner[hidden],
.ucc-overlay[hidden] {
  display:none!important;
}

.ucc-banner {
  position:fixed;
  z-index:10050;
  left:20px;
  bottom:20px;
  width:min(520px,calc(100% - 40px));
  box-sizing:border-box;
  padding:20px;
  display:grid;
  gap:17px;
  border:1px solid #d8e7e0;
  border-radius:15px;
  background:#fff;
  color:#17394b;
  box-shadow:0 20px 65px rgba(6,35,48,.22);
  animation:uccAppear .45s ease both;
}

.ucc-copy strong {
  font-size:15px;
  font-weight:800;
}

.ucc-copy p {
  margin:7px 0 0;
  color:#6a818d;
  font-size:12px;
  line-height:1.75;
}

.ucc-copy a {
  color:#118a70;
  font-weight:750;
}

.ucc-actions {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}

.ucc-actions button,
.ucc-dialog-actions button {
  min-height:41px;
  border:1px solid #d3e4dc;
  border-radius:9px;
  background:#f6faf8;
  color:#17394b;
  font:800 12px inherit;
  font-family:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.ucc-actions button:last-child,
.ucc-dialog-actions button:last-child {
  background:#118a70;
  border-color:#118a70;
  color:#fff;
}

.ucc-actions button:hover,
.ucc-dialog-actions button:hover {
  filter:brightness(.96);
}

.ucc-overlay {
  position:fixed;
  inset:0;
  z-index:10060;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(5,23,35,.72);
}

.ucc-dialog {
  width:min(490px,100%);
  max-height:calc(100dvh - 36px);
  overflow-y:auto;
  box-sizing:border-box;
  padding:25px;
  border-radius:17px;
  background:#fff;
  color:#17394b;
  box-shadow:0 25px 90px rgba(0,0,0,.25);
}

.ucc-dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}

.ucc-dialog-top h2 {
  margin:0;
  font-size:22px;
  color:#17394b;
}

.ucc-dialog-top button {
  position:relative;
  display:block;
  flex:0 0 33px;
  width:33px;
  height:33px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#edf5f1;
  color:transparent;
  font-size:0;
  line-height:0;
  cursor:pointer;
}

.ucc-dialog-top button::before,
.ucc-dialog-top button::after {
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:15px;
  height:2px;
  border-radius:2px;
  background:#17394b;
  transform:translate(-50%,-50%) rotate(45deg);
}

.ucc-dialog-top button::after {
  transform:translate(-50%,-50%) rotate(-45deg);
}

.ucc-dialog-top button svg {
  display:none!important;
}

.ucc-feedback[hidden] {
  display:none!important;
}

.ucc-feedback {
  display:block;
  margin:13px 0 0!important;
  padding:12px 14px;
  background:#eaf8f1;
  border:1px solid #b7dfce;
  border-radius:9px;
  color:#08775b!important;
  font-size:12px!important;
  font-weight:750;
  line-height:1.5!important;
  text-align:center;
}

.ucc-dialog > p {
  margin:12px 0 18px;
  font-size:12px;
  line-height:1.7;
  color:#718793;
}

.ucc-option {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:15px 0;
  border-top:1px solid #e6eeea;
}

.ucc-option strong {
  display:block;
  font-size:13px;
}

.ucc-option small {
  display:block;
  margin-top:5px;
  font-size:11px;
  line-height:1.6;
  color:#8296a0;
}

.ucc-option input {
  flex:none;
  width:20px;
  height:20px;
  accent-color:#118a70;
}

.ucc-required {
  white-space:nowrap;
  font-size:11px;
  color:#118a70;
  font-weight:750;
}

.ucc-dialog-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:19px;
}

@keyframes uccAppear {
  from {opacity:0;transform:translateY(18px)}
  to {opacity:1;transform:translateY(0)}
}

@media(max-width:700px) {
  .ucc-banner {
    left:10px;
    bottom:calc(10px + env(safe-area-inset-bottom,0px));
    width:calc(100% - 20px);
    padding:16px;
  }

  .ucc-dialog {padding:20px}
  .ucc-copy p {font-size:11.5px}
}

@media(prefers-reduced-motion:reduce) {
  .ucc-banner {animation:none}
}
