body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem;
  justify-content: center;
  align-items: start;
}

.hospital {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease;
}

.hospital:hover {
  transform: translateY(-4px);
}

.hospital h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #2c3e50;
}

svg {
  width: 100%;
  height: auto;
  max-height: 400px;
  margin: auto;
  display: block;
}

.detailed-h, .detailed-cons, .detailed-cir, .detailed-hos, .detailed-ind{
  display: none;
}

.rotate {
  height: auto;
  vertical-align: bottom;
  white-space: nowrap;
  text-align: left;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}

.urgencias {
  display: inline;
}

.urgencias > svg {
  width: 50px;
  display: inline;
}

.temporal {
  background-color: #F5F6FA;
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0);;
}

.meses{
  display: flex;
  float: inline-end;
}