/* ===============================
   ZZCEF — Cookie Consent Styles
   =============================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #12121C;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.cookie-text a {
  color: #C5A34E;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #C5A34E, #A88A3A);
  color: #000;
}

.cookie-btn-accept:hover {
  box-shadow: 0 4px 12px rgba(197,163,78,0.3);
}

.cookie-btn-necessary {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}

.cookie-btn-necessary:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-btn-manage {
  background: none;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  padding: 10px 12px;
}

.cookie-btn-manage:hover {
  color: #fff;
}

/* Preferences panel */
.cookie-prefs {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cookie-prefs.show {
  display: block;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.cookie-pref-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.cookie-pref-label small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 22px;
  transition: 0.3s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: #C5A34E;
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-save-prefs {
  margin-top: 12px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #C5A34E, #A88A3A);
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
