/* ════════════════════════════════════════════════════════════════
   Marker · Clubs Picker (общий компонент выбора клуба)
   Использование: см. clubs-picker.js
   ════════════════════════════════════════════════════════════════ */

.mkcp-backdrop{
  position:fixed;inset:0;z-index:9999;
  background:rgba(0,0,0,.5);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  display:flex;align-items:center;justify-content:center;
  padding:20px;
  animation:mkcp-fade .18s ease;
}
.mkcp-modal{
  background:#fff;border-radius:18px;
  width:100%;max-width:480px;max-height:82vh;
  display:flex;flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  overflow:hidden;
  animation:mkcp-pop .22s cubic-bezier(.16,1,.3,1);
}

.mkcp-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 20px 14px;border-bottom:1px solid rgba(26,39,68,.07);
  flex-shrink:0;
}
.mkcp-title{
  font:800 17px Inter,sans-serif;letter-spacing:-.01em;
  color:#1A2744;
}
.mkcp-close{
  background:rgba(26,39,68,.05);border:none;
  width:32px;height:32px;border-radius:50%;
  font-size:22px;line-height:1;color:rgba(26,39,68,.6);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-family:inherit;transition:all .12s;flex-shrink:0;
}
.mkcp-close:hover{background:rgba(26,39,68,.1);color:#1A2744}

.mkcp-search-wrap{
  padding:12px 20px;border-bottom:1px solid rgba(26,39,68,.07);
  flex-shrink:0;
}
.mkcp-search{
  width:100%;padding:10px 14px;
  border:1px solid rgba(26,39,68,.12);border-radius:10px;
  font:500 14px Inter,sans-serif;font-family:inherit;
  background:#F7F5EF;color:#1A2744;
  outline:none;-webkit-appearance:none;
}
.mkcp-search::placeholder{color:rgba(26,39,68,.45)}
.mkcp-search:focus{border-color:#1B6B3A;background:#fff;box-shadow:0 0 0 3px rgba(27,107,58,.08)}

.mkcp-list{flex:1;overflow-y:auto;padding:6px 0 8px}
.mkcp-country{
  font:700 11px Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;
  color:rgba(26,39,68,.5);
  padding:14px 20px 6px;
  display:flex;align-items:center;gap:8px;
}
.mkcp-count{font-weight:500;color:rgba(26,39,68,.35)}

.mkcp-item{
  padding:10px 20px;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  transition:background .12s;
}
.mkcp-item:hover{background:rgba(27,107,58,.06)}
.mkcp-item:active{background:rgba(27,107,58,.12)}
.mkcp-item-active{background:rgba(27,107,58,.08)}
.mkcp-item-active:hover{background:rgba(27,107,58,.14)}

.mkcp-item-main{flex:1;min-width:0}
.mkcp-item-name{
  font:600 14px Inter,sans-serif;color:#1A2744;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mkcp-item-name-en{
  font:500 11.5px Inter,sans-serif;color:rgba(26,39,68,.5);
  margin-left:6px;
}
.mkcp-item-loc{
  font:500 11.5px Inter,sans-serif;color:rgba(26,39,68,.55);
  margin-top:2px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mkcp-item-check{
  color:#1B6B3A;font:800 18px Inter,sans-serif;
  flex-shrink:0;
}
.mkcp-item-arrow{
  color:#1B6B3A;font:300 22px Inter,sans-serif;
  flex-shrink:0;line-height:1;
}

.mkcp-empty{
  padding:36px 20px;text-align:center;
  color:rgba(26,39,68,.55);font:500 13.5px Inter,sans-serif;
}

.mkcp-foot{
  padding:12px 20px 16px;border-top:1px solid rgba(26,39,68,.07);
  display:flex;flex-direction:column;gap:6px;align-items:center;
  flex-shrink:0;
  background:rgba(247,245,239,.6);
}
.mkcp-link{
  background:none;border:1px solid rgba(27,107,58,.25);
  color:#1B6B3A;font:700 13px Inter,sans-serif;
  cursor:pointer;padding:8px 16px;border-radius:8px;
  font-family:inherit;transition:all .12s;
}
.mkcp-link:hover{background:rgba(27,107,58,.08);border-color:#1B6B3A}
.mkcp-link.danger{color:#C0392B;border-color:rgba(192,57,43,.25)}
.mkcp-link.danger:hover{background:rgba(192,57,43,.08);border-color:#C0392B}
.mkcp-foot-hint{
  font:500 11.5px Inter,sans-serif;color:rgba(26,39,68,.5);
  text-align:center;line-height:1.5;
}
.mkcp-foot-hint a{color:#1B6B3A;text-decoration:none;font-weight:700}

/* ── Кнопка-триггер на хост-странице ── */
.mkcp-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;padding:11px 14px;
  background:#fff;border:1px solid rgba(26,39,68,.12);
  border-radius:10px;
  font:600 14px Inter,sans-serif;color:#1A2744;
  cursor:pointer;text-align:left;
  font-family:inherit;transition:all .12s;
  min-height:44px;
}
.mkcp-trigger:hover{border-color:#1B6B3A}
.mkcp-trigger:focus{outline:none;border-color:#1B6B3A;box-shadow:0 0 0 3px rgba(27,107,58,.08)}
.mkcp-trigger-empty{color:rgba(26,39,68,.45);font-weight:500}
.mkcp-trigger-icon{
  color:rgba(26,39,68,.4);font-weight:700;font-size:13px;
  flex-shrink:0;
}

@keyframes mkcp-fade{from{opacity:0}to{opacity:1}}
@keyframes mkcp-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}

/* ── Mobile bottom-sheet ── */
@media (max-width:540px){
  .mkcp-backdrop{padding:0;align-items:flex-end}
  .mkcp-modal{
    max-width:100%;max-height:90vh;
    border-radius:18px 18px 0 0;
    padding-bottom:env(safe-area-inset-bottom,0);
  }
  @keyframes mkcp-pop{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
}
