/* spotify.css — now playing widget */
.spotify-widget {
  font-family: var(--font-mono);
}

.spotify-idle {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding: 4px 0;
  letter-spacing: 1px;
}

.spotify-playing {
  display: flex;
  gap: 10px;
  align-items: center;
}

.spotify-art {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  object-fit: cover;
  display: block;
}

.spotify-art-placeholder {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--border3);
}

.spotify-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spotify-track {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

.spotify-track a {
  color: var(--text-bright);
  transition: color .15s;
}
.spotify-track a:hover { color: var(--accent2) }

.spotify-artist {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

/* Progress bar */
.spotify-progress-wrap {
  margin-top: 5px;
  height: 2px;
  background: var(--border);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.spotify-progress-bar {
  height: 100%;
  background: var(--accent2);
  transition: width 1s linear;
  min-width: 4px;
}

.spotify-status-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.spotify-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1db954; /* Spotify green */
  flex-shrink: 0;
  animation: spotify-pulse 2s ease-in-out infinite;
}

@keyframes spotify-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.spotify-paused .spotify-dot {
  background: var(--border3);
  animation: none;
}

.spotify-label {
  font-size: 10px;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spotify-not-configured {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.6;
}

.spotify-error {
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  letter-spacing: 1px;
}
