/* Cookie Consent Banner - Malta to Italy Vans Theme */
#cc-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding: 24px;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
  animation: slideUp 0.4s ease-out;
}

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

#cc-banner .cc-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cc-header {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.cc-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.cc-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.cc-text a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.cc-text a:hover {
  border-bottom-color: #2563eb;
}

.cc-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.cc-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 44px; /* Touch-friendly */
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.cc-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.cc-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cc-btn-outline {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.cc-btn-outline:hover {
  background: #f8fafc;
  color: #475569;
  border-color: #cbd5e1;
}

.cc-manage {
  background: none;
  border: none;
  color: #2563eb;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.cc-manage:hover {
  color: #1d4ed8;
}

/* Van icon for branding */
.cc-van-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  #cc-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }
  
  .cc-actions {
    flex-direction: column;
  }
  
  .cc-btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  #cc-banner {
    max-width: 600px;
  }
  
  .cc-actions {
    flex-direction: row;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  #cc-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #475569;
  }
  
  .cc-title {
    color: #f8fafc;
  }
  
  .cc-text {
    color: #cbd5e1;
  }
  
  .cc-btn-outline {
    color: #cbd5e1;
    border-color: #475569;
  }
  
  .cc-btn-outline:hover {
    background: #374151;
    color: #f8fafc;
    border-color: #6b7280;
  }
}