/* Map */

svg#CA a {
  transition: ease all 0.2s;
}

svg#CA a:hover {
  opacity: 0.8;
}

/* Modal de la carte */
#province-modal {
  border: none;
  border-radius: 18px;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.10);
  outline: none;
  background: #fff;
  max-width: 95%;
  width: 720px;
  margin: auto;
  position: fixed;
  inset: unset;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  animation: modalFadeIn 0.25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

#province-modal::backdrop {
  background: rgba(30, 32, 38, 0.32);
  backdrop-filter: blur(2px);
}

#province-modal form {
  margin: 0;
  padding: 0;
}

#close-modal {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #888;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  width: 2.2rem;
  height: 2.2rem;
  line-height: 2.2rem;
  text-align: center;
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
}

#close-modal:hover {
  background: #f2f2f2;
  color: #222;
}

#modal-title {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
  color: #222;
  letter-spacing: 0.01em;
}

#modal-content {
  font-size: 1rem;
  color: #444;
  min-height: 2.5em;
}