/* Admin-Updates (#/admin/updates) */

.update-version-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: baseline;
  margin-bottom: 1rem;
}

.update-version-current {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.update-version-latest {
  font-size: 1.25rem;
  margin: 0;
}

.update-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--primary-color, #007cc1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.update-note-breaking {
  color: var(--danger, #b91c1c);
  border-left: 3px solid var(--danger, #b91c1c);
  padding-left: 0.5rem;
}

.update-note-feature {
  color: var(--accent-2, #0b7a48);
  border-left: 3px solid var(--accent-2, #0b7a48);
  padding-left: 0.5rem;
}

.update-note-fix {
  opacity: 0.9;
}

.update-progress-bar {
  height: 8px;
  background: var(--border, #ddd);
  border-radius: 4px;
  overflow: hidden;
}

.update-progress-fill {
  height: 100%;
  width: 0;
  background: var(--primary-color, #007cc1);
  transition: width 0.3s ease;
}

#admin-update-progress {
  padding: 0 var(--pad) 6px;
}

.admin-chrome-progress .update-progress-bar {
  height: 4px;
}

.update-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.update-history-table th,
.update-history-table td {
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid var(--border, #eee);
}

/* Update-Fortschritt in der Admin-Leiste (#admin-update-progress steht außerhalb von .pulse-admin-shell). */
#admin-chrome .update-progress-panel {
  margin: 1rem 0;
}
