:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cookie-settings-button {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  padding: 0.75rem;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  transition: all 0.2s;
}

.cookie-settings-button:hover {
  background: var(--gray-100);
  color: var(--gray-800);
  transform: scale(1.05);
}

.cookie-settings-button svg {
  width: 20px;
  height: 20px;
  color: var(--gray-700);
}

.cookie-settings-button:hover svg {
  color: var(--gray-800);
}

.cookie-consent {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  max-width: 400px;
  background: white;
  border-radius: 0.75rem;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  z-index: 50;
}

.cookie-consent.hidden {
  transform: translateY(150%);
}

.cookie-container {
  padding: 1rem;
}

.cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.cookie-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.cookie-description {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.cookie-preferences {
  background: var(--gray-100);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.cookie-preference {
  margin-bottom: 0.75rem;
}

.cookie-preference:last-child {
  margin-bottom: 0;
}

.preference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.preference-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-700);
}

.preference-description {
  font-size: 0.7rem;
  color: var(--gray-600);
}

.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-200);
  transition: 0.3s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: '';
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.cookie-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.btn {
  padding: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 0.375rem;
  width: 100%;
  text-align: center;
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-close {
  background: none;
  border: none;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
}

.btn-close:hover {
  color: var(--gray-800);
}

@media (max-width: 480px) {
  .cookie-consent {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .cookie-buttons {
    grid-template-columns: 1fr;
  }

  .cookie-settings-button {
    bottom: 1rem;
    right: 1rem;
  }
}
