#consent-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #faf8f5 0%, #f7f9f4 50%, #fefcf5 100%);
  border-top: 1px solid #e8ddd0;
  box-shadow: 0 -4px 16px rgba(139, 115, 106, 0.12), 0 -2px 6px rgba(139, 115, 106, 0.08);
  padding: 12px 16px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

#consent-banner.show {
  display: block;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.consent-text {
  flex: 1;
  line-height: 1.4;
  color: #4d372c;
  font-size: 13px;
}

.consent-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.consent-btn-accept {
  background: linear-gradient(135deg, #6d8a3f 0%, #556d33 100%);
  color: #f7f9f4;
  box-shadow: 0 2px 4px rgba(107, 136, 89, 0.2);
}

.consent-btn-accept:hover {
  background: linear-gradient(135deg, #556d33 0%, #45572c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(107, 136, 89, 0.25);
}

.consent-btn-reject {
  background: #f0ebe6;
  color: #5e4334;
  border: 1px solid #e0d4c9;
}

.consent-btn-reject:hover {
  background: #e0d4c9;
  border-color: #ccb8a6;
}

.consent-btn-settings {
  background: transparent;
  color: #73523d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-btn-settings:hover {
  color: #5e4334;
}

@media (max-width: 768px) {
  .consent-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .consent-buttons {
    flex-wrap: wrap;
  }
  .consent-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Settings Modal */
.consent-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.consent-modal.show {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.consent-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(77, 55, 44, 0.5);
  backdrop-filter: blur(2px);
}

.consent-modal-content {
  position: relative;
  background: linear-gradient(135deg, #faf8f5 0%, #f7f9f4 50%, #fefcf5 100%);
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(139, 115, 106, 0.2);
  border: 1px solid #e8ddd0;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.consent-modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #4d372c;
  margin: 0 0 8px 0;
}

.consent-modal-description {
  font-size: 13px;
  color: #73523d;
  margin: 0 0 20px 0;
}

.consent-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ddd0;
  cursor: pointer;
  transition: border-color 0.2s;
}

.consent-option:hover {
  border-color: #6d8a3f;
}

.consent-option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.consent-option-title {
  font-size: 14px;
  font-weight: 500;
  color: #4d372c;
}

.consent-option-desc {
  font-size: 12px;
  color: #8b736a;
}

.consent-option input {
  display: none;
}

.consent-toggle {
  width: 44px;
  height: 24px;
  background: #e0d4c9;
  border-radius: 12px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.consent-toggle::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.consent-option input:checked + .consent-toggle {
  background: linear-gradient(135deg, #6d8a3f 0%, #556d33 100%);
}

.consent-option input:checked + .consent-toggle::after {
  transform: translateX(20px);
}

.consent-toggle-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.consent-modal-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .consent-modal-content {
    padding: 16px;
  }
  .consent-modal-buttons {
    flex-direction: column;
  }
  .consent-modal-buttons .consent-btn {
    width: 100%;
  }
}
