/* Cookie Banner Styles */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner.hidden {
  display: none;
}

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

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

.cookie-banner__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.cookie-banner__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #bdc3c7;
}

.cookie-banner__button {
  flex-shrink: 0;
  padding: 10px 24px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-banner__button:hover {
  background-color: #2980b9;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.cookie-banner__button:active {
  transform: scale(0.98);
}

.cookie-banner__button:focus {
  outline: 2px solid #ecf0f1;
  outline-offset: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner__container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner__title {
    font-size: 16px;
  }

  .cookie-banner__message {
    font-size: 13px;
  }

  .cookie-banner__button {
    width: 100%;
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner__container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .cookie-banner__title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .cookie-banner__message {
    font-size: 12px;
    line-height: 1.4;
  }

  .cookie-banner__button {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .cookie-banner {
    background-color: #1a1a1a;
    color: #f0f0f0;
  }

  .cookie-banner__message {
    color: #b0b0b0;
  }

  .cookie-banner__button {
    background-color: #0066cc;
  }

  .cookie-banner__button:hover {
    background-color: #0052a3;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }

  .cookie-banner__button {
    transition: none;
  }
}
