/* CSS variables for easy theming via Elementor */
.nmp-player {
  --nmp-bg: #0d0f12;
  --nmp-text: #e9eef2;
  --nmp-border: rgba(255, 255, 255, .08);
  --nmp-ctrl-bg: #1b1f27;
  --nmp-accent-start: #22d3ee;
  --nmp-accent-end: #a78bfa;
  --nmp-accent-angle: 90deg;
  --nmp-buy-text: #0b0d10;
  --nmp-buy-text-hover: #0b0d10;
  --nmp-radius: 16px;
  --nmp-button-radius: 8px;
  --nmp-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.nmp-player {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  max-width: 960px;
  border-radius: var(--nmp-radius);
  overflow: hidden;
  border: 1px solid var(--nmp-border);
  box-shadow: var(--nmp-shadow);
  background: var(--nmp-bg);
  color: var(--nmp-text);
}

.nmp-player .nmp-cta {
  display: inline-flex;
  /* or inline-block */
  align-items: center;
  padding: .5em .9em;
  border-radius: var(--nmp-button-radius, 8px);
  text-decoration: none;
}

.nmp-theme-light {
  --nmp-bg: #ffffff;
  --nmp-text: #111111;
  --nmp-border: rgba(0, 0, 0, .1);
  --nmp-ctrl-bg: #f1f5f9;
}

.nmp-now {
  display: flex;
  gap: 16px;
  padding: 16px
}

.nmp-cover {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  overflow: hidden;
  background: #181a1f;
  flex-shrink: 0
}

.nmp-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.nmp-meta {
  flex: 1;
  min-width: 0
}

.nmp-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .2px
}

.nmp-small {
  opacity: .7;
  margin-top: 4px
}

.nmp-sep {
  opacity: .6;
  margin: 0 6px
}

.nmp-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px
}

.nmp-controls button {
  background: var(--nmp-ctrl-bg);
  border: 0;
  color: var(--nmp-text);
  border-radius: var(--nmp-button-radius);
  padding: 6px 10px;
  cursor: pointer
}

.nmp-controls button:hover {
  transform: translateY(-1px)
}

.nmp-time {
  margin-left: auto;
  opacity: .8;
  font-variant-numeric: tabular-nums
}

.nmp-progress {
  padding: 10px 0
}

.nmp-bar {
  height: 6px;
  background: rgba(255, 255, 255, .12);
  border-radius: 6px;
  cursor: pointer
}

.nmp-fill {
  display: block;
  height: 6px;
  width: 0;
  border-radius: 6px;
  background: linear-gradient(var(--nmp-accent-angle), var(--nmp-accent-start), var(--nmp-accent-end))
}

.nmp-actions {
  margin-top: 8px
}

.nmp-buy {
  display: inline-block;
  background: linear-gradient(var(--nmp-accent-angle), var(--nmp-accent-start), var(--nmp-accent-end));
  color: var(--nmp-buy-text);
  font-weight: 700;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px
}

.nmp-buy:hover {
  filter: brightness(1.08);
  color: var(--nmp-buy-text-hover);
}

.nmp-list {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--nmp-border)
}

.nmp-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, .06)
}

.nmp-item:hover {
  background: rgba(255, 255, 255, .04)
}

.nmp-item.is-active {
  background: rgba(34, 211, 238, .08)
}

.nmp-item-title {
  font-weight: 600
}

.nmp-item-meta {
  opacity: .7
}

.nmp-theme-light .nmp-item {
  border-top: 1px solid #f1f5f9
}

/* Kill legacy gradient on Buy button, let Elementor color show */
.nmp-player .nmp-buy,
.nmp-player .nmp-buy:hover {
  background-image: none;
}

/* If you used a pseudo-element overlay for the gradient, kill that too */
.nmp-player .nmp-buy::before,
.nmp-player .nmp-buy::after {
  background: none;
  background-image: none;
}