/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: var(--transition);
}

.modal-card {
  background: var(--popup-bg);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: 70vh;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background: rgba(0, 0, 0, 0.1);
}

.info-section h3 {
  font-size: 0.95rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.info-section h3 i {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Charger Detail Modal specifics */
.station-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.detail-section {
  margin-bottom: 16px;
}

.detail-section label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.detail-row {
  display: flex;
  gap: 16px;
}

.detail-section.half {
  flex: 1;
}

.text-highlight {
  color: var(--text-heading);
  font-size: 0.92rem;
}

.plugs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plug-badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 6px;
}

.plug-badge i {
  color: var(--primary);
  width: 14px;
  height: 14px;
}

.plug-power {
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 700;
}

.description-box {
  background: rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  max-height: 150px;
  overflow-y: auto;
}
