/* MMO11 — Mevki Seçimi (positionPicker.js) — In-Window Panel Kuralı §4.2 */

.pos-picker-modal {
  position: absolute;
  inset: 0;
  z-index: 20000;
  background: rgba(4, 10, 24, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(10px, 2.5%, 30px);
}

.pos-picker-card {
  width: 100%;
  max-width: 620px;
  max-height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(145deg, #0f1c34, #080f20);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.18);
}

.pos-picker-header {
  padding: clamp(12px, 2.5%, 20px) 56px clamp(10px, 2%, 16px) clamp(14px, 3%, 24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pos-picker-title {
  margin: 0;
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #fbbf24;
}

.pos-picker-sub {
  margin: 4px 0 0;
  font-size: 14px;
  color: #cbd5e1;
}

.pos-picker-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 16px;
  cursor: pointer;
}

.pos-picker-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: clamp(12px, 2.5%, 22px);
}

.pos-picker-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 6px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  background: rgba(14, 165, 233, 0.1);
  color: #f1f5f9;
  cursor: pointer;
}

.pos-picker-btn:hover,
.pos-picker-btn:focus-visible {
  border-color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
}

.pos-picker-code {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
}

.pos-picker-name {
  font-size: 13px;
  text-align: center;
}
