/*
 * Design tokens — single source of truth for the app's visual language.
 * Change a value here to restyle every component that references it.
 *
 * Usage in Rails views: class="ui-input", class="ui-btn ui-btn-primary", etc.
 * Usage in Tailwind:   still fine — tokens are additive, not replacing Tailwind.
 */

:root {
  /* ── Brand / accent ─────────────────────────────── */
  --color-primary:       #0f172a;   /* slate-900 — main CTA, borders on focus  */
  --color-primary-hover: #1e293b;   /* slate-800 — hover state                 */
  --color-accent:        #0f172a;   /* swap this one line to change brand color */

  /* ── Neutrals ────────────────────────────────────── */
  --color-border:        #e2e8f0;   /* slate-200 — default input/card borders   */
  --color-border-focus:  #0f172a;   /* border when input is focused             */
  --color-surface:       #ffffff;   /* input / card backgrounds                 */
  --color-surface-subtle:#f8fafc;   /* slate-50  — subtle area backgrounds      */
  --color-text:          #0f172a;   /* slate-900 — body text                    */
  --color-muted:         #64748b;   /* slate-500 — secondary / hint text        */
  --color-placeholder:   #94a3b8;   /* slate-400 — placeholder                  */

  /* ── Semantic ────────────────────────────────────── */
  --color-danger:        #ef4444;   /* red-500   — errors                       */
  --color-danger-light:  #fef2f2;   /* red-50    — error backgrounds            */
  --color-success:       #10b981;   /* emerald-500                              */
  --color-warning:       #f59e0b;   /* amber-500                                */

  /* ── Border radius ───────────────────────────────── */
  --radius-sm:   0.375rem;   /*  6px — badges, tags           */
  --radius-md:   0.75rem;    /* 12px — inputs, buttons        */
  --radius-lg:   1rem;       /* 16px — cards, panels          */
  --radius-xl:   1.25rem;    /* 20px — modals, large surfaces */
  --radius-full: 9999px;     /* pills                         */

  /* ── Input ───────────────────────────────────────── */
  --input-height:    2.625rem;   /* 42px — target tap height      */
  --input-px:        0.75rem;    /* 12px horizontal padding       */
  --input-py:        0.625rem;   /* 10px vertical padding         */
  --input-font-size: 0.875rem;   /* 14px                          */
  --input-radius:    var(--radius-md);
  --input-border:    1px solid var(--color-border);
  --input-bg:        var(--color-surface);
  --input-color:     var(--color-text);

  /* ── Button ──────────────────────────────────────── */
  --btn-height:    2.75rem;    /* 44px                          */
  --btn-px:        1.25rem;    /* 20px                          */
  --btn-py:        0.75rem;    /* 12px                          */
  --btn-radius:    var(--radius-md);
  --btn-font-size: 0.875rem;

  /* ── Spacing ─────────────────────────────────────── */
  --field-gap:  1rem;    /* vertical gap between fields   */
  --label-mb:   0.25rem; /* label → input gap             */
}

/* ═══════════════════════════════════════════════════
   Input utilities
   ═══════════════════════════════════════════════════ */

