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

:root {
  --clr-primary: #10b981;
  --clr-primary-dark: #059669;
  --clr-bg: #f8fafc;
  --clr-bg-white: #ffffff;
  --clr-text: #1e293b;
  --clr-text-light: #64748b;
  --clr-border: #e2e8f0;
  --radius: 8px;
  --font-sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
  font-family: var(--font-sans); 
  background: var(--clr-bg); 
  color: var(--clr-text); 
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; font-size: 0.9rem; font-weight: 500;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: all 0.2s ease; font-family: inherit;
}
.btn-primary { background: var(--clr-primary); color: white; }
.btn-primary:hover { background: var(--clr-primary-dark); }
.btn-secondary { background: var(--clr-bg-white); color: var(--clr-text); border: 1px solid var(--clr-border); }
.btn-secondary:hover { background: var(--clr-bg); }
.btn-block { width: 100%; }

/* Input */
.input {
  width: 100%; padding: 12px; border: 1px solid var(--clr-border);
  border-radius: var(--radius); font-size: 0.95rem; outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--clr-primary); }

/* Card */
.card { background: var(--clr-bg-white); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 24px; }

/* Utils */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: 4px; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Map Fix */
#main-map { width: 100%; height: 100%; min-height: 300px; z-index: 1; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; z-index: 1000;
}
.modal { background: white; padding: 32px; border-radius: 12px; width: 100%; max-width: 400px; }
