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

html, body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
}

/* Header & Footer Placeholders */
.app-header, .app-main, .app-footer {
  width: 100%;
}

.app-main {
  flex: 1; /* Pushes footer down */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* Maps Container */
.maps-container {
  display: flex;
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  justify-content: center;
  flex-wrap: wrap; /* Responsive wrap */
}

/* Independent Map Box */
.map-wrapper {
  flex: 1;
  min-width: 400px; /* Prevent becoming too narrow */
  max-width: 600px; /* Maintain boxy feel */
  aspect-ratio: 1 / 1; /* Force Square */
  position: relative;
  
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  background: white;
}

/* Enhancing Map Component to Fill Wrapper */
gmp-map {
  height: 100%;
  width: 100%;
}

/* Premium Map Label */
.map-label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* Styling the Place Picker Container */
.place-picker-container {
  padding: 16px;
  margin: 12px;
}

/* Customizing Place Picker */
gmpx-place-picker {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 16px;
  width: 340px;
}

/* Mobile Responsiveness for Maps */
@media (max-width: 900px) {
  .maps-container {
    flex-direction: column;
    align-items: center;
  }
  
  .map-wrapper {
    width: 100%;
    min-width: 0; /* Override the 400px default */
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .place-picker-container {
     width: 100%;
     box-sizing: border-box;
     padding: 12px;
  }
  
  gmpx-place-picker {
    width: 100% !important;
  }
}