.ui-input {
  display: block;
  width: 100%;
  height: var(--input-height);
  padding: var(--input-py) var(--input-px);
  border-radius: var(--input-radius);
  border: var(--input-border);
  background: var(--input-bg);
  color: var(--input-color);
  font-size: var(--input-font-size);
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ui-input:focus {
  border-color: var(--color-border-focus);
}

.ui-input::placeholder {
  color: var(--color-placeholder);
}

.ui-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Select — same look as .ui-input but with a custom chevron arrow */
.ui-select {
  display: block;
  width: 100%;
  height: var(--input-height);
  padding: var(--input-py) 2.5rem var(--input-py) var(--input-px);
  border-radius: var(--input-radius);
  border: var(--input-border);
  background-color: var(--input-bg);
  color: var(--input-color);
  font-size: var(--input-font-size);
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}

.ui-select:focus {
  border-color: var(--color-border-focus);
}

.ui-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Narrow variant for country-code picker in phone inputs */
.ui-input--country {
  width: 6.25rem;
  flex-shrink: 0;
}

/* Business logo avatar overlapping the cover image (LinkedIn/Facebook style) */
.business-logo-overlay {
  position: absolute;
  bottom: 0;
  left: 1.5rem;           /* left-6 */
  transform: translateY(50%);
  z-index: 10;
  border-radius: var(--radius-xl);
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.business-logo-overlay img,
.business-logo-overlay picture {
  display: block;
  width: 9rem;            /* 144px */
  height: 9rem;
  border-radius: calc(var(--radius-xl) - 2px);
  object-fit: cover;
  background: #ffffff;
}

/* Space below cover to clear the overlapping logo */
.business-logo-offset {
  margin-top: 5.5rem;     /* 88px: half logo (72px) + 16px breathing room */
}

/* Prefix/suffix wrapper — e.g. "citauno.com/" + slug input */
.ui-input-group {
  display: flex;
  align-items: center;
  height: var(--input-height);
  border-radius: var(--input-radius);
  border: var(--input-border);
  background: var(--input-bg);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.ui-input-group:focus-within {
  border-color: var(--color-border-focus);
}

.ui-input-group__prefix,
.ui-input-group__suffix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  color: var(--color-placeholder);
  font-size: var(--input-font-size);
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
}

.ui-input-group__prefix {
  border-right: 1px solid var(--color-border);
}

.ui-input-group__suffix {
  border-left: 1px solid var(--color-border);
}

.ui-input-group__field {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 var(--input-px);
  background: transparent;
  border: none;
  outline: none;
  color: var(--input-color);
  font-size: var(--input-font-size);
}

.ui-input-group__field::placeholder {
  color: var(--color-placeholder);
}

/* Icon-padded input wrapper */
.ui-input-icon {
  position: relative;
}

.ui-input-icon .ui-input {
  padding-left: 2.25rem;
}

.ui-input-icon__icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding-left: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--color-placeholder);
  pointer-events: none;
}

.ui-input-icon__clear {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  padding-right: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--color-placeholder);
  cursor: pointer;
  background: none;
  border: none;
}

.ui-input-icon__clear:hover {
  color: var(--color-muted);
}

/* ═══════════════════════════════════════════════════
   Fast tooltip (data-tooltip attribute)
   ═══════════════════════════════════════════════════ */

.tooltip-btn {
  position: relative;
}

.tooltip-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 0.7rem;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.08s ease;
  z-index: 50;
}

.tooltip-btn:hover::after {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════
   Mobile admin sidebar (off-canvas)
   ═══════════════════════════════════════════════════ */

.admin-sidebar {
  transition: transform 200ms ease;
}

@media (max-width: 1023px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.admin-sidebar--open {
    transform: translateX(0);
  }

  .admin-main {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .admin-mobile-bar {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   Impersonation banner ("conectado como …")
   ═══════════════════════════════════════════════════ */

/* The banner must stay visible above the fixed admin/platform sidebar (z-40)
   and the top-pinned buttons, so it is fixed to the viewport's top edge with
   a constant height. Layouts opt in by adding .has-impersonation-banner to
   <body>, which pads the page and shifts every other top-pinned element down
   by the banner height via --impersonation-banner-h. */
:root {
  --impersonation-banner-h: 0px;
}

.impersonation-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5rem;
  z-index: 60;
}

body.has-impersonation-banner {
  --impersonation-banner-h: 2.5rem;
  padding-top: var(--impersonation-banner-h);
}

body.has-impersonation-banner .admin-sidebar,
body.has-impersonation-banner .admin-mobile-bar,
body.has-impersonation-banner > header {
  top: var(--impersonation-banner-h);
}

/* Preserves the button's top-2.5 (10px) gap below the banner */
body.has-impersonation-banner .admin-share-link {
  top: calc(0.625rem + var(--impersonation-banner-h));
}

/* Preserves the toast stack's top-6 (24px) gap below the banner */
body.has-impersonation-banner .layout-toasts {
  top: calc(1.5rem + var(--impersonation-banner-h));
}

/* ═══════════════════════════════════════════════════
   Label
   ═══════════════════════════════════════════════════ */

.ui-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--label-mb);
}

.ui-hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* ═══════════════════════════════════════════════════
   Button utilities
   ═══════════════════════════════════════════════════ */

.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: var(--btn-height);
  padding: 0 var(--btn-px);
  border-radius: var(--btn-radius);
  font-size: var(--btn-font-size);
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-appearance: none;
}

.ui-btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.ui-btn-primary:hover {
  background: var(--color-primary-hover);
  color: #ffffff;
}

.ui-btn-ghost {
  background: transparent;
  color: var(--color-muted);
}

.ui-btn-ghost:hover {
  color: var(--color-text);
}

.ui-btn-block {
  width: 100%;
}

/* ═══════════════════════════════════════════════════
   Form field wrapper
   ═══════════════════════════════════════════════════ */

