/* Course map, pin picker, filters, instructor signup */

/* ---- section + bar */
.cr-map-section { background: var(--clr-bg-dark, #14110e); color: #f5f3ec; }
.cr-map-section .section-title, .cr-map-section .section-title i { color: #fff; }
.cr-map-section .section-subtitle { color: #c9c4b4; }
.cr-map__bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cr-map__count { margin: 0; font-size: 18px; color: #d9d5c8; }
.cr-map__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-map__filters button { background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: #f5f3ec; border-radius: 40px; padding: 8px 18px; font-size: 15px; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.cr-map__filters button:hover { border-color: #dd7a3f; }
.cr-map__filters button.is-active { background: #84893e; border-color: #84893e; color: #fff; }

/* ---- map */
.cr-map__stage { position: relative; }
.cr-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.cr-map__land { fill: none; stroke: rgba(245, 243, 236, 0.26); stroke-width: 3.1; stroke-linecap: round; }
.cr-pin { cursor: pointer; outline: none; }
.cr-pin__dot { fill: #dd7a3f; stroke: #fff; stroke-width: 1.3; transition: transform 0.15s ease; transform-box: fill-box; transform-origin: center; }
.cr-pin:hover .cr-pin__dot, .cr-pin:focus .cr-pin__dot, .cr-pin.is-open .cr-pin__dot { transform: scale(1.35); }
.cr-pin:focus-visible .cr-pin__dot { stroke: #ffb400; stroke-width: 2.5; }
.cr-pin__pulse { fill: #dd7a3f; opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: cr-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes cr-pulse { 0% { transform: scale(0.6); opacity: 0.55; } 100% { transform: scale(3.6); opacity: 0; } }

/* ---- popover */
.cr-map__pop { position: absolute; z-index: 5; width: 300px; max-width: calc(100% - 16px); transform: translate(-50%, calc(-100% - 16px)); background: #fff; color: #29231c; border-radius: 12px; padding: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.cr-map__pop[hidden] { display: none; }
.cr-map__pop.is-below { transform: translate(-50%, 18px); }
.cr-pop__head { font-weight: 600; font-size: 16px; padding-right: 26px; margin-bottom: 10px; }
.cr-pop__close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: #605e5d; }
.cr-pop__item { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid #ece9df; text-decoration: none; color: inherit; }
.cr-pop__item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex: none; }
.cr-pop__item strong { display: block; font-size: 15px; line-height: 1.25; }
.cr-pop__item small { color: #605e5d; font-size: 13px; }
.cr-pop__item:hover strong { color: #84893e; }
.cr-pop__more { margin: 6px 0 0; font-size: 13px; color: #605e5d; }
.cr-map__list { list-style: none; padding: 0; }
.cr-map__list a { color: #fff; }

/* ---- picker (product editor and instructor dashboard: light background) */
.cr-map-picker { max-width: 640px; }
.cr-map--picker .cr-map__land { stroke: #b9b4a6; }
.cr-map--picker .cr-map__svg { cursor: crosshair; background: #f5f3ec; border-radius: 8px; }
.cr-map-picker__out { margin-left: 10px; color: #605e5d; font-size: 13px; }

/* ---- filter */
.cr-filter { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; margin-bottom: 40px; padding: 22px; border-radius: 14px; background: #fff; box-shadow: 0 6px 24px rgba(41, 35, 28, 0.08); }
.cr-filter__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #29231c; }
.cr-filter select, .cr-filter input[type="search"] { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 8px; background: #fff; font-size: 16px; color: #29231c; }
.cr-filter__reset { align-self: center; font-size: 14px; text-decoration: underline; }
@media (max-width: 991px) { .cr-filter { grid-template-columns: 1fr 1fr; } .cr-filter__field--wide, .cr-filter .butn-arrow { grid-column: 1 / -1; } }
@media (max-width: 575px) { .cr-filter { grid-template-columns: 1fr; } }

/* ---- instructor signup */
.cr-benefits { list-style: none; padding: 0; margin: 0 0 20px; }
.cr-benefits li { display: flex; gap: 18px; margin-bottom: 28px; }
.cr-benefits h5 { margin-bottom: 6px; }
.cr-benefits p { margin: 0; }
.cr-benefits__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #84893e; color: #fff; font-size: 22px; }
.cr-steps { list-style: none; padding: 0; margin: 0; counter-reset: cr; }
.cr-steps li { counter-increment: cr; position: relative; padding: 0 0 14px 46px; }
.cr-steps li::before { content: counter(cr); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: #dd7a3f; color: #fff; display: grid; place-items: center; font-weight: 600; }
.cr-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 6px 0 24px; }
.cr-check input { margin-top: 5px; flex: none; }
