.gdpr-banner {
    position: fixed;
    overflow: hidden;
    bottom: 24px;
    left: 32%;
    background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
    border: 1px solid rgba(0,0,0,.06);
    padding: 20px 22px;
    z-index: 9999;
    box-shadow:
    0 10px 25px rgba(0,0,0,.12),
    0 3px 8px rgba(0,0,0,.08);
    max-width: 600px;
    width: clamp(280px, 92vw, 680px);
    font-size: 15px;
    line-height: 1.5;
    border-radius: 14px;
    opacity: 0;
    transform: translate(-50%, 20px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
}
.gdpr-banner.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gdpr-banner h4{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
}

.hidden {
    display: none !important;
}

.gdpr-banner .gdpr-buttons {
    margin-top: 14px;
    display: grid;
    grid-auto-flow: column;
    gap: 10px;
    justify-content: start;
}

.gdpr-banner button {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    will-change: transform;
}

.gdpr-banner button:hover{
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}
.gdpr-banner button:active{
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
/* а11y */
.gdpr-banner button:focus-visible{
  outline: 2px solid rgba(0,120,255,.5);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(0,120,255,.15);
}

/* Korostetaan "Hyväksy kaikki" -painiketta */
#gdpr-accept {
    /*background: #0073aa;
    color: white;*/
}

#gdpr-accept:hover {
    /*background: #005f8d;*/
}

/* Neutraali tyyli "Vain välttämättömät" -painikkeelle */
#gdpr-decline {
    /*background: #f0f0f0;
    color: #333;*/
}

#gdpr-decline:hover {
    /*background: #e0e0e0;*/
}

.gdpr-settings-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,1);
    display: grid; place-items: center;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 6px 18px rgba(0,0,0,.15);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    width: 48px;
    height: 48px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.gdpr-settings-toggle:hover {
    width: 52px;
    height: 52px;
    bottom: 18px;
    left: 18px;
}

@media screen and (max-width: 768px) {
    .gdpr-banner {
      left: 1%;
      width: 98%;
      bottom: 40px;
      max-width: none;
      padding: 18px 16px;
      padding-bottom: 40px;
    }
  }

  /* ТЁМНАЯ ТЕМА (авто) */
@media (prefers-color-scheme: dark){
  .gdpr-banner{
    background: rgba(23,23,23,.9);
    color: #eaeaea;
    border-color: rgba(255,255,255,.06);
    box-shadow:
      0 10px 25px rgba(0,0,0,.5),
      0 3px 8px rgba(0,0,0,.35);
  }
  .gdpr-settings-toggle{
    background: rgba(30,30,30,.92);
    border-color: rgba(255,255,255,.06);
  }
}
