/* LifeScribe Cookie Consent Banner */

#ls-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  color: #f5f0e8;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  padding: 20px 24px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.2);
  display: none;
}

#ls-cookie-banner.is-visible {
  display: block;
}

.ls-cb-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ls-cb-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.ls-cb-text {
  flex: 1;
  min-width: 260px;
}

.ls-cb-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: #fff;
}

.ls-cb-text a {
  color: #d4a574;
  text-decoration: underline;
}

.ls-cb-toggles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.ls-cb-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.ls-cb-toggle-row span {
  opacity: 0.8;
}

.ls-cb-toggle-row .ls-cb-required {
  font-size: 11px;
  opacity: 0.5;
  font-style: italic;
}

/* Toggle switch */
.ls-cb-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}

.ls-cb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ls-cb-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #444;
  border-radius: 20px;
  transition: 0.2s;
}

.ls-cb-slider:before {
  position: absolute;
  content: '';
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
}

.ls-cb-switch input:checked + .ls-cb-slider {
  background: #a67849;
}

.ls-cb-switch input:checked + .ls-cb-slider:before {
  transform: translateX(16px);
}

/* Buttons */
.ls-cb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.ls-cb-btn {
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.ls-cb-btn--accept {
  background: #a67849;
  color: #fff;
  border-color: #a67849;
}

.ls-cb-btn--accept:hover { background: #8d6339; }

.ls-cb-btn--save {
  background: transparent;
  color: #d4a574;
  border-color: #d4a574;
}

.ls-cb-btn--save:hover { background: rgba(212,165,116,0.1); }

.ls-cb-btn--reject {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border-color: rgba(255,255,255,0.2);
}

.ls-cb-btn--reject:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

@media (max-width: 600px) {
  .ls-cb-top { flex-direction: column; }
  .ls-cb-toggles { flex-direction: row; flex-wrap: wrap; }
  .ls-cb-actions { justify-content: stretch; }
  .ls-cb-btn { flex: 1; text-align: center; }
}
