/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border-top: 2px solid var(--mint);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-banner-text a {
  color: var(--mint);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--coral);
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

.cookie-btn-accept {
  background-color: var(--mint);
  color: var(--bg-primary);
}

.cookie-btn-accept:hover {
  background-color: #3db3a6;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--text-secondary);
  border: 1px solid #404040;
}

.cookie-btn-decline:hover {
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

.cookie-btn-customize {
  background-color: transparent;
  color: var(--mint);
  border: 1px solid var(--mint);
}

.cookie-btn-customize:hover {
  background-color: var(--mint);
  color: var(--bg-primary);
}

.cookie-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-preferences-modal.show {
  display: flex;
}

.cookie-preferences-content {
  background-color: var(--bg-secondary);
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border: 2px solid var(--mint);
}

.cookie-preferences-content h3 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 15px;
  background-color: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid #404040;
}

.cookie-category h4 {
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-category p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

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

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

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #404040;
  transition: 0.3s;
  border-radius: 24px;
}

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

.cookie-toggle input:checked + .cookie-slider {
  background-color: var(--mint);
}

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

.cookie-toggle input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-preferences-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .cookie-banner-text {
    text-align: center;
  }
  
  .cookie-banner-actions {
    justify-content: center;
  }
}