.privacy-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #004f4d, #188f8b);
  color: white;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 79, 77, 0.3);
  animation: slideUp 0.3s ease-out;
}

.privacy-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.privacy-banner-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.privacy-banner-text i {
  font-size: 1.5rem;
  color: #90be6d;
}

.privacy-banner-text a {
  color: #90be6d;
  text-decoration: underline;
}

.privacy-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.privacy-accept-btn,
.privacy-manage-btn,
.privacy-decline-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.privacy-accept-btn {
  background: #90be6d;
  color: white;
}

.privacy-accept-btn:hover {
  background: #7ba05a;
}

.privacy-manage-btn {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.privacy-manage-btn:hover {
  background: white;
  color: #004f4d;
}

.privacy-decline-btn {
  background: #ff6b6b;
  color: white;
}

.privacy-decline-btn:hover {
  background: #e55555;
}

.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 79, 77, 0.3);
}

.privacy-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.privacy-modal-header h3 {
  margin: 0;
  color: #004f4d;
}

.privacy-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.privacy-modal-body {
  padding: 1.5rem;
}

.privacy-setting-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
}

.privacy-setting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.privacy-setting-header h4 {
  margin: 0;
  color: #004f4d;
}

.privacy-required {
  background: #e0e0e0;
  color: #666;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.privacy-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.privacy-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.privacy-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 12px;
}

.privacy-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .privacy-slider {
  background-color: #004f4d;
}

input:checked + .privacy-slider:before {
  transform: translateX(26px);
}

.privacy-modal-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.privacy-save-btn,
.privacy-accept-all-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.privacy-save-btn {
  background: #004f4d;
  color: white;
}

.privacy-save-btn:hover {
  background: #188f8b;
}

.privacy-accept-all-btn {
  background: #90be6d;
  color: white;
}

.privacy-accept-all-btn:hover {
  background: #7ba05a;
}

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

@media (max-width: 768px) {
  .privacy-banner-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .privacy-banner-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
}
