/* Pulsante chiusura (X) modale selezione città — visibile in chiaro/scuro */

.city-picker-modal {
  position: relative;
}

.city-picker-modal__close-x {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.city-picker-modal__close-x:hover {
  background: #00d2ff;
  color: #0b1120;
  border-color: rgba(0, 210, 255, 0.85);
}

.city-picker-modal__close-x:focus {
  outline: none;
}

.city-picker-modal__close-x:focus-visible {
  outline: 2px solid #00d2ff;
  outline-offset: 2px;
}

@media (max-width: 380px) {
  .city-picker-modal__close-x {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.25rem;
  }
}
