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

:root {
  /* Primary brand color is green; keep a secondary blue for accents */
  --primary-blue: #004dc0; /* main/brand color (green) */
  --accent-green: #b70404; /* accent/secondary (blue) */
  --light-gray: #f5f7fa;
  --border-gray: #e0e5eb;
  --text-dark: #1a1a1a;
  --text-gray: #666;
}

html,

/* ===== Header Styles (Tailwind + Custom) ===== */
header {
  backdrop-filter: blur(8px);
}

/* Smooth focus animations for input fields */
input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Search input optimization */
#headerInput::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* Reduce header blur on small screens and tighten padding */
@media (max-width: 640px) {
  header {
    backdrop-filter: none;
  }
  header .max-w-7xl {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  #headerInput {
    font-size: 0.95rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

/* ===== Package Items: See all / Collapse ===== */

/* Subtle fade edge shown between item 3 and the "Total Declared" row */
.pkg-items-fade-edge {
  height: 24px;
  margin-top: -16px;
  margin-bottom: -8px;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 100%);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Extra items container (hidden by default via inline style) */
.pkg-items-extra {
  margin-top: 0.5rem;
}
.pkg-items-extra > div {
  margin-top: 0.5rem;
}

/* Toggle button */
.pkg-items-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 6px 0;
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pkg-items-toggle:hover {
  color: #2563eb;
}

.pkg-toggle-icon {
  font-size: 0.625rem;
  transition: transform 0.3s ease;
}

