/* parkspot.css – estilos globais do módulo de estacionamento */

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

/* SHELL E CONTAINER GERAL */

.ps-shell {
  min-height: 100vh;
  background: #f5f7fb;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ps-shell * {
  font-family: inherit;
}

.ps-max {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 8px;
}

/* SUB-NAV (Buscar Vagas / Mapa / Minhas Reservas) */

.ps-subnav {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.ps-subnav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 8px 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.ps-subnav-link {
  position: relative;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 12px;
  font-size: 0.9rem;
  color: #6b7280;
  cursor: pointer;
}

.ps-subnav-link i {
  font-size: 14px;
}

.ps-subnav-link-active {
  color: #2563eb;
  font-weight: 500;
}

.ps-subnav-link-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #2563eb;
  border-radius: 999px;
}

.ps-subnav-badge {
  background: #2563eb;
  color: #ffffff;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* WRAPPER PRINCIPAL */

.ps-main-wrapper {
  padding: 24px 0 40px;
}

/* CARD DE FILTROS */

.ps-filters-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 22px 20px;
  border: 1px solid #e5e7f5;                 /* borda mais clara, azulada */
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04); /* sombra suave, estilo print */
  margin-bottom: 22px;
}

/* PILLS (Todas / Comerciais / Particulares) – mais retangulares */

.ps-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.ps-pill {
  border-radius: 12px;                        /* retangular com cantos suaves */
  padding: 8px 18px;
  border: none;
  background: #f3f4f6;
  font-size: .86rem;
  color: #4b5563;
  cursor: pointer;
  transition: all .16s;
}

.ps-pill-active {
  background: #1d4ed8;                        /* azul mais vivo, igual ao print */
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.ps-pill-commercial {
  background: #f3e8ff;
  color: #6d28d9;
}

.ps-pill-commercial.ps-pill-active {
  background: #6d28d9;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.35);
}

.ps-pill-private {
  background: #ecfdf3;
  color: #15803d;
}

.ps-pill-private.ps-pill-active {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
}

/* INPUTS – retangulares, borda clara */

.ps-input-label {
  font-size: .82rem;
  color: #4b5563;
  margin-bottom: 4px;
}

.ps-input-wrapper {
  position: relative;
}

.ps-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #9ca3af;
}

.ps-input {
  padding-left: 42px;
  border-radius: 10px;                        /* menos “pílula” */
  border: 1px solid #dde3f0;                  /* borda bem clara */
  font-size: 16px;
  font-weight: 300;
  height: 46px;
  background: #ffffff;
}

.ps-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .18);
}

/* TÍTULO / CONTADOR */

.ps-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ps-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.ps-section-sub {
  font-size: .85rem;
  color: #6b7280;
  margin: 0;
}

/* ESTADOS / MAPA */

.ps-empty {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  color: #6b7280;
  font-size: .9rem;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.ps-map-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  height: 420px;
  margin-bottom: 18px;
}

/* CHIP DO USUÁRIO (usado no menu global) */

.ps-user-chip {
  padding: 6px 16px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #4b5563;
}

.ps-user-chip i {
  font-size: 15px;
  color: #9ca3af;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .ps-subnav-inner {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ps-main-wrapper {
    padding: 16px 0 24px;
  }
}

/* Global form control override to match login/cadastro design */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="time"], select, textarea, .form-control, .vaggo-input {
  font-size: 16px !important;
  font-weight: 300 !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
}

/* Harmonize primary buttons */
.btn-primary, .vaggo-primary-btn {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #ffffff !important;
}

/* Smaller input padding for compact look */
.form-control, .vaggo-input, .ps-input { padding: 8px 10px; }
