:root{
  --cookie-bg:#241044;
  --cookie-bg-alt:#30155a;
  --cookie-text:#f7f3ff;
  --cookie-muted:#d9cfee;
  --cookie-accent:#ffd84d;
  --cookie-border:rgba(255,216,77,.35);
  --cookie-shadow:0 18px 50px rgba(0,0,0,.38);
}

#cth-cookie-banner{
  position:fixed;
  left:24px;
  right:24px;
  bottom:24px;
  z-index:999999;
  max-width:980px;
  margin:0 auto;
  background:linear-gradient(145deg,var(--cookie-bg),var(--cookie-bg-alt));
  color:var(--cookie-text);
  border:1px solid var(--cookie-border);
  border-radius:18px;
  box-shadow:var(--cookie-shadow);
  padding:24px;
  font-family:Arial,Helvetica,sans-serif;
  line-height:1.55;
}

#cth-cookie-banner h2{
  margin:0 0 10px;
  color:var(--cookie-accent);
  font-size:1.7rem;
}

#cth-cookie-banner p{
  margin:0 0 18px;
  color:var(--cookie-text);
}

#cth-cookie-banner a{
  color:var(--cookie-accent);
  font-weight:700;
}

.cth-cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.cth-cookie-button{
  border:0;
  border-radius:10px;
  padding:12px 18px;
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
}

.cth-cookie-accept{
  background:var(--cookie-accent);
  color:#21102f;
}

.cth-cookie-reject{
  background:#ffffff;
  color:#21102f;
}

.cth-cookie-manage{
  background:transparent;
  color:var(--cookie-accent);
  border:1px solid var(--cookie-accent);
}

#cth-cookie-settings{
  display:none;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--cookie-border);
}

.cth-cookie-setting{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin:14px 0;
}

.cth-cookie-setting-text strong{
  display:block;
  color:var(--cookie-accent);
  margin-bottom:4px;
}

.cth-cookie-setting-text span{
  color:var(--cookie-muted);
  font-size:.93rem;
}

.cth-cookie-toggle{
  width:22px;
  height:22px;
  flex:0 0 auto;
}

#cth-cookie-preferences-button{
  position:fixed;
  left:18px;
  bottom:18px;
  z-index:999998;
  border:1px solid var(--cookie-border);
  background:var(--cookie-bg);
  color:var(--cookie-accent);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.3);
}

.cth-cookie-hidden{
  display:none !important;
}

@media(max-width:700px){
  #cth-cookie-banner{
    left:12px;
    right:12px;
    bottom:12px;
    padding:20px;
  }

  .cth-cookie-actions{
    flex-direction:column;
  }

  .cth-cookie-button{
    width:100%;
  }

  .cth-cookie-setting{
    align-items:flex-start;
  }
}