
/* Cookie consent banner */
.ka-cookie-banner{
  position:fixed;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:100000;
  display:none;
  align-items:flex-end;
  justify-content:center;
  pointer-events:none;
}

.ka-cookie-banner.is-visible{
  display:flex;
}

.ka-cookie-card{
  width:min(980px,100%);
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  padding:22px;
  border-radius:28px;
  background:rgba(255,255,255,.98);
  border:1px solid #DDE9F6;
  box-shadow:0 28px 90px rgba(7,17,39,.22);
  pointer-events:auto;
}

.ka-cookie-copy strong{
  display:block;
  margin:0 0 8px;
  color:#101827;
  font-family:Inter,Arial,sans-serif;
  font-size:20px;
  line-height:1.2;
}

.ka-cookie-copy p{
  margin:0;
  color:#526277;
  font-size:14.5px;
  line-height:1.6;
}

.ka-cookie-copy a{
  color:#0067FF;
  font-weight:850;
  text-decoration:none;
}

.ka-cookie-copy a:hover{
  text-decoration:underline;
}

.ka-cookie-actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

.ka-cookie-btn{
  appearance:none;
  border:0;
  min-height:44px;
  padding:12px 17px;
  border-radius:999px;
  font-family:Inter,Arial,sans-serif;
  font-weight:900;
  font-size:14px;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ka-cookie-btn:hover{
  transform:translateY(-1px);
}

.ka-cookie-accept{
  background:linear-gradient(135deg,#0067FF,#35B7FF);
  color:#fff;
  box-shadow:0 14px 30px rgba(0,103,255,.22);
}

.ka-cookie-reject{
  background:#F1F6FC;
  color:#0067FF;
  border:1px solid #DDE9F6;
}

.ka-cookie-settings{
  background:#fff;
  color:#526277;
  border:1px solid #DDE9F6;
}

.ka-cookie-modal{
  position:fixed;
  inset:0;
  z-index:100001;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(7,17,39,.48);
}

.ka-cookie-modal.is-visible{
  display:flex;
}

.ka-cookie-modal-card{
  width:min(680px,100%);
  max-height:90vh;
  overflow:auto;
  padding:28px;
  border-radius:28px;
  background:#fff;
  border:1px solid #DDE9F6;
  box-shadow:0 28px 90px rgba(7,17,39,.28);
}

.ka-cookie-modal-head{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:flex-start;
  margin-bottom:16px;
}

.ka-cookie-modal-head h2{
  margin:0;
  color:#101827;
  font-size:28px;
  line-height:1.12;
  letter-spacing:-.03em;
}

.ka-cookie-close{
  width:42px;
  height:42px;
  border:1px solid #DDE9F6;
  border-radius:14px;
  background:#F7FBFF;
  color:#101827;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}

.ka-cookie-option{
  display:grid;
  grid-template-columns:1fr auto;
  gap:16px;
  align-items:center;
  padding:18px 0;
  border-top:1px solid #EEF3FA;
}

.ka-cookie-option strong{
  display:block;
  margin-bottom:5px;
  color:#101827;
  font-size:17px;
}

.ka-cookie-option p{
  margin:0;
  color:#607086;
  font-size:14px;
  line-height:1.55;
}

.ka-cookie-switch{
  position:relative;
  width:54px;
  height:30px;
  flex:0 0 54px;
}

.ka-cookie-switch input{
  opacity:0;
  width:0;
  height:0;
}

.ka-cookie-slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:#DCE6F2;
  border-radius:999px;
  transition:.18s;
}

.ka-cookie-slider::before{
  content:"";
  position:absolute;
  width:24px;
  height:24px;
  left:3px;
  top:3px;
  background:white;
  border-radius:999px;
  box-shadow:0 3px 10px rgba(7,17,39,.16);
  transition:.18s;
}

.ka-cookie-switch input:checked + .ka-cookie-slider{
  background:#0067FF;
}

.ka-cookie-switch input:checked + .ka-cookie-slider::before{
  transform:translateX(24px);
}

.ka-cookie-switch input:disabled + .ka-cookie-slider{
  opacity:.65;
  cursor:not-allowed;
}

.ka-cookie-modal-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:18px;
  flex-wrap:wrap;
}

@media(max-width:760px){
  .ka-cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
  }

  .ka-cookie-card{
    grid-template-columns:1fr;
    padding:18px;
    border-radius:22px;
  }

  .ka-cookie-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .ka-cookie-btn{
    width:100%;
  }

  .ka-cookie-modal-card{
    padding:22px 18px;
    border-radius:22px;
  }

  .ka-cookie-modal-head h2{
    font-size:24px;
  }
}
