/* ZorgAtlas TTS — floating center player (not inside #infoblock) */

#za-player-float.za-hidden {
  display: none !important;
}

#za-player-float {
  position: fixed;
  z-index: 10050;
  left: 50%;
  top: 40%;
  width: 300px;
  margin-left: -150px;
  background: #fff;
  border: 1px solid #c4c4c4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  font-family: Arial, sans-serif;
  font-size: 12px;
  box-sizing: border-box;
}

#za-player-float .za-float-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #C00E1A;
  color: #fff;
  cursor: move;
  user-select: none;
}

#za-player-float .za-float-title {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

#za-player-float .za-close-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  min-width: 28px;
  cursor: pointer;
}

#za-player-float .za-close-btn:hover {
  opacity: 0.85;
}

#za-player-float .za-float-body {
  padding: 10px;
}

#za-player-float .za-player-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

#za-player-float .za-btn {
  border: 1px solid #c4c4c4;
  background: #f7f7f7;
  color: #222;
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 10px;
  cursor: pointer;
}

#za-player-float .za-btn-primary {
  background: #C00E1A;
  border-color: #C00E1A;
  color: #fff;
}

#za-player-float .za-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

#za-player-float .za-status {
  width: 100%;
  min-height: 16px;
  margin-top: 6px;
  color: #555;
  word-break: break-word;
}

#za-player-float .za-status.za-error {
  color: #C00E1A;
}

#za-player-float .za-audio {
  width: 100%;
  height: 32px;
  margin-top: 6px;
}
