.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 70px;
  background-color: #ffffff;
  border-right: 1px solid #f0e6e6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  transition: width 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

.sidebar:hover {
  width: 220px;
}

.sidebar a {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  color: #555;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar a i {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.sidebar a span {
  opacity: 0;
  transition: opacity 0.3s;
  margin-left: 0.5rem;
}

.sidebar:hover a span {
  opacity: 1;
}

.sidebar a.inicio:hover { background-color: #a8dadc; color: #1d3557; }
.sidebar a.pacientes:hover { background-color: #f7c6c7; color: #6b1e2a; }
.sidebar a.doctores:hover { background-color: #d7bde2; color: #4b2a5a; }
.sidebar a.citas:hover { background-color: #c6e2b3; color: #2f4f2f; }
