/**
 * ELTA Courier — Checkout Pickup Point Map Styles
 */

.elta-pickup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

.elta-pickup-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 95vw; height: 95vh;
  max-width: 1200px; max-height: 800px;
  z-index: 100000;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
  flex-direction: column;
  overflow: hidden;
}

.elta-pickup-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
  flex-shrink: 0;
}

.elta-pickup-header h3 { margin: 0; font-size: 18px; white-space: nowrap; }

.elta-pickup-close {
  border: none; background: none;
  font-size: 28px; line-height: 1; cursor: pointer;
  color: #666; padding: 0 4px; margin-left: auto;
  transition: color 0.15s;
}
.elta-pickup-close:hover { color: #d63638; }

.elta-pickup-search {
  flex: 1; max-width: 300px;
  padding: 8px 12px; border: 1px solid #ccc;
  border-radius: 4px; font-size: 14px; outline: none;
  transition: border-color 0.15s;
}
.elta-pickup-search:focus { border-color: #003399; }

.elta-pickup-body { display: flex; flex-direction: row; flex: 1; overflow: hidden; }

.elta-pickup-list {
  width: 30%; border-right: 1px solid #e0e0e0;
  overflow-y: auto; background: #fafafa; flex-shrink: 0;
}

.elta-pickup-list-item {
  padding: 12px 15px; border-bottom: 1px solid #eee;
  cursor: pointer; transition: background 0.15s;
}
.elta-pickup-list-item:hover { background: #e8eaf6; }
.elta-pickup-list-item.active { background: #c5cae9; }
.elta-pickup-list-item-name { font-weight: 600; font-size: 14px; }
.elta-pickup-list-item-address { font-size: 12px; color: #666; margin-top: 2px; }
.elta-pickup-list-item-hours { font-size: 11px; color: #999; margin-top: 2px; }

.elta-pickup-map { flex: 1; min-height: 400px; }

.elta-pickup-btn {
  display: inline-block; margin-top: 8px;
  padding: 8px 16px; background: #003399; color: #fff;
  border: none; border-radius: 4px; cursor: pointer;
  font-weight: 600; font-size: 14px; transition: background 0.15s;
}
.elta-pickup-btn:hover { background: #002266; }

.elta-pickup-btn-locate {
  background: transparent; border: 1px solid #003399;
  color: #003399; margin-left: 8px; padding: 8px 14px;
  border-radius: 4px; cursor: pointer; font-size: 13px;
  font-weight: 600; transition: background 0.15s, color 0.15s;
}
.elta-pickup-btn-locate:hover { background: #003399; color: #fff; }

.elta-popup-select-btn {
  display: inline-block; margin-top: 6px;
  padding: 5px 12px; background: #003399; color: #fff;
  border: none; border-radius: 4px; cursor: pointer;
  font-weight: 600; font-size: 13px; transition: background 0.15s;
}
.elta-popup-select-btn:hover { background: #002266; }

.elta-marker-pudo {
  width: 16px !important; height: 16px !important;
  background: #003399; border: 2px solid #fff;
  border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .elta-pickup-modal { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
  .elta-pickup-header { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .elta-pickup-search { max-width: none; order: 10; flex-basis: 100%; }
  .elta-pickup-body { flex-direction: column; }
  .elta-pickup-list { display: none; }
  .elta-pickup-map { min-height: 0; flex: 1; }
}
