/* ── EasyPark+ Global Styles ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');

:root {
  --navy: #1a2e4a;
  --navy-dark: #0f1e30;
  --navy-mid: #243b55;
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --orange-light: #fff7ed;
  --gray: #6b7280;
  --gray-light: #f9fafb;
  --gray-border: #e5e7eb;
  --white: #ffffff;
  --green: #16a34a;
  --green-light: #dcfce7;
  --red: #dc2626;
  --red-light: #fee2e2;
  --yellow-light: #fef9c3;
  --yellow: #a16207;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  min-height: 100vh;
  font-size: 16px;
}

a { text-decoration: none; color: inherit; }

/* ── NAV ── */
nav {
  background: var(--white);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--gray);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--gray-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,0.35); }

.btn-secondary { background: transparent; color: var(--navy); border: 2px solid var(--gray-border); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }

.btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: white; }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 18px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: block; letter-spacing: 0.3px; }
.form-input {
  width: 100%; padding: 13px 16px; font-size: 15px;
  border: 2px solid var(--gray-border); border-radius: var(--radius-sm);
  outline: none; color: var(--navy); font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s; background: white;
}
.form-input:focus { border-color: var(--orange); }
.form-input.error { border-color: var(--red); }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.badge-available { background: var(--green-light); color: var(--green); }
.badge-limited { background: var(--yellow-light); color: var(--yellow); }
.badge-full { background: var(--red-light); color: var(--red); }
.badge-open { background: var(--green-light); color: var(--green); }
.badge-closed { background: var(--red-light); color: var(--red); }
.badge-orange { background: var(--orange-light); color: var(--orange); font-weight: 700; }

/* ── PAGE HEADER ── */
.page-header { background: var(--navy); padding: 36px 40px; color: white; }
.page-header h1 { font-size: 28px; font-weight: 800; }
.page-header p { color: #94a3b8; font-size: 15px; margin-top: 6px; }

/* ── CARDS ── */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--navy); color: white;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  display: none; z-index: 9999;
  box-shadow: var(--shadow-lg);
}
#toast.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── UTILS ── */
.text-orange { color: var(--orange); }
.text-gray { color: var(--gray); }
.text-navy { color: var(--navy); }
.w-full { width: 100%; }
.text-center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
