/* Cookie Consent Banner Styles */

.cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  backdrop-filter: blur(2px);
}

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.4s ease-out;
}

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.cookie-consent-text p {
  margin: 0 0 1.5rem 0;
  color: #4a4a4a;
  line-height: 1.6;
}

.cookie-consent-options {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.cookie-option {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  background: #f9f9f9;
  transition: all 0.2s ease;
}

.cookie-option:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.cookie-option label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 1rem;
}

.cookie-option input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

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

.cookie-label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.cookie-label strong {
  color: #1a1a1a;
  font-size: 1rem;
}

.cookie-description {
  color: #666;
  font-size: 0.875rem;
  line-height: 1.4;
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-primary {
  background: #2c5aa0;
  color: white;
}

.cookie-btn-primary:hover {
  background: #234a85;
}

.cookie-btn-secondary {
  background: #4a4a4a;
  color: white;
}

.cookie-btn-secondary:hover {
  background: #333;
}

.cookie-btn-tertiary {
  background: transparent;
  color: #4a4a4a;
  border: 1px solid #d0d0d0;
}

.cookie-btn-tertiary:hover {
  background: #f5f5f5;
}

.cookie-consent-footer {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.cookie-consent-footer a {
  color: #2c5aa0;
  text-decoration: underline;
}

.cookie-consent-footer a:hover {
  color: #234a85;
}

#cookie-settings-link {
  cursor: pointer;
}

/* Responsive design */
@media (max-width: 768px) {
  .cookie-consent-banner {
    padding: 1.5rem;
  }

  .cookie-consent-text h3 {
    font-size: 1.25rem;
  }

  .cookie-consent-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-option {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .cookie-consent-banner {
    padding: 1rem;
  }

  .cookie-option label {
    gap: 0.75rem;
  }

  .cookie-label strong {
    font-size: 0.9rem;
  }

  .cookie-description {
    font-size: 0.8rem;
  }
}
