@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-geist: 'Inter', sans-serif;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-geist-mono {
  font-family: var(--font-geist);
  letter-spacing: -0.02em;
}

/* Button active state */
.city-btn.active {
  position: relative;
  overflow: hidden;
}

.city-btn.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  transition: all 0.2s ease;
}

/* Smoother transitions */
.transition {
  transition: all 0.2s ease;
}

/* Hide and show sections with animation */
.city-content {
  transition: opacity 0.3s ease;
}

.city-content.hidden {
  display: none;
}

/* Custom scrollbar for a more refined appearance */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

/* Subtle card hover effect */
.bg-white.rounded-xl {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bg-white.rounded-xl:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Print styles */
@media print {
  header, footer, button, #planner-form {
    display: none !important;
  }
  
  body {
    background-color: white !important;
  }
  
  #packing-list-result, #itinerary-result {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
  }
  
  #close-itinerary, #save-itinerary-btn, #edit-itinerary-btn, #print-packing-list {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}
