.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 2px solid #E5E7EB;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-md) 0;
  z-index: 1000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--dark-text);
}

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

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

.cookie-banner-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--indigo);
  color: white;
}

.cookie-btn-accept:hover {
  background: #4752C4;
}

.cookie-btn-reject {
  background: transparent;
  color: var(--gray-text);
  border: 1px solid #E5E7EB;
}

.cookie-btn-reject:hover {
  background: var(--light-bg);
  color: var(--dark-text);
}

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

.cookie-btn-customize:hover {
  background: var(--indigo);
  color: white;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: var(--spacing-md);
}

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

.cookie-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  border-bottom: 1px solid #E5E7EB;
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark-text);
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-text);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.cookie-modal-close:hover {
  color: var(--dark-text);
}

.cookie-modal-body {
  padding: var(--spacing-lg);
}

.cookie-modal-body > p {
  margin-bottom: var(--spacing-lg);
  color: var(--gray-text);
}

.cookie-option {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid #E5E7EB;
}

.cookie-option:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-checkbox {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: var(--spacing-sm);
}

.cookie-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-checkbox input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.cookie-option-desc {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin: 0 0 0 28px;
  line-height: 1.5;
}

.cookie-modal-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }

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

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

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

  .cookie-modal-content {
    margin: var(--spacing-md);
  }
}
