.nav-link {
  color: rgb(100 116 139);
  font-size: 0.875rem;
  font-weight: 500;
  padding-bottom: 0.25rem;
  transition: color 160ms ease, border-color 160ms ease;
}

.nav-link:hover,
.nav-active {
  color: rgb(15 23 42);
}

.nav-active {
  border-bottom: 2px solid rgb(15 23 42);
  font-weight: 600;
}

.mobile-link {
  color: rgb(71 85 105);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0;
}

.footer-link {
  color: rgb(100 116 139);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-link:hover {
  color: rgb(15 23 42);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#listing-map {
  min-height: 420px;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.leaflet-pane {
  z-index: 10;
}

.leaflet-tile-pane {
  z-index: 1;
}

.leaflet-overlay-pane {
  z-index: 2;
}

.leaflet-marker-pane {
  z-index: 3;
}

.leaflet-tooltip-pane,
.leaflet-popup-pane {
  z-index: 4;
}

.leaflet-control-container,
.leaflet-top,
.leaflet-bottom {
  z-index: 20;
}

.leaflet-popup-content {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

input,
select,
textarea,
button {
  font: inherit;
}

body {
  background: #eef2f6;
}

.select-clean,
.select-control {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #64748b 50%),
    linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 50%,
    calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.select-control,
.input-pill {
  width: 100%;
  border: 1px solid rgb(226 232 240);
  border-radius: 999px;
  background-color: #fff;
  color: rgb(51 65 85);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.625rem 0.875rem;
  outline: none;
}

.select-control:focus,
.input-pill:focus {
  border-color: rgb(15 23 42);
  box-shadow: 0 0 0 3px rgb(15 23 42 / 0.08);
}

.custom-select-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: min(92vw, 360px);
}

.custom-select-menu.hidden {
  display: none !important;
}

.custom-select-option {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0.75rem;
  padding: 0.75rem 0.875rem;
  color: rgb(51 65 85);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  background: rgb(241 245 249);
  color: rgb(15 23 42);
}

.file-upload {
  display: block;
  cursor: pointer;
}

.file-upload-title {
  color: rgb(148 163 184);
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.file-upload-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.file-upload-box {
  align-items: center;
  background: rgb(248 250 252 / 0.7);
  border: 1px dashed rgb(203 213 225);
  border-radius: 0.875rem;
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.file-upload:hover .file-upload-box,
.file-upload:focus-within .file-upload-box {
  background: #fff;
  border-color: rgb(15 23 42);
  box-shadow: 0 0 0 3px rgb(15 23 42 / 0.06);
}

.file-upload-icon {
  align-items: center;
  background: rgb(15 23 42);
  border-radius: 999px;
  color: #fff;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.1rem;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.file-upload-copy {
  display: grid;
  min-width: 0;
}

.file-upload-action {
  color: rgb(15 23 42);
  font-size: 0.8rem;
  font-weight: 700;
}

.file-upload-name {
  color: rgb(100 116 139);
  font-size: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.availability-month {
  border: 1px solid rgb(226 232 240);
  border-radius: 1rem;
  background: #fff;
  padding: 0.875rem;
}

.availability-title {
  color: rgb(15 23 42);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: capitalize;
}

.availability-weekdays,
.availability-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.availability-weekdays {
  color: rgb(148 163 184);
  font-size: 0.6rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  text-align: center;
  text-transform: uppercase;
}

.availability-day {
  align-items: center;
  aspect-ratio: 1;
  background: rgb(248 250 252);
  border: 1px solid rgb(241 245 249);
  border-radius: 0.5rem;
  color: rgb(71 85 105);
  display: flex;
  font-size: 0.7rem;
  font-weight: 700;
  justify-content: center;
}

.availability-day.is-empty {
  background: transparent;
  border-color: transparent;
}

.availability-day.is-blocked {
  background: rgb(254 226 226);
  border-color: rgb(252 165 165);
  color: rgb(185 28 28);
}
