/* Walk page and Find Walks: enlarged map, small pins, Options dialog (the dialog look comes from map-home.css when that is loaded; this covers pages that do not load it) */
.map-wrap { position: relative; }
.map-wrap > #walk-map { height: clamp(300px, 55vh, 520px); width: 100%; border-radius: 8px; margin: .75rem 0; }
.map-wrap.map-expanded { position: fixed; inset: 0; z-index: 2000; background: #fff; padding: 0; }
.map-wrap.map-expanded #walk-map, .map-wrap.map-expanded #walksMap { height: 100vh; border-radius: 0; margin: 0; }
body.map-lock { overflow: hidden; }
.map-ctl { display: block; width: 34px; height: 34px; font-size: 18px; line-height: 30px; text-align: center; cursor: pointer; background: #fff; color: #333; border: 2px solid rgba(0,0,0,.25); border-radius: 4px; padding: 0; }
.map-ctl:hover, .map-ctl:focus { background: #f3f8f3; }
.ml-msg { background: rgba(255,255,255,.92); padding: .25rem .6rem; border-radius: 4px; font-size: .85rem; color: #444; }
.ml-pin { --pin: #2e7d32; position: relative; background: #2e7d32; color: #fff; border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.ml-pin.hosp { background: #7b3fa0; --pin: #7b3fa0; border-radius: 8px; }
.ml-pin.info { background: #1f78b4; --pin: #1f78b4; }
.ml-pin::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top: 12px solid var(--pin); border-bottom: 0; }
dialog.map-dialog { border: 1px solid #ccc; border-radius: 10px; padding: 1rem 1.2rem; max-width: 460px; width: calc(100% - 2rem); }
dialog.map-dialog::backdrop { background: rgba(0,0,0,.4); }
dialog.map-dialog .dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .4rem; }
dialog.map-dialog .dlg-head h2 { margin: 0; font-size: 1.2rem; }
dialog.map-dialog button.dlg-close { background: #fff; color: #333; border: 1px solid #bbb; padding: .25rem .6rem; font-size: .9rem; border-radius: 4px; cursor: pointer; white-space: nowrap; }
dialog.map-dialog .dlg-style { display: block; margin: .3rem 0 0; font-weight: 600; }
dialog.map-dialog select { width: 100%; padding: .4rem; margin: .3rem 0 .8rem; }
dialog.map-dialog fieldset { border: 1px solid #eee; border-radius: 6px; margin: 0 0 .8rem; padding: .5rem .8rem; }
dialog.map-dialog legend { font-weight: 600; padding: 0 .3rem; }
dialog.map-dialog .check { display: flex; align-items: center; gap: .4rem; margin: .25rem 0; }
dialog.map-dialog .check input { width: auto; }
