/* QHItech cookie consent manager */
.qhi-cookie-root,
.qhi-cookie-root *{
  box-sizing:border-box;
}

.qhi-cookie-banner{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:2147482500;
  width:min(960px, calc(100% - 28px));
  transform:translateX(-50%);
  border:1px solid rgba(23,111,255,.18);
  border-radius:22px;
  background:rgba(255,255,255,.96);
  color:#071831;
  box-shadow:0 24px 80px rgba(7,24,49,.18);
  backdrop-filter:blur(16px);
}

.qhi-cookie-banner[hidden],
.qhi-cookie-modal[hidden]{
  display:none !important;
}

.qhi-cookie-banner-inner{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:18px;
  align-items:center;
  padding:18px;
}

.qhi-cookie-title{
  margin:0 0 6px;
  font-size:17px;
  line-height:1.2;
  font-weight:950;
  color:#071831;
}

.qhi-cookie-copy{
  margin:0;
  color:#4a5b73;
  font-size:14px;
  line-height:1.5;
  font-weight:650;
}

.qhi-cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.qhi-cookie-btn{
  min-height:42px;
  border:1px solid #cfe0f7;
  border-radius:13px;
  background:#fff;
  color:#071831;
  padding:0 14px;
  font:inherit;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(7,24,49,.07);
}

.qhi-cookie-btn:hover{
  border-color:#9fc1f7;
}

.qhi-cookie-btn:focus-visible,
.qhi-cookie-toggle input:focus-visible{
  outline:3px solid rgba(23,111,255,.28);
  outline-offset:2px;
}

.qhi-cookie-btn.is-primary{
  border-color:#176fff;
  background:#176fff;
  color:#fff;
}

.qhi-cookie-btn.is-quiet{
  background:#f7fbff;
  color:#31506f;
}

.qhi-cookie-modal{
  position:fixed;
  inset:0;
  z-index:2147482600;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(7,24,49,.54);
}

.qhi-cookie-dialog{
  width:min(760px, 100%);
  max-height:min(760px, calc(100vh - 36px));
  overflow:auto;
  border:1px solid rgba(23,111,255,.18);
  border-radius:24px;
  background:#fff;
  color:#071831;
  box-shadow:0 28px 90px rgba(7,24,49,.25);
}

.qhi-cookie-dialog-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:22px 22px 14px;
  border-bottom:1px solid #e4edf9;
}

.qhi-cookie-dialog-title{
  margin:0;
  font-size:24px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:-.02em;
}

.qhi-cookie-close{
  width:40px;
  height:40px;
  border:1px solid #d6e3f5;
  border-radius:999px;
  background:#fff;
  color:#071831;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.qhi-cookie-dialog-body{
  display:grid;
  gap:12px;
  padding:18px 22px;
}

.qhi-cookie-category{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:14px;
  align-items:center;
  border:1px solid #dce8f8;
  border-radius:18px;
  background:#f9fcff;
  padding:16px;
}

.qhi-cookie-category h3{
  margin:0 0 6px;
  font-size:16px;
  line-height:1.2;
  font-weight:950;
}

.qhi-cookie-category p{
  margin:0;
  color:#52637a;
  font-size:13px;
  line-height:1.45;
  font-weight:650;
}

.qhi-cookie-toggle{
  display:inline-flex;
  align-items:center;
  gap:9px;
  font-weight:950;
  color:#19304d;
}

.qhi-cookie-toggle input{
  width:22px;
  height:22px;
  accent-color:#176fff;
}

.qhi-cookie-dialog-foot{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  padding:16px 22px 22px;
  border-top:1px solid #e4edf9;
}

.qhi-cookie-link{
  color:#176fff;
  font-weight:900;
  text-decoration:none;
}

.qhi-cookie-link:hover{
  text-decoration:underline;
}

.footer-link-button{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  padding:0;
  margin:0;
  font:inherit;
  cursor:pointer;
  text-align:left;
}

.footer-link-button:hover{
  text-decoration:underline;
}

.footer-link-button:focus-visible{
  outline:3px solid rgba(23,111,255,.28);
  outline-offset:3px;
  border-radius:6px;
}

.footer-premium-grid{
  grid-template-columns:minmax(260px, 1.15fr) repeat(3, minmax(150px, .8fr));
}

@media (max-width:1100px){
  .footer-premium-grid{
    grid-template-columns:minmax(260px, 1fr) repeat(2, minmax(160px, .8fr));
  }
}

@media (max-width:900px){
  .footer-premium-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .qhi-cookie-banner-inner{
    grid-template-columns:1fr;
  }

  .qhi-cookie-actions,
  .qhi-cookie-dialog-foot{
    justify-content:stretch;
  }

  .qhi-cookie-btn{
    flex:1 1 150px;
  }

  .qhi-cookie-category{
    grid-template-columns:1fr;
  }
}

html[data-theme="dark"] .qhi-cookie-banner,
html[data-theme="dark"] .qhi-cookie-dialog,
body.is-dark .qhi-cookie-banner,
body.is-dark .qhi-cookie-dialog{
  background:rgba(9,18,34,.97);
  color:#f8fbff;
  border-color:rgba(124,177,255,.24);
}

html[data-theme="dark"] .qhi-cookie-title,
html[data-theme="dark"] .qhi-cookie-dialog-title,
html[data-theme="dark"] .qhi-cookie-category h3,
html[data-theme="dark"] .qhi-cookie-toggle,
body.is-dark .qhi-cookie-title,
body.is-dark .qhi-cookie-dialog-title,
body.is-dark .qhi-cookie-category h3,
body.is-dark .qhi-cookie-toggle{
  color:#f8fbff;
}

html[data-theme="dark"] .qhi-cookie-copy,
html[data-theme="dark"] .qhi-cookie-category p,
body.is-dark .qhi-cookie-copy,
body.is-dark .qhi-cookie-category p{
  color:#b9c7da;
}

html[data-theme="dark"] .qhi-cookie-category,
body.is-dark .qhi-cookie-category{
  background:#0d1a30;
  border-color:#203654;
}

html[data-theme="dark"] .qhi-cookie-btn,
html[data-theme="dark"] .qhi-cookie-close,
body.is-dark .qhi-cookie-btn,
body.is-dark .qhi-cookie-close{
  background:#0d1a30;
  color:#f8fbff;
  border-color:#274566;
}

html[data-theme="dark"] .qhi-cookie-btn.is-primary,
body.is-dark .qhi-cookie-btn.is-primary{
  background:#2d8cff;
  border-color:#2d8cff;
}
