/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.cookie-banner-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.cookie-banner-text {
  flex: 1;
}

.cookie-banner-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.cookie-banner-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal .modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.cookie-modal.show .modal-content {
  transform: scale(1);
}

.cookie-modal .modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.cookie-modal .modal-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s ease;
}

.cookie-modal .modal-close:hover {
  color: #111827;
}

.cookie-modal .modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cookie-modal .modal-body {
  padding: 1rem 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cookie-category-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.cookie-category-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.cookie-toggle {
  position: relative;
}

.cookie-toggle input[type="checkbox"] {
  display: none;
}

.toggle-label {
  display: block;
  width: 48px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 24px;
  position: relative;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-label:hover {
  background: #d1d5db;
}

.toggle-switch {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch {
  transform: translateX(24px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-label {
  background: #9ca3af;
  cursor: not-allowed;
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-label:hover {
  background: #9ca3af;
}

.cookie-modal .modal-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* Mobile Responsive for Cookie Banner */
@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .cookie-banner-actions {
    flex-direction: row;
    width: 100%;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .cookie-banner-actions .btn {
    flex: 1;
    max-width: 140px;
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  
  .cookie-modal .modal-content {
    margin: 0.5rem;
  }
  
  .cookie-modal .modal-footer {
    flex-direction: column;
  }
  
  .cookie-modal .modal-footer .btn {
    width: 100%;
  }
}

/* Very small screens (phones in portrait) */
@media (max-width: 480px) {
  .cookie-banner-actions .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.5rem;
    max-width: 120px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
} 