.version-update-banner {
  position: fixed;
  z-index: 1600;
  top: 12px;
  left: 50%;
  display: flex;
  width: min(620px, calc(100vw - 24px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid #93c5fd;
  border-radius: 6px;
  background: #eff6ff;
  box-shadow: 0 12px 30px rgb(15 23 42 / 18%);
  color: #172554;
  transform: translateX(-50%);
}

.version-update-banner[hidden] {
  display: none;
}

.version-update-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.version-update-copy strong {
  color: #1d4ed8;
  font-size: 14px;
}

.version-update-copy span {
  color: #475569;
  font-size: 13px;
}

.version-update-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.version-update-actions button {
  min-height: 34px;
  padding: 0 12px;
}

#applyVersionUpdate {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

@media (max-width: 620px) {
  .version-update-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .version-update-actions button {
    flex: 1;
  }
}