.ui-field {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════
   Wizard shell — two-panel layout
   ═══════════════════════════════════════════════════ */

.wizard-layout {
  display: flex;
  min-height: calc(100vh - 4rem);
}

/* (wizard brand panel removed) */
.wizard-brand-panel {
  display: none;
}

/* placeholder kept for selector hygiene */
.wizard-brand-trust p {
  font-size: 0.75rem;
  color: #475569;
}

/* ── Form panel ── */
/* Top-aligned (not vertically centered) on every breakpoint. Centering re-balances
   the whole column whenever step content changes height — e.g. toggling the seats
   counter swaps a tall callout for a short one, or adding a service/team row — which
   shifts the controls out from under the cursor. Top-aligning keeps everything put. */
.wizard-form-panel {
  flex: 1;
  min-width: 0;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.wizard-form-inner {
  max-width: 34rem;
  width: 100%;
  padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
  .wizard-form-inner {
    padding: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .wizard-form-inner {
    padding: 3rem 2.5rem;
    max-width: 44rem;
  }
}

/* ── Progress nav ── */
.wizard-progress-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.wizard-progress-nav a,
.wizard-progress-continue {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #64748b;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  transition: color 0.15s ease;
}

.wizard-progress-nav a:hover,
.wizard-progress-continue:hover {
  color: #0f172a;
}

/* ── Progress bar ── */
.wizard-progress-bar-track {
  height: 0.375rem;
  border-radius: 9999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.wizard-progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* ── Alert ── */
.wizard-alert {
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.875rem;
}

/* ── Titles ── */
.wizard-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .wizard-title { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  .wizard-title,
  .wizard-intro {
    text-align: center;
  }
}

.wizard-intro {
  color: #64748b;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.wizard-content {
  margin-top: 1.75rem;
}

/* ═══════════════════════════════════════════════════
   Seats count input — remove browser spinners and center
   ═══════════════════════════════════════════════════ */

.seats-count-input {
  text-align: center;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.seats-count-input::-webkit-inner-spin-button,
.seats-count-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ═══════════════════════════════════════════════════
   Category picker cards
   ═══════════════════════════════════════════════════ */

.category-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 3.5rem;
}

.category-card:hover {
  border-color: #94a3b8;
}

.category-card[data-selected="true"] {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.category-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card__name {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
}

/* ═══════════════════════════════════════════════════
   places-autocomplete dropdown
   Rendered by app/javascript/controllers/places_autocomplete_controller.js
   The controller anchors this dropdown to the input's positioned wrapper.
   ═══════════════════════════════════════════════════ */

.places-autocomplete__dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  max-height: 18rem;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12),
              0 4px 10px -2px rgba(15, 23, 42, 0.06);
  padding: 0.25rem;
}

.places-autocomplete__dropdown.hidden {
  display: none;
}

.places-autocomplete__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-radius: calc(var(--radius-md) - 0.25rem);
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--color-text);
}

.places-autocomplete__item:hover,
.places-autocomplete__item--active {
  background: var(--color-surface-subtle);
}

.places-autocomplete__item-main {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--color-text);
}

.places-autocomplete__item-secondary {
  display: block;
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--color-muted);
  margin-top: 2px;
}

/* Booking flow steps: when auto-advancing scrolls a step into view, leave room
   above for the sticky header so the section title stays visible. Also force
   the turbo-frame wrapper around the professional step to be a block so the
   space-y separation between siblings applies consistently with the other
   step cards. */
[data-booking-filter-target="step"] {
  scroll-margin-top: 5rem;
}

turbo-frame#booking_team_members {
  display: block;
}
/* Vendored: leaflet@1.9.4 dist/leaflet.css (npm tarball). Do not edit by hand,
   except the three background-image refs below (dist ships them relative, as
   "images/..."), rewritten to asset_path so they resolve to the fingerprinted
   copies in app/assets/images/leaflet/. The marker PNGs there are set
   explicitly by leaflet_map_controller.js. */

/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

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

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(/assets/leaflet/layers-0e356f4d554162eb71f127f50460dbc55d405027189ebe90b20729ef18d13d36.png);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(/assets/leaflet/layers-2x-ba8fa601e413b14db27db07285ade3951721e02244c31523284ab2d1ed53c3dc.png);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(/assets/leaflet/marker-icon-3d253116ec4ba0e1f22a01cdf1ff7f120fa4d89a6cd0933d68f12951d19809b4.png);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
