.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(10px);
  color: white;
  padding: calc(var(--spacing-unit) * 3);
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

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

.cookie-banner-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(var(--spacing-unit) * 3);
}

.cookie-banner-text {
  flex: 1;
  max-width: 600px;
}

.cookie-banner-text h4 {
  color: white;
  margin-bottom: calc(var(--spacing-unit) * 1);
  font-size: 1.1rem;
  font-weight: 600;
}

.cookie-banner-text p {
  color: #e0e0e0;
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 100px;
}

.cookie-btn-accept {
  background-color: #0066cc;
  color: white;
}

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

.cookie-btn-reject {
  background-color: transparent;
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-customize {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-customize:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #cccccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
}

.cookie-link {
  color: #66b3ff;
  font-size: 0.9rem;
  text-decoration: underline;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.cookie-link:hover {
  color: white;
}

.cookie-customization {
  max-width: 1400px;
  margin: calc(var(--spacing-unit) * 3) auto 0;
  padding-top: calc(var(--spacing-unit) * 3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.cookie-customization.show {
  display: block;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 3);
}

.cookie-option {
  display: flex;
  align-items: flex-start;
}

.cookie-checkbox {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--spacing-unit) * 2);
  cursor: pointer;
  width: 100%;
}

.cookie-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #0066cc;
  border-color: #0066cc;
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkmark {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  cursor: not-allowed;
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkmark::after {
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-option-info {
  flex: 1;
}

.cookie-option-info strong {
  color: white;
  font-size: 0.95rem;
  display: block;
  margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.cookie-option-info p {
  color: #cccccc;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.4;
}

.cookie-customization-actions {
  display: flex;
  gap: calc(var(--spacing-unit) * 2);
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner {
    padding: calc(var(--spacing-unit) * 2);
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: calc(var(--spacing-unit) * 2);
  }

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

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }

  .cookie-customization-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: calc(var(--spacing-unit) * 1.5);
  }

  .cookie-banner-text h4 {
    font-size: 1rem;
  }

  .cookie-banner-text p {
    font-size: 0.85rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
  }

  .cookie-btn {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 2);
  }

  .cookie-link {
    text-align: center;
  }

  .cookie-customization-actions {
    flex-direction: column;
  }

  .cookie-customization-actions .cookie-btn {
    width: 100%;
  }
}