body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0ff; 
}

#app {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  min-height: 100vh;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.screen {
  display: none;
  padding: 20px;
}

.screen.active {
  display: block;
}

input, textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #e6e6fa; 
  border-radius: 4px;
}

button {
  background-color: #9370db; 
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #7a67ee; 
}

#patient-list {
  list-style-type: none;
  padding: 0;
}

#patient-list li {
  padding: 10px;
  border-bottom: 1px solid #e6e6fa;
  cursor: pointer;
}

#patient-list li:hover {
  background-color: #f0f0ff;
}

.audio-filename {
  margin-right: 10px;
  font-weight: bold;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}

#audio-list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.audio-controls {
  margin-left: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #9370db;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  text-align: center;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}