/* LoopMail demo bar - same styles as Gmail extension */
.apl-demo-tab {
  font-family: 'Google Sans', Roboto, RobotoDraft, Helvetica, Arial, sans-serif;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 60px;
  padding: 0 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  border-radius: 30px;
  cursor: default;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  contain: layout size;
}

.apl-demo-tab:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.apl-demo-tab svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: rgba(255, 255, 255, 0.9);
}

.apl-demo-tab .apl-bar-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 4px 4px;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
  flex-shrink: 0;
}

.apl-demo-tab .apl-bar-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.apl-demo-tab .apl-bar-prev {
  margin-right: -4px;
}

.apl-demo-tab .apl-bar-play {
  font-size: 18px;
  padding: 4px 6px;
  margin-right: -4px;
  min-width: 36px;
  min-height: 36px;
  box-sizing: border-box;
}

.apl-demo-tab .apl-bar-play.playing {
  font-size: 30px;
}

.apl-demo-tab .apl-bar-next {
  margin-right: -4px;
}

.apl-demo-tab .apl-bar-label {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 0 8px 0 0;
  margin-left: -8px;
  font-size: 17px;
  box-sizing: border-box;
  display: inline-block;
  cursor: default;
}

.apl-demo-tab .apl-bar-label-inner {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #e0e0e0;
  letter-spacing: 0.02em;
  transition: opacity 0.4s ease;
}

.apl-demo-tab .apl-bar-shuffle {
  padding: 6px;
  color: rgba(255, 255, 255, 0.4);
  margin-left: -12px;
}

.apl-demo-tab .apl-bar-shuffle .apl-bar-icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.4);
}

.apl-demo-tab .apl-bar-shuffle:hover {
  color: rgba(255, 255, 255, 0.7);
}

.apl-demo-tab .apl-bar-shuffle:hover .apl-bar-icon {
  fill: rgba(255, 255, 255, 0.7);
}

.apl-demo-tab .apl-bar-shuffle.active {
  color: #fff;
}

.apl-demo-tab .apl-bar-shuffle.active .apl-bar-icon {
  fill: #fff;
}

.apl-demo-tab .apl-bar-download {
  padding: 6px;
  margin-left: -6px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.apl-demo-tab .apl-bar-download .apl-bar-icon {
  display: block;
  width: 24px;
  height: 24px;
}
