.rslp-location-launcher {
  position: fixed;
  z-index: 99990;
  right: 16px;
  top: 12px;
  bottom: auto;
  border: 0;
  border-radius: 999px;
  padding: 13px 18px;
  color: #fff;
  background: #1677c8;
  box-shadow: 0 6px 24px rgba(18, 64, 99, .25);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.rslp-location-launcher[hidden] { display: none !important; }
.rslp-location-launcher.is-complete { background: #21875b; }
.rslp-location-modal[hidden] { display: none !important; }
.rslp-location-dialog [hidden] { display: none !important; }
.rslp-location-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 18px; }
.rslp-location-backdrop { position: absolute; inset: 0; background: rgba(12, 33, 50, .58); }
.rslp-location-dialog {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: 18px;
  padding: 28px 22px 22px;
  color: #17324d;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}
.rslp-location-dialog h2 { margin: 0 34px 10px 0; font-size: 22px; }
.rslp-location-dialog p { line-height: 1.7; }
.rslp-location-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 30px; cursor: pointer; }
.rslp-location-primary, .rslp-location-secondary {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  padding: 13px 15px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.rslp-location-primary { color: #fff; background: #1677c8; }
.rslp-location-secondary { color: #fff; background: #f47b20; box-shadow: 0 5px 0 #bd4b08; }
.rslp-location-map { margin-top: 16px; overflow: hidden; border: 1px solid #bfd9ef; border-radius: 14px; background: #eef7fd; }
.rslp-location-map iframe { display: block; width: 100%; height: 260px; border: 0; background: #e8f0f5; }
.rslp-location-map a { display: block; padding: 10px 12px; color: #0c5f9f; text-align: center; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.rslp-location-status { margin-top: 14px; border-radius: 10px; padding: 0; }
.rslp-location-status:not(:empty) { padding: 12px; }
.rslp-location-status.is-loading { display: flex; align-items: center; gap: 10px; background: #eef7fd; }
.rslp-location-status.is-loading::before { content: ""; flex: 0 0 auto; width: 20px; height: 20px; border: 3px solid #b7d8ef; border-top-color: #1677c8; border-radius: 50%; animation: rslp-location-spin .8s linear infinite; }
@keyframes rslp-location-spin { to { transform: rotate(360deg); } }
.rslp-location-status.is-success { color: #17633f; background: #e8f7ef; }
.rslp-location-status.is-error { color: #9a2f2f; background: #fff0f0; }
.rslp-location-fallback { margin-bottom: 0; color: #526b7d; font-size: 13px; }
@media (max-width: 600px) {
  .rslp-location-launcher { right: 12px; }
  .rslp-location-dialog { padding: 24px 18px 18px; }
  .rslp-location-map iframe { height: 220px; }
  [id^="tripetto-runner-"] iframe {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}
