/* COOKIE BANNER */
.cookie-banner{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  width: calc(100% - 32px);
  max-width: 640px;
  z-index: 99998;
  display: none;
  background: rgba(245,226,179,0.98);
  border: 1px solid rgba(47,94,143,.25);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cookie-banner.show{
  display: block;
}

.cookie-banner-inner{
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
}

.cookie-banner-text{
  color: #223;
  font-size: .92rem;
  line-height: 1.45;
}

.cookie-banner-title{
  margin: 0 0 6px 0;
  color: #2f5e8f;
  font-size: 1rem;
  font-weight: 700;
}

.cookie-banner-text p{
  margin: 0;
}

.cookie-banner-text a{
  color: #2f5e8f;
  text-decoration: underline;
}

.cookie-banner-actions{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn{
  min-width: 140px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(47,94,143,.35);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cookie-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

.cookie-btn-accept{
  background: #2f5e8f;
  color: #fff;
  border-color: #2f5e8f;
}

.cookie-btn-accept:hover{
  background: #3a6ca1;
}

.cookie-btn-decline{
  background: rgba(255,255,255,.72);
  color: #2f5e8f;
}

.cookie-btn-decline:hover{
  background: rgba(255,255,255,.92);
}

@media (max-width: 768px){
  .cookie-banner{
    width: calc(100% - 20px);
    max-width: none;
    bottom: 10px;
  }

  .cookie-banner-inner{
    gap: 10px;
    padding: 12px 14px;
  }

  .cookie-banner-actions{
    justify-content: stretch;
  }

  .cookie-btn{
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}

@media (max-width: 480px){
  .cookie-banner{
    bottom: 76px;
  }

  .cookie-banner-actions{
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btn{
    width: 100%;
    flex: none;
  }
}