/* Detail Display Styles for Soundpaste Plugin */

/* Active row styling */
tr.active-row {
  background-color: #f0f9ff !important;
}

.soundpaste-version-row:hover,
.soundpaste-podcast-version-row:hover {
  background-color: #f0f0f0;
}

.active-row {
  background-color: #f0f9ff !important;
}

/* Active label */
.active-label {
  display: inline-block;
  background-color: #0073aa;
  color: white;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  margin-right: 5px;
}

/* Provider icons */
.wp-list-table img {
  vertical-align: middle;
  margin-right: 5px;
}

/* Inline form styling */
.soundpaste-inline-form {
  display: inline-block;
}

/* Audio player styling */
.soundpaste-audio-player {
  position: relative;
}

.soundpaste-audio-player audio {
  width: 100%;
  height: 36px;
  margin: 0;
  vertical-align: middle;
}

.audio-meta {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

/* Button spacing */
.row-actions form {
  margin-left: 5px;
}

/* Custom styling for audio players */
.soundpaste-audio-player audio::-webkit-media-controls-panel {
  background-color: #f8f9fa;
}

.soundpaste-audio-player audio::-webkit-media-controls-play-button {
  background-color: #0073aa;
  border-radius: 50%;
}

.soundpaste-audio-player audio::-webkit-media-controls-timeline {
  background-color: #e5e7eb;
  border-radius: 2px;
  height: 4px;
}

.soundpaste-audio-player audio::-webkit-media-controls-volume-slider {
  background-color: #e5e7eb;
  border-radius: 2px;
  height: 4px;
}

/* Spacing between metaboxes */
.postbox {
  margin-bottom: 20px;
}

/* Table column widths */
.wp-list-table th:nth-child(1) {
  width: 150px;
}

.wp-list-table th:nth-child(2) {
  width: 180px;
}

.wp-list-table th:nth-child(3),
.wp-list-table th:nth-child(4) {
  width: 120px;
}

.wp-list-table th:nth-child(5) {
  width: 100px;
}

.wp-list-table th:nth-child(7) {
  width: 200px;
}

/* Icon styling */
.dashicons {
  vertical-align: text-bottom;
  font-size: 16px;
  height: 16px;
  width: 16px;
}

/* Branding indicators */
.branding-indicator {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
  cursor: help;
}
