/* Cookie Banner Styles - Centered Floating Window Version */
.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  color: #374151;
  padding: 2rem;
  z-index: 99999;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  max-width: 500px;
  width: 90%;
  transition: all 0.3s ease-in-out;
  font-family: 'Roboto', sans-serif;
  opacity: 0;
  visibility: hidden;
}

.cookie-banner.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.cookie-banner-text {
  width: 100%;
}

.cookie-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.cookie-banner-description {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-banner-links {
  margin-bottom: 1rem;
}

.cookie-banner-links a {
  color: #059669;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.cookie-banner-links a:hover {
  color: #047857;
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 120px;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
}

.cookie-btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  transform: translateY(-1px);
}

.cookie-btn-primary:focus {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 640px) {
  .cookie-banner {
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translate(0, -50%) scale(0.9);
    width: auto;
    max-width: none;
    padding: 1.5rem;
  }
  
  .cookie-banner.show {
    transform: translate(0, -50%) scale(1);
  }
  
  .cookie-banner-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-btn {
    width: 100%;
  }
}

/* Animation for banner appearance */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 640px) {
  @keyframes fadeInScale {
    from {
      opacity: 0;
      transform: translate(0, -50%) scale(0.9);
    }
    to {
      opacity: 1;
      transform: translate(0, -50%) scale(1);
    }
  }
}

.cookie-banner.show {
  animation: fadeInScale 0.3s ease-out;
}

/* Accessibility improvements */
.cookie-banner:focus-within {
  outline: 2px solid #10b981;
  outline-offset: 2px;
}

.cookie-banner[aria-hidden="true"] {
  display: none;
} 